Page 1 of 1

http debug: connection failed

Posted: 25 Apr 2022 03:27
by escape
hi

i use vlc player 3.0.16 on windows 10

i made http webserver for stream

and i try vlc -> media -> network stream open -> input address "http://localhost:9876/stream/abc.mkv"

result, loading is so long
i looking for vlc log

Code: Select all

http debug: outgoing request: GET /stream/abc.mkv HTTP/1.1 Host: localhost:13590 Accept: */* Accept-Language: en_US User-Agent: VLC/3.0.16 LibVLC/3.0.16 Range: bytes=0- [b][u]http debug: connection failed[/u][/b] http debug: outgoing request: GET /stream/abc.mkv HTTP/1.1 Host: localhost:13590 Accept: */* Accept-Language: en_US User-Agent: VLC/3.0.16 LibVLC/3.0.16 Range: bytes=0- http debug: incoming response: HTTP/1.1 206 Partial Content Connection: keep-alive Content-Type: video/mkv Date: Thu, 21 Apr 2022 17:11:40 GMT Content-Range: bytes 0-4573026409/4573026410 Accept-Ranges: bytes ============================================ GET /stream/abc.mkv HTTP/1.1 Host: localhost:13590 Accept: */* Accept-Language: en_US User-Agent: VLC/3.0.16 LibVLC/3.0.16 Range: bytes=4572993984- [b][u]http debug: connection failed[/u][/b] http debug: outgoing request: GET /stream/abc.mkv HTTP/1.1 Host: localhost:13590 Accept: */* Accept-Language: en_US User-Agent: VLC/3.0.16 LibVLC/3.0.16 Range: bytes=4572993984- http debug: incoming response: HTTP/1.1 206 Partial Content Connection: keep-alive Content-Type: video/mkv Date: Thu, 21 Apr 2022 17:11:43 GMT Content-Range: bytes 4572993984-4573026409/4573026410 Accept-Ranges: bytes
look, first time request is "http debug: connection failed"
a few second after, retry is normality transmitting and receiving

and next request is failed too
and second request is normality transmitting and receiving too
Infinite repetition

1st time fail -> second retry ok ->
next request fail -> second retry ok ->
next request fail -> second retry ok ->
.....

what the problem?

thank you

Re: http debug: connection failed

Posted: 26 Apr 2022 05:21
by escape
self reply

i resolved this problem

changed "localhost" --> "127.0.0.1"

cause ? i down know :)

Re: http debug: connection failed

Posted: 26 Apr 2022 17:34
by RĂ©mi Denis-Courmont
Connection failed means the server (or a firewall) closed the connection when it shouldn't have.