2020-06-25, 09:36 PM
(This post was last modified: 2020-06-25, 09:36 PM by mvallevand.)
Kodi won't have anything to do with it. You might as well just wait for sub to look into it.
Martin
Martin
2020-06-25, 09:36 PM
(This post was last modified: 2020-06-25, 09:36 PM by mvallevand.)
Kodi won't have anything to do with it. You might as well just wait for sub to look into it.
Martin
2020-06-26, 01:22 AM
2020-06-26, 01:33 AM
i had a problem tonight i was recording through kodi, server's provider has blocked my IP after 27 mins of recording, i am trying to find out the reason.
can you do me a favor and check my logs and let me know if there is a suspicious/abnormal activity from the client Note: recording started @line 10158 and first Unauthorized signal posted @line 10187 in file "nrecord.log" Thank you!
2020-06-26, 02:01 AM
Yes I can see activity from NextPVR that should trigger an IP ban. The initial 401 error cannot be explained.
Martin
2020-06-26, 02:09 AM
Basically it opened a connection to the stream, and downloaded it successfully for about 27 minutes, before they dropped your connection. It then tried to reconnect, but got a "(401) Unauthorized" back from your provider.
Then it continued to retry, thinking it would have permission, since it was allowed to earlier in the recording. It probably should have stopped trying once it got the first 401 Unauthorized. It's not clear why your IPTV provider started saying Unauthorized though.
2020-06-26, 02:14 AM
I've made a changed for the next build to not retry if it receives a "(401) Unauthorized" when attempting to reconnect.
Edit: Thanks sub for your explanation. its very weird after 27 mins of stream downloading server dropped the connection and blocked IP for no reas
is there a difference in Agent activity between Kodi timer recording and web app recording?
2020-06-26, 02:52 AM
Kodi talks to the NextPVR server just like the web app, it doesn't have any contact with the IPTV provider.
I see live tv stopped at 263379 ms what did you change your buffer minutes too? Also I see the initial read was <stream_length>6712524</stream_length> so your service buffers a lot for live tv. Is it possible this was VOD or catchup and the show stopped? NextPVR might have continued to try and read the file at EOF? Martin
Before recording I was testing nextpvr add-on configuration i have changed:
live to time shift live buffer value to 96 enabled download artwork and the rest as defau Edit: Live TV Buffer in web app was set to 30mins I was recording from live channel using kodi time (manual recording) Edit: I have feeling that Live TV buffer value to 30mins consider as downloading stream which may act like a suspicious activity
2020-06-26, 01:32 PM
The provider will not know that data is being buffered and I doubt many IPTV providers are worried that you might be saving files and infringing on copyright. At one point what happened is NextPVR requests to the server every 5 seconds for 100 attempts. That is clearly cause for blocking and sub has fixed that issue for the next release.
What I think started this was your suspicious behaviour trying to open a bad stream and impromper handling of the NextPVR with the response 2020-06-25 22:37:37.037 [DEBUG][271] StartStream(7858:Nova Life) 2020-06-25 22:37:37.132 [DEBUG][271] WebException: System.Net.WebException: The remote server returned an error: (403) Forbidden. NextPVR didn't handle that well either and passed that to your custom ffmpeg and we don't know what it did. However you made repeated attempt to watch that channel and it failed. 2020-06-25 22:37:43.388 [DEBUG][271] StartStream(7858:Nova Life) 2020-06-25 22:37:43.427 [DEBUG][271] WebException: System.Net.WebException: The remote server returned an error: (403) Forbidden. 2020-06-25 22:49:39.067 [DEBUG][176] StartStream(7858:Nova Life) 2020-06-25 22:49:39.105 [DEBUG][176] WebException: System.Net.WebException: The remote server returned an error: (403) Forbidden. 2020-06-25 22:50:51.031 [DEBUG][194] StartStream(7858:Nova Life) 2020-06-25 22:50:51.071 [DEBUG][194] WebException: System.Net.WebException: The remote server returned an error: (403) Forbidden. There reason I think the URL was bad is that when NextPVR did an EPG update I see 2020-06-25 23:01:54.432 [ERROR][216] Error sticking show names 2020-06-25 23:01:54.434 [ERROR][216] Error sticking show names 2020-06-25 23:01:54.579 [ERROR][216] Error sticking show names 2020-06-25 23:01:54.615 [ERROR][216] Error sticking show names 2020-06-25 23:01:54.652 [ERROR][216] Error sticking show names This indicates to me the providers configuration is changing and you aren't keeping NextPVR in sync. Martin |
|