Open Pixcell opened 4 years ago
Are you able to get the output from running qdstat -l
against the routers when this occurs? (I think I know the fix and the issue with the proxy failure, but want to understand the root cause a little better).
The router are running as docker containers. Do you want this command ran inside the container, or on the host ?
Turns out qdstat
results in command not found. Both on the host and in the container.
How can I install it ?
Here is the Dockerfile used to generate the image: https://github.com/eclipse-iofog/skupper-proxy/blob/master/Dockerfile
(We have forked the repo)
qdstat is in the router container (not the proxy) and should be run against the router. I.e you should be able to docker exec against the router container and run that command.
Sorry for the delay @grs .
Seems like qdstat
is not found in the router either
84061120dc74 iofog/router-arm:2.0.0 "/qpid-dispatch/rout…" 4 days ago Up 4 days 0.0.0.0:5672->5672/tcp iofog_f4Y9LVqWpF43kn8WxTWZXpGHfYGpMXmL
pi@raspberrypi:~ $ sudo docker exec -it 84061120dc74 qdstat -l
OCI runtime exec failed: exec failed: container_linux.go:349: starting container process caused "exec: \"qdstat\": executable file not found in $PATH": unknown
I've struggled to get a reliable reproducer for this issue. In the end I resorted to artificially triggering it. I have now committed what I believe to be a fix: https://github.com/skupperproject/skupper-proxy/commit/25c330aaf088822ea476ed07e088fd4317ba5a85.
Could you try that out in your image and see if it fixes things for you?
The issue (I believe) is that data from tcp arrives faster than the messages are settled. The fix will throttle the reading of tcp data if and when needed to avoid the error.
Hey guys :) We are encountering an issue with tcp proxy.
This is the request: (I have removed private informations such as IP/hosts, etc)
The proxy fails with the following logs:
This only seems to happens when the response content-type is multipart/x-mixed-replace. Which is meant to be a never ending response, "streaming" content
Thank you for your help