http debug: connection failed

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
escape
New Cone
New Cone
Posts: 3
Joined: 13 Dec 2021 08:57

http debug: connection failed

Postby escape » 25 Apr 2022 03:27

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

escape
New Cone
New Cone
Posts: 3
Joined: 13 Dec 2021 08:57

Re: http debug: connection failed

Postby escape » 26 Apr 2022 05:21

self reply

i resolved this problem

changed "localhost" --> "127.0.0.1"

cause ? i down know :)

Rémi Denis-Courmont
Developer
Developer
Posts: 15312
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: http debug: connection failed

Postby Rémi Denis-Courmont » 26 Apr 2022 17:34

Connection failed means the server (or a firewall) closed the connection when it shouldn't have.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 27 guests