You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
coder port-forward does not work as expected. Requests are hanging #3733
Is there a manual way to port forward into a specific agent? Right now, I booted pgadmin in a separate docker container and I can access it the very first time. However, as soon as I hit a POST request it doesn't work anymore and it seems to be in an infinite loop. If there is no way, is it possible to turn on some logging to see what's happening? Thanks a lot!
Thanks for your response! So I just compared these two approaches:
coder port-forward xyz.pgadmin --tcp 1235:5433
and
ssh -L 1234:127.0.0.1:5433 coder.xyz.pgadmin
It turns out that the second one is much more reliable. The first one usually works immediately after I entered the command and I can load the first page in the browser. Though, any following action ends in an infinite loop.
And eventually when I already noticed that the network requests are pending forever I see that the channels are closed with an error (though error is null?):
changed the title [-]Manual way to port forward or debug the same?[/-][+]`coder port-forward` does not work as expected. Requests are hanging[/+]on Sep 23, 2022
I was playing with this and noticed I was able to get the same behavior reloading the React page over and over as well. The same doesn't seem to happen with python3 -m http.server.
Activity
bpmct commentedon Aug 29, 2022
jaulz commentedon Aug 30, 2022
Thanks for your response! So I just compared these two approaches:
and
It turns out that the second one is much more reliable. The first one usually works immediately after I entered the command and I can load the first page in the browser. Though, any following action ends in an infinite loop.
These are the logs when I start the port forward:
And then once I trigger the first HTTP request via this connection:
And eventually when I already noticed that the network requests are pending forever I see that the channels are closed with an error (though error is null?):
sharkymark commentedon Aug 30, 2022
@bpmct @kylecarbs Is this related? #2658 Also I continue to experience this on occasion, so I'd appreciate if you all would re-open it until resolved.
bpmct commentedon Sep 23, 2022
Looks like the same issue as #2658. I was able to reproduce this.
Screen.Recording.2022-09-23.at.3.24.36.PM.mov
The
ssh -Lworks fine for me, though. Doesn't prompt for a password.[-]Manual way to port forward or debug the same?[/-][+]`coder port-forward` does not work as expected. Requests are hanging[/+]coadler commentedon Sep 23, 2022
I was playing with this and noticed I was able to get the same behavior reloading the React page over and over as well. The same doesn't seem to happen with
python3 -m http.server.Akantor47 commentedon Oct 17, 2022
Hello there,
coder port-forwarddoes stop working for me after a few request.and
ssh -Ldoesn't even start probably due to some Windows SSH Problems.But once I setup a port forwarding via ssh connected visual studio code, it works like a charm...