Please help - Issue streaming a file

1 replies
Hello all,

I have a VPS in DreamHost, i have a site script that streams video files directly from Mega hosting service.

Its just put the URL and starts sreaming the video file in the VLC web plugin, all works okey... the problem comes when passeds 8 minutes after starts my videos, the conection resets, and video stopped.

I test on a friends shared hosting and my surprise is working fine, and streaming the full video without problems...

I take a look at php.ini and change the timeout, and other stuff and never work, this is take crazy, i have a vps only for that and i need fix.

Any idea?

Thank
#file #issue #streaming
  • Profile picture of the author TheOnisLair
    It sounds like your network connection between the servers is getting reset on one end or the other. Have you ran any network connectivity tests between your VPS and the other server where your stream is located? Since your VPS is pulling the stream from another server, there may be some sort of network problem between the two. Either that or you have not enabled KeepAlive on your VPS.

    If you have shell access to your VPS (SSH), try running a traceroute.

    # traceroute [IP of your other server]

    this will show you where there may be some underlying network latency. Another step to take is to check your web server's configurations for KeepAlive directives, you'll want to increase those time out times if they're too short. Other than that, we may need a bit more detail or a way to see the problem to diagnose it.
    {{ DiscussionBoard.errors[7822554].message }}

Trending Topics