WK
6a99983ed1
Undo changes.
2020-08-30 14:56:23 +08:00
WK
08350ec0ef
Update subchannel.ts
2020-08-30 14:52:20 +08:00
WK
6f3db6f4d8
Update http_proxy.ts
2020-08-30 14:49:54 +08:00
WK
c536178c67
Fixed connectivity to Google PubSub over proxy
...
Latest version has caused @google-cloud/pubsub fail to connect over a proxy connection.
Snapshot of error:
2020-08-29T10:52:45.340Z | proxy | Successfully connected to pubsub.googleapis.c
om:443 through proxy 172.16.52.252:443
2020-08-29T10:52:45.370Z | subchannel | 172.16.52.252:443 CONNECTING -> TRANSIEN
T_FAILURE
2020-08-29T10:52:45.372Z | pick_first | CONNECTING -> TRANSIENT_FAILURE
2020-08-29T10:52:45.373Z | resolving_load_balancer | dns:172.16.52.252:443 CONNE
CTING -> TRANSIENT_FAILURE
2020-08-29T10:52:45.375Z | channel | Pick result: TRANSIENT_FAILURE subchannel:
undefined status: 14 No connection established
2020-08-29T10:52:45.377Z | call_stream | [11] cancelWithStatus code: 14 details:
"No connection established"
2020-08-29T10:52:45.379Z | call_stream | [11] ended with status: code=14 details
="No connection established"
2020-08-29T10:52:45.381Z | connectivity_state | dns:172.16.52.252:443 CONNECTING
-> TRANSIENT_FAILURE
Before proposed fix:
static getDefaultAuthority(target) {
return target.path; // this returns "pubsub.googleapis.com:443"
}
After proposed fix:
static getDefaultAuthority(target) {
const hostPort = uri_parser_1.splitHostPort(target.path); // target.path is "pubsub.googleapis.com:443"
if (hostPort !== null) {
return hostPort.host; // this returns "pubsub.googleapis.com"
}
else {
throw new Error(`Failed to parse target ${uri_parser_1.uriToString(target)}`);
}
}
2020-08-29 19:05:42 +08:00
Michael Lumish
36db24e39f
Set a deadline on outgoing requests in the xds interop client
2020-08-28 12:50:53 -07:00
Michael Lumish
5827b3e01d
Reset saved LRS settings when the LRS stream ends
2020-08-28 11:49:03 -07:00
Michael Lumish
b9962feff0
Add more interop client logging
2020-08-28 11:17:52 -07:00
Michael Lumish
60bc11285b
Send buffered stats when starting LRS stream
2020-08-28 10:43:58 -07:00
Michael Lumish
338941d664
Add more LRS tracing
2020-08-28 10:06:57 -07:00
Michael Lumish
8269fd4bca
priority: improve tracing, cancel failover timer when selecting child
2020-08-28 09:50:33 -07:00
Michael Lumish
597fc1c57b
Use the same channel for ADS and LRS clients
2020-08-27 18:14:03 -07:00
Michael Lumish
82037fcdaf
Add error logging to xDS interop client
2020-08-27 15:54:05 -07:00
Michael Lumish
1a47f78f4f
Fix some trace logs, increase XdsClient keepalive interval
2020-08-27 14:17:29 -07:00
Michael Lumish
c83d5a7c4d
Fix keepalive ping timing, change some trace logs
2020-08-27 13:23:07 -07:00
Michael Lumish
665632f480
Add more keepalive logging
2020-08-27 12:47:53 -07:00
Michael Lumish
197cc84e7a
Add more tracers, fix onResourceDoesNotExist handling
2020-08-27 11:05:54 -07:00
Michael Lumish
2404446234
Fix RDS domain search
2020-08-25 14:10:54 -07:00
Michael Lumish
36a6580921
Add more XdsClient tracing
2020-08-25 13:49:28 -07:00
Michael Lumish
af949674da
Add XdsClient tracers, and stream start backoff, and fix some bugs
2020-08-25 13:22:30 -07:00
Michael Lumish
8580204a73
Fix incorrect 'Method not implemented' error
2020-08-25 11:05:22 -07:00
Michael Lumish
ee52de4f98
Load proto files with json option to handle Any properly
2020-08-25 10:54:56 -07:00
Michael Lumish
302b87183e
Fix bug in bootstrap file validation
2020-08-25 10:05:44 -07:00
Michael Lumish
7e35657cf1
node.cluster is optional in the bootstrap file
2020-08-25 09:45:47 -07:00
Michael Lumish
0e8e1adfc4
More test script fixes, don't run xDS tests in PR tests
2020-08-24 15:53:07 -07:00
Michael Lumish
2111c0ffa9
Merge pull request #1553 from ably-forks/watchconnectivitystate-nodeadline
...
Channel#watchConnectivityState: handle infinite deadlines correctly
2020-08-24 10:47:11 -07:00
Michael Lumish
1e223048b8
Grab xds client logs in kokoro config
2020-08-21 12:58:05 -07:00
Michael Lumish
eb849db1aa
Add a log line to the top level of xds-interop-client
2020-08-21 12:47:17 -07:00
Michael Lumish
362b77259f
Add more logging to the xDS interop client
2020-08-21 11:02:33 -07:00
Simon Woolf
141dfeb790
Channel#watchConnectivityState: handle infinite deadlines correctly
...
Per https://grpc.github.io/grpc/node/grpc.html#~Deadline :
"If it is a finite number, it is treated as a number of milliseconds
since the Unix Epoch. If it is Infinity, the deadline will never be
reached. If it is -Infinity, the deadline has already passed."
2020-08-21 18:18:30 +01:00
Michael Lumish
14eea7d6d2
Add separate trace and verbosity env variables for this library
2020-08-21 09:46:45 -07:00
Michael Lumish
f4e9b63ddf
Trace all
2020-08-21 00:10:35 -07:00
Michael Lumish
bc5c29604b
More test script fixes
2020-08-20 14:20:47 -07:00
Michael Lumish
f246833876
Some test script fixes
2020-08-20 14:00:46 -07:00
Michael Lumish
46c065a75b
chmod a+x xds.sh
2020-08-20 13:37:17 -07:00
Michael Lumish
9a73734650
Actually add the xds interop script
2020-08-20 13:36:16 -07:00
Michael Lumish
305e192700
Add xds interop test script to Linux tests
2020-08-20 13:31:23 -07:00
Michael Lumish
ffef02c943
Merge branch 'master' into grpc-js_xds_interop_client
2020-08-20 11:05:00 -07:00
Michael Lumish
6389e92c8b
Bump version to 0.6.0
2020-08-20 09:54:10 -07:00
Michael Lumish
69b197b75b
Merge pull request #1551 from murgatroid99/grpc-js_dependency_fix
...
grpc-js: Move a couple of dev dependencies to prod
2020-08-20 09:45:05 -07:00
Michael Lumish
5abb47390f
grpc-js: Move a couple of dev dependencies to prod
@grpc/grpc-js@1.1.5
2020-08-20 09:24:57 -07:00
Michael Lumish
7efc5358e3
Merge pull request #1524 from murgatroid99/grpc-js_cancelled_event
...
grpc-js: Clean up call even if status throws an error
@grpc/grpc-js@1.1.4
2020-08-19 10:09:53 -07:00
Michael Lumish
c0b80a3593
Merge pull request #1548 from richardpringle/master
...
Prevent mutation of default headers
2020-08-19 09:55:09 -07:00
Michael Lumish
68b0609feb
Merge pull request #1525 from murgatroid99/grpc-js_server_stream_end_metadata
...
grpc-js: Add end(md?: Metadata) method to streaming server calls
2020-08-19 09:29:52 -07:00
Michael Lumish
4ba1639ed6
Merge pull request #1526 from murgatroid99/grpc-js_get_peer
...
grpc-js: Implement getPeer on the client and server
2020-08-19 09:27:56 -07:00
Michael Lumish
b771b994a8
Merge pull request #1546 from murgatroid99/grpc-js_types_node_dep
...
grpc-js: Move @types/node to a production dependency
2020-08-19 09:27:36 -07:00
Richard Pringle
917b4fca77
Prevent mutation of default headers
2020-08-19 10:24:20 -04:00
Michael Lumish
7493052672
grpc-js: Move @types/node to a production dependency
2020-08-18 15:13:12 -07:00
Michael Lumish
a2f2f448b3
Merge pull request #1541 from tlhunter/patch-1
...
Add link to grpc docs in @grpc/grpc-js README
2020-08-17 10:09:29 -07:00
Thomas Hunter II
1583786478
Add link to grpc docs in @grpc/grpc-js README
...
- Adds a link to `grpc` documentation
- Addresses some of the concerns in #1540
2020-08-16 13:50:23 -07:00
Michael Lumish
e37e4f26c6
Merge pull request #1534 from mavaa/patch-1
...
Fix incorrectly named grpc-tools flag
2020-08-12 09:46:33 -07:00