kubeedge / edgemesh

Simplified network and services for edge applications
https://edgemesh.netlify.app/
Apache License 2.0
261 stars 133 forks source link

Empty reply from server request svc by gateway #386

Open xiaoxiongmao-liu opened 2 years ago

xiaoxiongmao-liu commented 2 years ago

What happened: Empty reply from server request svc by gateway
image image

What you expected to happen: except normal response How to reproduce it (as minimally and precisely as possible): just retry N times Anything else we need to know?:

Environment:

Poorunga commented 2 years ago

Can you show some edgemesh logs? When "Empty reply from server" occurs

xiaoxiongmao-liu commented 2 years ago

Can you show some edgemesh logs? When "Empty reply from server" occurs

E1011 08:26:58.971158 1 loadbalancer.go:683] "Dial failed" err="dial tcp 172.17.0.3:80: connect: connection refused" E1011 08:26:59.972033 1 loadbalancer.go:683] "Dial failed" err="get proxy stream from default-edge-node error: new stream between default-edge-node err: failed to find any peer in table" E1011 08:27:01.973063 1 loadbalancer.go:683] "Dial failed" err="get proxy stream from default-edge-node error: new stream between default-edge-node err: failed to find any peer in table" E1011 08:27:01.973278 1 protocol.go:160] "Failed to connect to balancer" err="failed to connect to an endpoint" E1011 08:27:01.973731 1 protocol.go:48] read http request err: read tcp 192.168.22.224:23333->192.168.22.224:38260: use of closed network connection E1011 08:27:01.973886 1 protocol.go:51] close conn err: close tcp 192.168.22.224:23333->192.168.22.224:38260: use of closed network connection

Poorunga commented 2 years ago

You need deploy edgemesh-agent to node default-edge-node

xiaoxiongmao-liu commented 2 years ago

You need deploy edgemesh-agent to node default-edge-node

I deployed two services ,while I deploy two VirtualService what have the same domain but different route path,get the result image

while I deploy a VirtualService what has two different route path ,get the result image