Comments (9)
What's in the log? https://github.com/grpc/grpc-go#how-to-turn-on-logging
from traffic-director-grpc-examples.
@menghanl @easwars Could you please take a look at the issue?
from traffic-director-grpc-examples.
What's in the log? https://github.com/grpc/grpc-go#how-to-turn-on-logging
2021/08/26 20:52:03 xDS credentials in use: false
INFO: 2021/08/26 20:52:03 [core] Channel Created
INFO: 2021/08/26 20:52:03 [core] parsed scheme: ""
INFO: 2021/08/26 20:52:03 [core] scheme "" not registered, fallback to default scheme
INFO: 2021/08/26 20:52:03 [core] ccResolverWrapper: sending update to cc: {[{localhost:18881 <nil> 0 <nil>}] <nil> <nil>}
INFO: 2021/08/26 20:52:03 [core] Resolver state updated: {Addresses:[{Addr:localhost:18881 ServerName: Attributes:<nil> Type:0 Metadata:<nil>}] ServiceConfig:<nil> Attributes:<nil>} (resolver returned new addresses)
INFO: 2021/08/26 20:52:03 [core] ClientConn switching balancer to "pick_first"
INFO: 2021/08/26 20:52:03 [core] Channel switches to new LB policy "pick_first"
INFO: 2021/08/26 20:52:03 [core] Subchannel Created
INFO: 2021/08/26 20:52:03 [core] Subchannel(id:2) created
INFO: 2021/08/26 20:52:03 [core] Subchannel Connectivity change to CONNECTING
INFO: 2021/08/26 20:52:03 [core] Subchannel picks a new address "localhost:18881" to connect
INFO: 2021/08/26 20:52:03 [core] pickfirstBalancer: UpdateSubConnState: 0xc000070b20, {CONNECTING <nil>}
INFO: 2021/08/26 20:52:03 [core] Channel Connectivity change to CONNECTING
WARNING: 2021/08/26 20:52:03 [core] grpc: addrConn.createTransport failed to connect to {localhost:18881 localhost:18881 <nil> 0 <nil>}. Err: connection error: desc = "transport: Error while dialing dial tcp [::1]:18881: connect: connection refused". Reconnecting...
INFO: 2021/08/26 20:52:03 [core] Subchannel Connectivity change to TRANSIENT_FAILURE
INFO: 2021/08/26 20:52:03 [core] pickfirstBalancer: UpdateSubConnState: 0xc000070b20, {TRANSIENT_FAILURE connection error: desc = "transport: Error while dialing dial tcp [::1]:18881: connect: connection refused"}
INFO: 2021/08/26 20:52:03 [core] Channel Connectivity change to TRANSIENT_FAILURE
INFO: 2021/08/26 20:52:04 [core] Subchannel Connectivity change to CONNECTING
INFO: 2021/08/26 20:52:04 [core] Subchannel picks a new address "localhost:18881" to connect
INFO: 2021/08/26 20:52:04 [core] pickfirstBalancer: UpdateSubConnState: 0xc000070b20, {CONNECTING <nil>}
INFO: 2021/08/26 20:52:04 [core] Channel Connectivity change to CONNECTING
WARNING: 2021/08/26 20:52:04 [core] grpc: addrConn.createTransport failed to connect to {localhost:18881 localhost:18881 <nil> 0 <nil>}. Err: connection error: desc = "transport: Error while dialing dial tcp [::1]:18881: connect: connection refused". Reconnecting...
INFO: 2021/08/26 20:52:04 [core] Subchannel Connectivity change to TRANSIENT_FAILURE
INFO: 2021/08/26 20:52:04 [core] pickfirstBalancer: UpdateSubConnState: 0xc000070b20, {TRANSIENT_FAILURE connection error: desc = "transport: Error while dialing dial tcp [::1]:18881: connect: connection refused"}
INFO: 2021/08/26 20:52:04 [core] Channel Connectivity change to TRANSIENT_FAILURE
INFO: 2021/08/26 20:52:06 [core] Subchannel Connectivity change to CONNECTING
INFO: 2021/08/26 20:52:06 [core] Subchannel picks a new address "localhost:18881" to connect
INFO: 2021/08/26 20:52:06 [core] pickfirstBalancer: UpdateSubConnState: 0xc000070b20, {CONNECTING <nil>}
INFO: 2021/08/26 20:52:06 [core] Channel Connectivity change to CONNECTING
WARNING: 2021/08/26 20:52:06 [core] grpc: addrConn.createTransport failed to connect to {localhost:18881 localhost:18881 <nil> 0 <nil>}. Err: connection error: desc = "transport: Error while dialing dial tcp [::1]:18881: connect: connection refused". Reconnecting...
INFO: 2021/08/26 20:52:06 [core] Subchannel Connectivity change to TRANSIENT_FAILURE
INFO: 2021/08/26 20:52:06 [core] pickfirstBalancer: UpdateSubConnState: 0xc000070b20, {TRANSIENT_FAILURE connection error: desc = "transport: Error while dialing dial tcp [::1]:18881: connect: connection refused"}
INFO: 2021/08/26 20:52:06 [core] Channel Connectivity change to TRANSIENT_FAILURE
INFO: 2021/08/26 20:52:08 [core] Subchannel Connectivity change to CONNECTING
INFO: 2021/08/26 20:52:08 [core] Subchannel picks a new address "localhost:18881" to connect
INFO: 2021/08/26 20:52:08 [core] pickfirstBalancer: UpdateSubConnState: 0xc000070b20, {CONNECTING <nil>}
INFO: 2021/08/26 20:52:08 [core] Channel Connectivity change to CONNECTING
WARNING: 2021/08/26 20:52:08 [core] grpc: addrConn.createTransport failed to connect to {localhost:18881 localhost:18881 <nil> 0 <nil>}. Err: connection error: desc = "transport: Error while dialing dial tcp [::1]:18881: connect: connection refused". Reconnecting...
INFO: 2021/08/26 20:52:08 [core] Subchannel Connectivity change to TRANSIENT_FAILURE
INFO: 2021/08/26 20:52:08 [core] pickfirstBalancer: UpdateSubConnState: 0xc000070b20, {TRANSIENT_FAILURE connection error: desc = "transport: Error while dialing dial tcp [::1]:18881: connect: connection refused"}
INFO: 2021/08/26 20:52:08 [core] Channel Connectivity change to TRANSIENT_FAILURE
INFO: 2021/08/26 20:52:12 [core] Subchannel Connectivity change to CONNECTING
INFO: 2021/08/26 20:52:12 [core] Subchannel picks a new address "localhost:18881" to connect
WARNING: 2021/08/26 20:52:12 [core] grpc: addrConn.createTransport failed to connect to {localhost:18881 localhost:18881 <nil> 0 <nil>}. Err: connection error: desc = "transport: Error while dialing dial tcp [::1]:18881: connect: connection refused". Reconnecting...
INFO: 2021/08/26 20:52:12 [core] Subchannel Connectivity change to TRANSIENT_FAILURE
INFO: 2021/08/26 20:52:12 [core] pickfirstBalancer: UpdateSubConnState: 0xc000070b20, {CONNECTING <nil>}
INFO: 2021/08/26 20:52:12 [core] Channel Connectivity change to CONNECTING
INFO: 2021/08/26 20:52:12 [core] pickfirstBalancer: UpdateSubConnState: 0xc000070b20, {TRANSIENT_FAILURE connection error: desc = "transport: Error while dialing dial tcp [::1]:18881: connect: connection refused"}
INFO: 2021/08/26 20:52:12 [core] Channel Connectivity change to TRANSIENT_FAILURE
INFO: 2021/08/26 20:52:13 [core] Channel Connectivity change to SHUTDOWN
INFO: 2021/08/26 20:52:13 [core] Subchannel Connectivity change to SHUTDOWN
INFO: 2021/08/26 20:52:13 [core] Subchannel Deleted
INFO: 2021/08/26 20:52:13 [core] Subchanel(id:2) deleted
INFO: 2021/08/26 20:52:13 [core] Channel Deleted
INFO: 2021/08/26 20:52:13 [channelz] attempt to delete child with id 2 from a parent (id=1) that doesn't currently exist
INFO: 2021/08/26 20:52:13 [channelz] attempt to delete child with id 2 from a parent (id=1) that doesn't currently exist
2021/08/26 20:52:13 Failed to connect to the Wallet server: context deadline exceeded
How to turn on xds client log?
from traffic-director-grpc-examples.
Is it using the default port 18881 and dns resolver? So xds client is not used.
INFO: 2021/08/26 20:52:03 [core] parsed scheme: ""
INFO: 2021/08/26 20:52:03 [core] scheme "" not registered, fallback to default scheme
from traffic-director-grpc-examples.
Yes, and it's connecting to localhost:18881
. Seems it didn't get the flags at all?
from traffic-director-grpc-examples.
Can you try this #74?
Actually, this doesn't look right. Parse()
is called in parseArguments()
from traffic-director-grpc-examples.
I think the problem comes from this change: 27d66b0#diff-f1b9f1cd035de81ff11626c152d6ba7cd0edd286f6ec98fa541f022a9ce42e09R258
It's always trying to connect wallet server after the change, even for price command.
from traffic-director-grpc-examples.
Yes, this should fix it: #75
from traffic-director-grpc-examples.
Test passed after fix #75.
from traffic-director-grpc-examples.
Related Issues (9)
- Fix kokoro config to include all reports and artifacts to be saved
- Add fusion/kokoro integration to github
- Traffic split doesn't work with "grpcurl" HOT 10
- C++ examples should use gflags for command-line parsing
- Can not run traffic-splitting examples in go if affinity BS is configured
- Unable to delete patch branches HOT 1
- Send per-user session id in Java for affinity example
- Send per-user session id in Go for affinity example
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from traffic-director-grpc-examples.