Stalled Downloads Notifications?

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
airguy
Newbie
Newbie
Posts: 23
Joined: December 5th, 2011, 4:45 pm

Stalled Downloads Notifications?

Post by airguy » October 11th, 2018, 7:30 am

Running latest version 2.3.5 on Windows Platform.

I would like to be able to have Sabnzbd notify me via email if my downloads in the queue have stalled out, perhaps for a period of time.

Is this possible? perhaps via a notification script?

I am being throttled by my ISP (won't mention names). No doubt about it. I used to use SSL ports only, but since May 14 2016 (I know from my DL history), speed was cut in half, and downloads stall out completely after 5-10 minutes. However I discovered using VPN allows transfers to continue for hours, but not to the point of being able to do unattended downloads. They may still stall out after several hours. I then disconnect from the VPN server, change the IP address of the VPN server, and restart the download in Sabnzbd and they resume again. Sometimes I will do a speedtest before re-connecting to the VPN to determine if I wish to reboot the cable modem. Most of the time it is not necessary. Changing the VPN server IP address used and reconnection always fixes the stalled downloads.

Before any replies to contact my ISP, it's already been done and numerous tech visits to the house have found no problems. Also cable modem is brand new and didn't help. The problems started around the same time my ISP was merged into another huge Cable ISP. Coincidence? I think not. For the time being, I don't have any other suitable ISP options, but that may change soon.

Anyhow, it would be great if I could be notified that the downloads have stalled, so I could know I have to reset the VPN to resume downloading without having to constantly monitor transfers throughout the day with my smartphone app.

If this in not possible, could it be a new feature suggestion in a future release?

User avatar
safihre
Administrator
Administrator
Posts: 2895
Joined: April 30th, 2015, 7:35 am
Location: Switzerland
Contact:

Re: Stalled Downloads Notifications?

Post by safihre » October 11th, 2018, 8:55 am

When it stalls, the downloads just stop in the middle of progress?

airguy
Newbie
Newbie
Posts: 23
Joined: December 5th, 2011, 4:45 pm

Re: Stalled Downloads Notifications?

Post by airguy » October 18th, 2018, 10:45 am

safihre wrote:
October 11th, 2018, 8:55 am
When it stalls, the downloads just stop in the middle of progress?
Yes that's exactly right. Will just sit there for hours sometimes in the middle of large download . I don't let it sit there like that, but so many times when I went to check DL status, thinking it must be done by now, but only discovering that it has been stalled for several hours. My logs indicate unable to connect to my usenet servers when this happens.

As I write this, it hasn't happened for a few days now. But I never know. Some days are really a battle to keep disconnecting, changing VPN server and reconnecting several times to get DL"s to complete.

It would be useful if Sabnzbd could send me some kind of push notification if DL speed is 0 for a period of time or unable to connect to usenet servers after so many attempts. Then I would know I need to address it as I am not always around my server monitoring download progress.

airguy
Newbie
Newbie
Posts: 23
Joined: December 5th, 2011, 4:45 pm

Re: Stalled Downloads Notifications?

Post by airguy » October 19th, 2018, 7:44 am

I spoke too soon. DL's stalled again shortly after posting all was well for a few days. I have included a log excerpt. Was trying to include attachment to this post, but I see no option to do so.

Code: Select all

2018-10-18 13:17:25,013::INFO::[downloader:490] [email protected]: Initiating connection
2018-10-18 13:17:25,013::DEBUG::[downloader:112] news-us.usenetserver.com: Re-using address 69.16.179.26
2018-10-18 13:17:27,059::DEBUG::[bpsmeter:268] bps: 39022.5767919
2018-10-18 13:17:29,082::INFO::[downloader:781] Thread [email protected]: timed out
2018-10-18 13:17:29,082::INFO::[downloader:781] Thread [email protected]: timed out
2018-10-18 13:17:29,084::INFO::[downloader:781] Thread [email protected]: timed out
2018-10-18 13:17:29,095::INFO::[downloader:781] Thread [email protected]: timed out
2018-10-18 13:17:29,095::INFO::[downloader:781] Thread [email protected]: timed out
2018-10-18 13:17:29,096::INFO::[downloader:781] Thread [email protected]: timed out
2018-10-18 13:17:29,098::INFO::[downloader:781] Thread [email protected]: timed out
2018-10-18 13:17:29,101::INFO::[downloader:781] Thread [email protected]: timed out
2018-10-18 13:17:29,171::INFO::[downloader:781] Thread [email protected]: timed out
2018-10-18 13:17:46,039::INFO::[newswrapper:265] Failed to connect: (10060, '[Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond') [email protected]:443
2018-10-18 13:17:59,191::INFO::[downloader:490] [email protected]: Initiating connection
2018-10-18 13:18:02,392::INFO::[happyeyeballs:138] Quickest IP address for news-us.usenetserver.com (port 443, ssl 1, preferipv6 True) is None
2018-10-18 13:18:02,392::DEBUG::[happyeyeballs:140] Happy Eyeballs lookup and port connect took 3201 ms
2018-10-18 13:18:02,392::DEBUG::[downloader:135] news-us.usenetserver.com: No successful IP connection was possible
2018-10-18 13:18:02,404::INFO::[downloader:490] [email protected]: Initiating connection
2018-10-18 13:18:02,404::DEBUG::[downloader:112] news-us.usenetserver.com: Re-using address news-us.usenetserver.com
2018-10-18 13:18:02,414::INFO::[downloader:490] [email protected]: Initiating connection
2018-10-18 13:18:02,414::DEBUG::[downloader:112] news-us.usenetserver.com: Re-using address news-us.usenetserver.com
2018-10-18 13:18:02,424::INFO::[downloader:490] [email protected]: Initiating connection
2018-10-18 13:18:02,424::DEBUG::[downloader:112] news-us.usenetserver.com: Re-using address news-us.usenetserver.com
2018-10-18 13:18:02,433::INFO::[downloader:490] [email protected]: Initiating connection
2018-10-18 13:18:02,433::DEBUG::[downloader:112] news-us.usenetserver.com: Re-using address news-us.usenetserver.com
2018-10-18 13:18:02,443::INFO::[downloader:490] [email protected]: Initiating connection
2018-10-18 13:18:02,443::DEBUG::[downloader:112] news-us.usenetserver.com: Re-using address news-us.usenetserver.com
2018-10-18 13:18:02,453::INFO::[downloader:490] [email protected]: Initiating connection
2018-10-18 13:18:02,453::DEBUG::[downloader:112] news-us.usenetserver.com: Re-using address news-us.usenetserver.com
2018-10-18 13:18:02,461::INFO::[downloader:490] [email protected]: Initiating connection
2018-10-18 13:18:02,461::DEBUG::[downloader:112] news-us.usenetserver.com: Re-using address news-us.usenetserver.com
2018-10-18 13:18:02,473::INFO::[downloader:490] [email protected]: Initiating connection
2018-10-18 13:18:02,473::DEBUG::[downloader:112] news-us.usenetserver.com: Re-using address news-us.usenetserver.com
2018-10-18 13:18:16,499::INFO::[downloader:490] [email protected]: Initiating connection
2018-10-18 13:18:16,499::DEBUG::[downloader:112] news-us.usenetserver.com: Re-using address news-us.usenetserver.com
2018-10-18 13:18:23,408::INFO::[newswrapper:265] Failed to connect: (10060, '[Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond') [email protected]:443
2018-10-18 13:18:23,424::INFO::[newswrapper:265] Failed to connect: (10060, '[Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond') [email protected]:443
2018-10-18 13:18:23,430::INFO::[newswrapper:265] Failed to connect: (10060, '[Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond') [email protected]:443
2018-10-18 13:18:23,430::INFO::[newswrapper:265] Failed to connect: (10060, '[Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond') [email protected]:443
2018-10-18 13:18:23,448::INFO::[newswrapper:265] Failed to connect: (10060, '[Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond') [email protected]:443
2018-10-18 13:18:23,448::INFO::[newswrapper:265] Failed to connect: (10060, '[Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond') [email protected]:443
2018-10-18 13:18:23,469::INFO::[newswrapper:265] Failed to connect: (10060, '[Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond') [email protected]:443
2018-10-18 13:18:23,479::INFO::[newswrapper:265] Failed to connect: (10060, '[Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond') [email protected]:443
2018-10-18 13:18:23,479::INFO::[newswrapper:265] Failed to connect: (10060, '[Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond') [email protected]:443
2018-10-18 13:18:37,520::INFO::[newswrapper:265] Failed to connect: (10060, '[Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond') [email protected]:443
2018-10-18 13:18:53,542::INFO::[downloader:490] [email protected]: Initiating connection
2018-10-18 13:18:56,710::INFO::[happyeyeballs:138] Quickest IP address for news-us.usenetserver.com (port 443, ssl 1, preferipv6 True) is None
2018-10-18 13:18:56,710::DEBUG::[happyeyeballs:140] Happy Eyeballs lookup and port connect took 3168 ms
2018-10-18 13:18:56,710::DEBUG::[downloader:135] news-us.usenetserver.com: No successful IP connection was possible
2018-10-18 13:18:56,720::INFO::[downloader:490] [email protected]: Initiating connection
2018-10-18 13:18:56,720::DEBUG::[downloader:112] news-us.usenetserver.com: Re-using address news-us.usenetserver.com
2018-10-18 13:18:56,730::INFO::[downloader:490] [email protected]: Initiating connection
2018-10-18 13:18:56,730::DEBUG::[downloader:112] news-us.usenetserver.com: Re-using address news-us.usenetserver.com
2018-10-18 13:18:56,742::INFO::[downloader:490] [email protected]: Initiating connection
2018-10-18 13:18:56,742::DEBUG::[downloader:112] news-us.usenetserver.com: Re-using address news-us.usenetserver.com
2018-10-18 13:18:56,753::INFO::[downloader:490] [email protected]: Initiating connection
2018-10-18 13:18:56,753::DEBUG::[downloader:112] news-us.usenetserver.com: Re-using address news-us.usenetserver.com
2018-10-18 13:18:56,763::INFO::[downloader:490] [email protected]: Initiating connection
2018-10-18 13:18:56,763::DEBUG::[downloader:112] news-us.usenetserver.com: Re-using address news-us.usenetserver.com
2018-10-18 13:18:56,775::INFO::[downloader:490] [email protected]: Initiating connection
2018-10-18 13:18:56,775::DEBUG::[downloader:112] news-us.usenetserver.com: Re-using address news-us.usenetserver.com
2018-10-18 13:18:56,785::INFO::[downloader:490] [email protected]: Initiating connection
2018-10-18 13:18:56,785::DEBUG::[downloader:112] news-us.usenetserver.com: Re-using address news-us.usenetserver.com
2018-10-18 13:18:56,795::INFO::[downloader:490] [email protected]: Initiating connection
2018-10-18 13:18:56,795::DEBUG::[downloader:112] news-us.usenetserver.com: Re-using address news-us.usenetserver.com
2018-10-18 13:19:07,815::INFO::[downloader:490] [email protected]: Initiating connection
2018-10-18 13:19:07,815::DEBUG::[downloader:112] news-us.usenetserver.com: Re-using address news-us.usenetserver.com
2018-10-18 13:19:17,730::INFO::[newswrapper:265] Failed to connect: (10060, '[Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond') [email protected]:443
2018-10-18 13:19:17,730::INFO::[newswrapper:265] Failed to connect: (10060, '[Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond') [email protected]:443
2018-10-18 13:19:17,753::INFO::[newswrapper:265] Failed to connect: (10060, '[Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond') [email protected]:443
2018-10-18 13:19:17,763::INFO::[newswrapper:265] Failed to connect: (10060, '[Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond') [email protected]:443
2018-10-18 13:19:17,773::INFO::[newswrapper:265] Failed to connect: (10060, '[Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond') [email protected]:443
2018-10-18 13:19:17,773::INFO::[newswrapper:265] Failed to connect: (10060, '[Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond') [email protected]:443
2018-10-18 13:19:17,779::INFO::[newswrapper:265] Failed to connect: (10060, '[Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond') [email protected]:443
2018-10-18 13:19:17,799::INFO::[newswrapper:265] Failed to connect: (10060, '[Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond') [email protected]:443
2018-10-18 13:19:17,813::INFO::[newswrapper:265] Failed to connect: (10060, '[Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond') [email protected]:443
2018-10-18 13:19:28,832::INFO::[newswrapper:265] Failed to connect: (10060, '[Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond') [email protected]:443
This is just an excerpt that will repeat continuously for hours, unless I disconnect, change VPN IP address, then re-connect and resume.
Again, a push notification would be very useful as an alert that this is happening during unattended downloads.

User avatar
sander
Release Testers
Release Testers
Posts: 6479
Joined: January 22nd, 2008, 2:22 pm

Re: Stalled Downloads Notifications?

Post by sander » October 19th, 2018, 9:59 am

Just a note / hint:

If you want to automate things, you can check via the SAB API 1) the speed and 2) the mbleft. If mbleft > 0 and speed is around 0, the download is stalled, and you can (let) take action.

Code: Select all

$ curl -s http://127.0.0.1:8080/sabnzbd/api -F apikey=b463b755ad289e4fd2e2e7319ab6eacf -F mode=queue -F output=json | python -m json.tool | grep -e speed -e kbper -e mbleft

        "kbpersec": "2293.17",
        "mbleft": "518.47",
                "mbleft": "518.47",
        "speed": "2.2 M",
        "speedlimit": "100",
        "speedlimit_abs": "",

airguy
Newbie
Newbie
Posts: 23
Joined: December 5th, 2011, 4:45 pm

Re: Stalled Downloads Notifications?

Post by airguy » October 19th, 2018, 2:10 pm

sander wrote:
October 19th, 2018, 9:59 am
Just a note / hint:

If you want to automate things, you can check via the SAB API 1) the speed and 2) the mbleft. If mbleft > 0 and speed is around 0, the download is stalled, and you can (let) take action.

Code: Select all

$ curl -s http://127.0.0.1:8080/sabnzbd/api -F apikey=b463b755ad289e4fd2e2e7319ab6eacf -F mode=queue -F output=json | python -m json.tool | grep -e speed -e kbper -e mbleft

        "kbpersec": "2293.17",
        "mbleft": "518.47",
                "mbleft": "518.47",
        "speed": "2.2 M",
        "speedlimit": "100",
        "speedlimit_abs": "",
Thank you for your reply. Slight confused though. Would this then be incorporated into a script somehow?

User avatar
sander
Release Testers
Release Testers
Posts: 6479
Joined: January 22nd, 2008, 2:22 pm

Re: Stalled Downloads Notifications?

Post by sander » October 19th, 2018, 5:06 pm

airguy wrote:
October 19th, 2018, 2:10 pm

Thank you for your reply. Slight confused though. Would this then be incorporated into a script somehow?
Maybe you can put it in a script yourself? Or an IFTTT

airguy
Newbie
Newbie
Posts: 23
Joined: December 5th, 2011, 4:45 pm

Re: Stalled Downloads Notifications?

Post by airguy » October 27th, 2018, 7:19 am

sander wrote:
October 19th, 2018, 5:06 pm
airguy wrote:
October 19th, 2018, 2:10 pm

Thank you for your reply. Slight confused though. Would this then be incorporated into a script somehow?
Maybe you can put it in a script yourself? Or an IFTTT
Thanks. I will see what I can do. Haven't messed with scripts much yet.

Post Reply