I just enabled the DDL option since many comics haven't been found using DogNZB or the experimental search for the last couple of weeks. Since the books are available on GetComics, I thought I'd give that a try. Here's the error returned when Mylar searched on GetComics:
13-Apr-2019 10:40:57 - INFO :: mylar.NZB_SEARCH.513 : SEARCH-QUEUE : Shhh be very quiet...I'm looking for She Could Fly: The Lost Pilot issue: 1 (2019) using ddl.
13-Apr-2019 10:40:57 - DEBUG :: mylar.NZB_SEARCH.577 : SEARCH-QUEUE : findloop: 0 / findcount: 1
13-Apr-2019 10:40:57 - DEBUG :: mylar.NZB_SEARCH.623 : SEARCH-QUEUE : Sending request to DDL site for : She Could Fly: The Lost Pilot 1
ERROR:root:'https://getcomics.info' returned an error. Could not collect tokens.
13-Apr-2019 10:40:57 - ERROR :: mylar.excepthook.315 : SEARCH-QUEUE : Uncaught exception: Traceback (most recent call last):
File "/Users/joevan/mylar/mylar/logger.py", line 337, in new_run
old_run(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
File "/Users/joevan/mylar/mylar/helpers.py", line 3144, in search_queue
ss_queue = mylar.search.searchforissue(item['issueid'])
File "/Users/joevan/mylar/mylar/search.py", line 1855, in searchforissue
foundNZB, prov = search_init(ComicName, IssueNumber, str(IssueYear), SeriesYear, Publisher, IssueDate, StoreDate, actissueid, AlternateSearch, UseFuzzy, ComicVersion, SARC=SARC, IssueArcID=IssueArcID, mode=mode, rsscheck=rsscheck, ComicID=ComicID, filesafe=Comicname_filesafe, allow_packs=allow_packs, oneoff=oneoff, manual=manual, torrentid_32p=TorrentID_32p, digitaldate=DigitalDate, booktype=booktype)
File "/Users/joevan/mylar/mylar/search.py", line 359, in search_init
findit = NZB_SEARCH(ComicName, IssueNumber, ComicYear, SeriesYear, Publisher, IssueDate, StoreDate, searchprov, send_prov_count, IssDateFix, IssueID, UseFuzzy, newznab_host, ComicVersion=ComicVersion, SARC=SARC, IssueArcID=IssueArcID, RSS="no", ComicID=ComicID, issuetitle=issuetitle, unaltered_ComicName=unaltered_ComicName, allow_packs=allow_packs, oneoff=oneoff, cmloopit=cmloopit, manual=manual, torznab_host=torznab_host, torrentid_32p=torrentid_32p, digitaldate=digitaldate, booktype=booktype)
File "/Users/joevan/mylar/mylar/search.py", line 625, in NZB_SEARCH
bb = b.search()
File "/Users/joevan/mylar/mylar/getcomics.py", line 58, in search
cf_cookievalue, cf_user_agent = s.get_tokens(self.url, headers=self.headers)
File "lib/cfscrape/__init__.py", line 177, in get_tokens
resp = scraper.get(url, **kwargs)
File "lib/requests/sessions.py", line 477, in get
return self.request('GET', url, **kwargs)
File "lib/cfscrape/__init__.py", line 64, in request
resp = super(CloudflareScraper, self).request(method, url, *args, **kwargs)
File "lib/requests/sessions.py", line 465, in request
resp = self.send(prep, **send_kwargs)
File "lib/requests/sessions.py", line 573, in send
r = adapter.send(request, **kwargs)
File "lib/requests/adapters.py", line 431, in send
raise SSLError(e, request=request)
SSLError: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:581)
Traceback (most recent call last):
File "/Users/joevan/mylar/mylar/logger.py", line 337, in new_run
old_run(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
File "/Users/joevan/mylar/mylar/helpers.py", line 3144, in search_queue
ss_queue = mylar.search.searchforissue(item['issueid'])
File "/Users/joevan/mylar/mylar/search.py", line 1855, in searchforissue
foundNZB, prov = search_init(ComicName, IssueNumber, str(IssueYear), SeriesYear, Publisher, IssueDate, StoreDate, actissueid, AlternateSearch, UseFuzzy, ComicVersion, SARC=SARC, IssueArcID=IssueArcID, mode=mode, rsscheck=rsscheck, ComicID=ComicID, filesafe=Comicname_filesafe, allow_packs=allow_packs, oneoff=oneoff, manual=manual, torrentid_32p=TorrentID_32p, digitaldate=DigitalDate, booktype=booktype)
File "/Users/joevan/mylar/mylar/search.py", line 359, in search_init
findit = NZB_SEARCH(ComicName, IssueNumber, ComicYear, SeriesYear, Publisher, IssueDate, StoreDate, searchprov, send_prov_count, IssDateFix, IssueID, UseFuzzy, newznab_host, ComicVersion=ComicVersion, SARC=SARC, IssueArcID=IssueArcID, RSS="no", ComicID=ComicID, issuetitle=issuetitle, unaltered_ComicName=unaltered_ComicName, allow_packs=allow_packs, oneoff=oneoff, cmloopit=cmloopit, manual=manual, torznab_host=torznab_host, torrentid_32p=torrentid_32p, digitaldate=digitaldate, booktype=booktype)
File "/Users/joevan/mylar/mylar/search.py", line 625, in NZB_SEARCH
bb = b.search()
File "/Users/joevan/mylar/mylar/getcomics.py", line 58, in search
cf_cookievalue, cf_user_agent = s.get_tokens(self.url, headers=self.headers)
File "lib/cfscrape/__init__.py", line 177, in get_tokens
resp = scraper.get(url, **kwargs)
File "lib/requests/sessions.py", line 477, in get
return self.request('GET', url, **kwargs)
File "lib/cfscrape/__init__.py", line 64, in request
resp = super(CloudflareScraper, self).request(method, url, *args, **kwargs)
File "lib/requests/sessions.py", line 465, in request
resp = self.send(prep, **send_kwargs)
File "lib/requests/sessions.py", line 573, in send
r = adapter.send(request, **kwargs)
File "lib/requests/adapters.py", line 431, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:581)
I'm running the latest development version (9fa7ceb709b5f39e726ab5f0a56f5e709bffe08c) and recently upgraded openssl to OpenSSL 1.0.2r 26 Feb 2019. Running on a Mac using Python 2.7.9
DDL error
-
- Posts: 26
- Joined: Sun Aug 04, 2013 3:45 pm
Re: DDL error
It looks like there's a problem with my OpenSSL install as I'm getting this error on starting Mylar:
13-Apr-2019 11:26:54 - WARNING :: mylar.checkGithub.175 : MAIN : [ERROR] Could not get the latest commit from github: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:581)
I'm no command line expert, but I thought I finally was able to link the default MacOS python to the new version of OpenSSL.
After updating OpenSSL to the latest, I used the following commands:
echo 'export PATH="/usr/local/opt/openssl/bin:$PATH"' >> ~/.bash_profile
source ~/.bash_profile
Checking the version via the terminal is reporting that I have the latest version installed. Any ideas on what's the problem?
13-Apr-2019 11:26:54 - WARNING :: mylar.checkGithub.175 : MAIN : [ERROR] Could not get the latest commit from github: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:581)
I'm no command line expert, but I thought I finally was able to link the default MacOS python to the new version of OpenSSL.
After updating OpenSSL to the latest, I used the following commands:
echo 'export PATH="/usr/local/opt/openssl/bin:$PATH"' >> ~/.bash_profile
source ~/.bash_profile
Checking the version via the terminal is reporting that I have the latest version installed. Any ideas on what's the problem?
- evilhero
- Site Admin
- Posts: 2883
- Joined: Sat Apr 20, 2013 3:43 pm
- Contact:
Re: DDL error
Openssl is dependent on your pyopenssl wrapper which is based off of your python version.
If I'd wager a bet, I'd say that your openssl version is too new to work with python 2.7.9.
You should try to either downgrade openssl, or upgrade your python to the lastest version.
If I'd wager a bet, I'd say that your openssl version is too new to work with python 2.7.9.
You should try to either downgrade openssl, or upgrade your python to the lastest version.
-
- Posts: 26
- Joined: Sun Aug 04, 2013 3:45 pm
Re: DDL error
Upgraded Python to version 2.7.16 (which btw contains a version of OpenSSL 1.xx) via python.org and all is well in Mylarland. SSL is working perfectly and DDL grabbed that issue that I listed previously.
Many thanks for your continued work on this project and such great support.
Many thanks for your continued work on this project and such great support.