Kodi Community Forum
Fail to reconnect (raspbmc or openelec) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Raspberry Pi (https://forum.kodi.tv/forumdisplay.php?fid=166)
+---- Thread: Fail to reconnect (raspbmc or openelec) (/showthread.php?tid=181916)



Fail to reconnect (raspbmc or openelec) - fightnight - 2014-01-01

Hi

I can't stream a complete movie with rpi. Always quits to the menu after +- 30minutes of playing.. It happens on all distros with rpi. I had tried cachemembuffer 0, and other solutions and nothing works.

Code:
http://xbmclogs.com/show.php?id=104350

Movie starts at line 830. You can see that fails to reconnect after line 914

Code:
18:26:21 9608.814453 T:2697983056 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
18:30:23 9850.341797 T:2773480528 WARNING: Previous line repeats 4 times.
18:30:23 9850.341797 T:2773480528   ERROR: CCurlFile::FillBuffer - Failed: Transferred a partial file(18)
18:30:23 9850.342773 T:2773480528  NOTICE: CCurlFile::FillBuffer - Reconnect, (re)try 1
18:31:37 9924.576172 T:2773480528   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
18:31:37 9924.577148 T:2773480528  NOTICE: CCurlFile::FillBuffer - Reconnect, (re)try 1
18:31:47 9934.577148 T:2773480528   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
18:31:57 9944.602539 T:2773480528  NOTICE: CCurlFile::FillBuffer - Reconnect, (re)try 2
18:32:00 9947.419922 T:2697983056 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
18:32:07 9954.603516 T:2773480528   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
18:32:12 9959.626953 T:2773480528   ERROR: CCurlFile::FillBuffer - Reconnect failed!
18:33:01 10007.905273 T:2697983056 WARNING: CRenderManager::WaitForBuffer - timeout waiting for buffer
18:33:21 10027.963867 T:2773480528   ERROR: CCurlFile::FillBuffer - Failed: Failure when receiving data from the peer(56)
18:33:21 10027.963867 T:2773480528  NOTICE: CCurlFile::FillBuffer - Reconnect, (re)try 1
18:33:27 10034.210938 T:2815423568 WARNING: Seek - failed to get remaining data
18:33:27 10034.213867 T:2815423568  NOTICE: COMXPlayer::OnExit()

It happens with all streaming addons with large files, and if i restart the stream, it works fine for another 30minutes.

With a 1h30 movie, i have to restart the stream 2~3 times.

If I pause for a few minutes and click resume, the cache value on codec info doesn't fill, and when hits 0 stops the player. The internet connection is stable Sad

Anyone? Thanks in advance


RE: Fail to reconnect (raspbmc or openelec) - prae5 - 2014-01-01

No support for piracy addons here - sorry


RE: Fail to reconnect (raspbmc or openelec) - fightnight - 2014-01-01

Not a piracy problem.. it happens with legal stuff too Wink

e.g. with some youtube videos.. conferences, etc.


RE: Fail to reconnect (raspbmc or openelec) - popcornmix - 2014-01-01

(2014-01-01, 21:38)fightnight Wrote: Not a piracy problem.. it happens with legal stuff too Wink

e.g. with some youtube videos.. conferences, etc.

If you can report how to reproduce the problem, ideally with a legal, direct link (I tried the http:// links in your log, but they are just temporary and had expired) that repeatably fails, then that can be looked into.

However from the log, it appears the links were just closed from the other end, so there may be nothing that can be done about them.


RE: Fail to reconnect (raspbmc or openelec) - fightnight - 2014-01-01

The direct link only works with my IP, since the host generated the link to me. That's why it's "expired".

I'll try with a legal direct link and debug on.


RE: Fail to reconnect (raspbmc or openelec) - Mafarricos - 2014-01-02

I see that you have trakt addon, try to disable that addon and see if you still have the problem.
I had another problem that probably isn't related (my pi got stuck after the movie ended and trakt tried to update the status), but when I deactivated the addon, the problem disapears.

But probably if you have the same problem with youtube you can provide a legal direct link with the same problem.

You are connected via wifi or RJ45?


RE: Fail to reconnect (raspbmc or openelec) - fightnight - 2014-01-06

Wifi

Debug:

Code:
http://pastebin.com/6mvnJmv8

Problem starts at 738..

This link is always available. Fails and then stop the player. Sad


RE: Fail to reconnect (raspbmc or openelec) - prae5 - 2014-01-06

That is most definitely not a legal source.


RE: Fail to reconnect (raspbmc or openelec) - popcornmix - 2014-01-06

(2014-01-06, 15:27)prae5 Wrote: That is most definitely not a legal source.

Yes. And doesn't actually work for me - it gets a 403 error.
Possibly there is some magic the plugin does to create the link, or it has just expired.