Pushbullet: Connection aborted closed connection without response
antivirtel opened this issue · comments
Roland B. commented
Expected behaviour:
Notifications to be sent consistently using Pushbullet.
Actual behaviour:
Some notifications are sent, some don't. I can't seem to identify a pattern. The internet connection seems to be fine, maybe something on Pushbullet's side is unstable/changed? I'm seeing this for the last few months.
It always logs the warning when it doesn't work, even without DEBUG loglevel:
2023-08-10 18:32:57 DEBUG utils.requests task2_auto POSTing URL https://api.pushbullet.com/v2/pushes with args () and kwargs {'data': None, 'json': {'type': 'link', 'title': 'Foo.S06E10.1080p.AMZN.WEB-DL.DDP5.1.H.264-Team (Category)', 'body': '⬇19:27:54 Thu, 10. task2_auto', 'url': 'https://host.tld/download.php/id/hash/%5BiNs-id%5D%5BCategory%5DFoo.S06E10.1080p.AMZN.WEB-DL.DDP5.1.H.264-Team.torrent'}, 'headers': {'Authorization': b'Basic asd==', 'Content-Type': 'application/json', 'Accept': 'application/json', 'User-Agent': 'Flexget'}, 'timeout': 30}
2023-08-10 18:32:57 WARNING notify task2_auto Error while sending notification to `pushbullet`: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
Steps to reproduce:
- Configure Flexget as below
- Keep sending notifications until you see the issue (as not every one of them fails)
Config:
Show config
There is a FlexGet process already running for this config, sending execution there.
2023-08-11 02:18:41 VERBOSE assume_quality task2_auto-forgn New assumption: 2160p is h264 hdtv
2023-08-11 02:18:41 VERBOSE assume_quality task2_auto-forgn New assumption: 1080p is h264 hdtv
2023-08-11 02:18:41 VERBOSE assume_quality task2_auto-forgn New assumption: 720p is h264 hdtv
2023-08-11 02:18:41 VERBOSE assume_quality task2_auto-forgn New assumption: any is 360p sdtv h264
─── config from task: task2_auto-forgn ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
assume_quality:
1080p: h264 hdtv
2160p: h264 hdtv
720p: h264 hdtv
any: 360p sdtv h264
notify:
entries:
message: "\u2B07{{ rss_pubdate|formatdate(\"%H:%M:%S %a, %d.\") }} {{task}}"
title: '{{title}}'
via:
- pushbullet:
api_key: hash
url: '{{url}}'
regexp:
reject:
- xvid
- forgnSub
reject_excluding:
- Sorozat/forgn
retry_failed:
max_retries: 10
retry_time: 3 minutes
retry_time_multiplier: 1.5
rss:
all_entries: true
ascii: false
escape: false
group_links: false
silent: false
url: https://host.tld/torr.rss
series:
forgn serials:
- Foo:
alternate_name:
- Bar
settings:
ENG serials:
season_packs: always
forgn serials:
quality: h264|h265 360p+
season_packs: always
target: h264|h265 1080i+ webdl+
timeframe: 3 days
upgrade: true
template:
- dwn
- task2_rss
- forgn_serials_list
transmission:
add_paused: true
host: localhost
include_subs: true
main_file_only: true
main_file_ratio: 0.85
password: pwd
path: /path/to/videos/{{ series_name }}
port: 9091
username: user
Log:
(click to expand)
2023-08-10 18:32:56 VERBOSE task task2_auto ACCEPTED: `Foo.S06E10.1080p.AMZN.WEB-DL.DDP5.1.H.264-Team (Category)` by series plugin because target quality
2023-08-10 18:32:56 DEBUG series task2_auto processing series took 0.023345431999928223
2023-08-10 18:32:56 DEBUG urlrewriter task2_auto Checking 1 entries
2023-08-10 18:32:56 INFO download task2_auto Downloading: Foo.S06E10.1080p.AMZN.WEB-DL.DDP5.1.H.264-Team (Category)
2023-08-10 18:32:56 DEBUG download task2_auto Downloading url 'https://host.tld/download.php/id/hash/%5BiNs-id%5D%5BCategory%5DFoo.S06E10.1080p.AMZN.WEB-DL.DDP5.1.H.264-Team.torrent'
2023-08-10 18:32:56 DEBUG utils.requests task2_auto GETing URL https://host.tld/download.php/id/hash/%5BiNs-id%5D%5BCategory%5DFoo.S06E10.1080p.AMZN.WEB-DL.DDP5.1.H.264-Team.torrent with args () and kwargs {'auth': None, 'headers': {'User-Agent': 'FlexGet/3.8.4 (www.flexget.com)', 'Accept-Encoding': 'gzip, deflate, br', 'Accept': '*/*', 'Connection': 'keep-alive'}, 'stream': True, 'allow_redirects': True, 'timeout': 30}
2023-08-10 18:32:57 DEBUG download task2_auto Foo.S06E10.1080p.AMZN.WEB-DL.DDP5.1.H.264-Team (Category) field file set to: /tmp/tmp3jgmcgoi/28f93e6b1a50ed05f732f14b34071889
2023-08-10 18:32:57 DEBUG download task2_auto Found filename from headers: [iNs-id][Category]Foo.S06E10.1080p.AMZN.WEB-DL.DDP5.1.H.264-Team.torrent
2023-08-10 18:32:57 DEBUG download task2_auto Mimetype guess for application/x-bittorrent is ['.torrent']
2023-08-10 18:32:57 DEBUG download task2_auto Filename [iNs-id][Category]Foo.S06E10.1080p.AMZN.WEB-DL.DDP5.1.H.264-Team.torrent extension matches to mime-type
2023-08-10 18:32:57 DEBUG download task2_auto Finishing download_entry() with filename [iNs-id][Category]Foo.S06E10.1080p.AMZN.WEB-DL.DDP5.1.H.264-Team.torrent
2023-08-10 18:32:57 DEBUG download task2_auto Successfully retrieved Foo.S06E10.1080p.AMZN.WEB-DL.DDP5.1.H.264-Team (Category) from https://host.tld/download.php/id/hash/%5BiNs-id%5D%5BCategory%5DFoo.S06E10.1080p.AMZN.WEB-DL.DDP5.1.H.264-Team.torrent
2023-08-10 18:32:57 VERBOSE details task2_auto Summary - Accepted: 1 (Rejected: 0 Undecided: 14 Failed: 0)
2023-08-10 18:32:57 DEBUG modif_torrent task2_auto Foo.S06E10.1080p.AMZN.WEB-DL.DDP5.1.H.264-Team (Category) seems to be a torrent
2023-08-10 18:32:57 DEBUG torrent_files task2_auto Foo.S06E10.1080p.AMZN.WEB-DL.DDP5.1.H.264-Team (Category) files: ['Sample/foo-sample.mkv', 'foo.s06e10.1080p.web.mkv', 'foo.s06e10.1080p.web.nfo', 'foo.s06e10.1080p.web.sfv']
2023-08-10 18:32:57 DEBUG torrent_size task2_auto Foo.S06E10.1080p.AMZN.WEB-DL.DDP5.1.H.264-Team (Category) size: 1.95 GiB
2023-08-10 18:32:57 DEBUG transmission task2_auto Connecting to http://localhost:9091/transmission/
2023-08-10 18:32:57 DEBUG transmission task2_auto Successfully connected to transmission.
2023-08-10 18:32:57 INFO transmission task2_auto "Foo.S06E10.1080p.AMZN.WEB-DL.DDP5.1.H.264-Team (Category)" torrent added to transmission
2023-08-10 18:32:57 DEBUG transmission task2_auto Downloading 1 of 4 files in torrent.
2023-08-10 18:32:57 DEBUG notify task2_auto Sending a notification to `pushbullet`
2023-08-10 18:32:57 DEBUG utils.requests task2_auto POSTing URL https://api.pushbullet.com/v2/pushes with args () and kwargs {'data': None, 'json': {'type': 'link', 'title': 'Foo.S06E10.1080p.AMZN.WEB-DL.DDP5.1.H.264-Team (Category)', 'body': '⬇19:27:54 Thu, 10. task2_auto', 'url': 'https://host.tld/download.php/id/hash/%5BiNs-id%5D%5BCategory%5DFoo.S06E10.1080p.AMZN.WEB-DL.DDP5.1.H.264-Team.torrent'}, 'headers': {'Authorization': b'Basic asd==', 'Content-Type': 'application/json', 'Accept': 'application/json', 'User-Agent': 'Flexget'}, 'timeout': 30}
2023-08-10 18:32:57 WARNING notify task2_auto Error while sending notification to `pushbullet`: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
2023-08-10 18:32:57 DEBUG download task2_auto removing temp file /tmp/tmp3jgmcgoi/hash from Foo.S06E10.1080p.AMZN.WEB-DL.DDP5.1.H.264-Team (Category)
2023-08-10 18:32:57 DEBUG seen task2_auto Learned 'Foo.S06E10.1080p.AMZN.WEB-DL.DDP5.1.H.264-Team (Category)' (field: title, local: False)
2023-08-10 18:32:57 DEBUG seen task2_auto Learned 'https://host.tld/download.php/id/hash/%5BiNs-id%5D%5BCategory%5DFoo.S06E10.1080p.AMZN.WEB-DL.DDP5.1.H.264-Team.torrent' (field: url, local: False)
2023-08-10 18:32:57 DEBUG seen task2_auto Learned 'hash' (field: torrent_info_hash, local: False)
2023-08-10 18:32:57 DEBUG series task2_auto on_task_learn
2023-08-10 18:32:57 DEBUG series task2_auto marking 1 episode releases and 0 season releases as downloaded for `<Entry(title=Foo.S06E10.1080p.AMZN.WEB-DL.DDP5.1.H.264-Team (Category),state=accepted)>`
2023-08-10 18:32:57 DEBUG util.simple_persistence task2_auto Flushing simple persistence for task task2_auto to db.
2023-08-10 18:32:57 DEBUG util.simple_persistence task2_auto Flushing simple persistence for task None to db.
2023-08-10 18:32:57 DEBUG manager task1_auto Not running db cleanup, last run 2023-08-07 12:17:05
Additional information:
- FlexGet version: 3.8.4
- Python version: 3.11.3
- Installation method: pip
- Using daemon (yes/no): yes
- OS and version: Ubuntu 22.04 LTS
- Link to crash log: N/A
github-actions commented
This issue is stale because it has been open 150 days with no activity. Remove stale label or comment or this will be closed in 30 days.
Roland B. commented
Hi, This is still an issue with the latest version. Thanks!