ferama / rospo

🐸 Simple, reliable, persistent ssh tunnels with embedded ssh server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HTTP error 408 on initial connection

kamilersz opened this issue · comments

I am serving a simple Node JS app on windows machine, then tunnel those port on public server. When accessing those port, it is showing HTTP error 408 initially, but success on subsequent request.

~# wget "http://127.0.0.1:30005/"
--2023-09-21 10:17:14--  http://127.0.0.1:30005/
Connecting to 127.0.0.1:30005... connected.
HTTP request sent, awaiting response... 408 Request Timeout
2023-09-21 10:17:14 ERROR 408: Request Timeout.

~# wget "http://127.0.0.1:30005/"
--2023-09-21 10:17:17--  http://127.0.0.1:30005/
Connecting to 127.0.0.1:30005... connected.
HTTP request sent, awaiting response... 200 OK
Length: 23 [text/html]
Saving to: ‘index.html.1’

index.html.1        100%[===================>]      23  --.-KB/s    in 0s

2023-09-21 10:17:17 (3.38 MB/s) - ‘index.html.1’ saved [23/23]