Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
weboob
weboob
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 177
    • Issues 177
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 52
    • Merge Requests 52
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • weboob
  • weboobweboob
  • Issues
  • #138

Closed
Open
Opened May 12, 2018 by Nicolás Ojeda Bär@nojb
  • Report abuse
  • New issue
Report abuse New issue

[boobank] bnporc SSL handshake errors

Hello, thanks for the great program!

Recently boobank with bnporc module stopped working (it was working fine before and I did not change anything), giving the following errors when trying to access the account list or any other actions:

boobank> logging debug
boobank> list
                 Account                     Balance    Coming 
------------------------------------------+----------+----------
2018-05-12 22:01:30,711:DEBUG:bcall:1.3:bcall.py:92:backend_process <Backend u'bnporc'>: Calling function <bound method Boobank._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0x101dd9850>>
2018-05-12 22:01:30,711:DEBUG:bcall:1.3:bcall.py:101:backend_process <Backend u'bnporc'>: Called function <bound method Boobank._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0x101dd9850>> returned: <generator object _do_complete_iter at 0x10251af00>
2018-05-12 22:01:30,713:DEBUG:urllib3.connectionpool:1.3:connectionpool.py:824:_new_conn Starting new HTTPS connection (10): mabanque.bnpparibas
2018-05-12 22:01:30,809:DEBUG:urllib3.util.retry:1.3:retry.py:390:increment Incremented Retry for (url='/identification-wspl-pres/identification?acceptRedirection=true&timestamp=1526155290711'): Retry(total=1, connect=None, read=None, redirect=None, status=None)
2018-05-12 22:01:30,809:WARNING:urllib3.connectionpool:1.3:connectionpool.py:663:urlopen Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, u'[SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:590)'),)': /identification-wspl-pres/identification?acceptRedirection=true&timestamp=1526155290711
2018-05-12 22:01:30,809:DEBUG:urllib3.connectionpool:1.3:connectionpool.py:824:_new_conn Starting new HTTPS connection (11): mabanque.bnpparibas
2018-05-12 22:01:30,889:DEBUG:urllib3.util.retry:1.3:retry.py:390:increment Incremented Retry for (url='/identification-wspl-pres/identification?acceptRedirection=true&timestamp=1526155290711'): Retry(total=0, connect=None, read=None, redirect=None, status=None)
2018-05-12 22:01:30,889:WARNING:urllib3.connectionpool:1.3:connectionpool.py:663:urlopen Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, u'[SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:590)'),)': /identification-wspl-pres/identification?acceptRedirection=true&timestamp=1526155290711
2018-05-12 22:01:30,889:DEBUG:urllib3.connectionpool:1.3:connectionpool.py:824:_new_conn Starting new HTTPS connection (12): mabanque.bnpparibas
2018-05-12 22:01:30,974:DEBUG:root:1.3:decorators.py:45:f_retry HTTPSConnectionPool(host='mabanque.bnpparibas', port=443): Max retries exceeded with url: /identification-wspl-pres/identification?acceptRedirection=true&timestamp=1526155290711 (Caused by SSLError(SSLError(1, u'[SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:590)'),)), Retrying in 3 seconds...
2018-05-12 22:01:33,979:DEBUG:urllib3.connectionpool:1.3:connectionpool.py:824:_new_conn Starting new HTTPS connection (13): mabanque.bnpparibas
2018-05-12 22:01:34,107:DEBUG:urllib3.util.retry:1.3:retry.py:390:increment Incremented Retry for (url='/identification-wspl-pres/identification?acceptRedirection=true&timestamp=1526155290711'): Retry(total=1, connect=None, read=None, redirect=None, status=None)
2018-05-12 22:01:34,107:WARNING:urllib3.connectionpool:1.3:connectionpool.py:663:urlopen Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, u'[SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:590)'),)': /identification-wspl-pres/identification?acceptRedirection=true&timestamp=1526155290711
2018-05-12 22:01:34,108:DEBUG:urllib3.connectionpool:1.3:connectionpool.py:824:_new_conn Starting new HTTPS connection (14): mabanque.bnpparibas
2018-05-12 22:01:34,201:DEBUG:urllib3.util.retry:1.3:retry.py:390:increment Incremented Retry for (url='/identification-wspl-pres/identification?acceptRedirection=true&timestamp=1526155290711'): Retry(total=0, connect=None, read=None, redirect=None, status=None)
2018-05-12 22:01:34,202:WARNING:urllib3.connectionpool:1.3:connectionpool.py:663:urlopen Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, u'[SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:590)'),)': /identification-wspl-pres/identification?acceptRedirection=true&timestamp=1526155290711
2018-05-12 22:01:34,202:DEBUG:urllib3.connectionpool:1.3:connectionpool.py:824:_new_conn Starting new HTTPS connection (15): mabanque.bnpparibas
2018-05-12 22:01:34,295:DEBUG:root:1.3:decorators.py:45:f_retry HTTPSConnectionPool(host='mabanque.bnpparibas', port=443): Max retries exceeded with url: /identification-wspl-pres/identification?acceptRedirection=true&timestamp=1526155290711 (Caused by SSLError(SSLError(1, u'[SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:590)'),)), Retrying in 6 seconds...
2018-05-12 22:01:40,301:DEBUG:urllib3.connectionpool:1.3:connectionpool.py:824:_new_conn Starting new HTTPS connection (16): mabanque.bnpparibas
2018-05-12 22:01:40,383:DEBUG:urllib3.util.retry:1.3:retry.py:390:increment Incremented Retry for (url='/identification-wspl-pres/identification?acceptRedirection=true&timestamp=1526155290711'): Retry(total=1, connect=None, read=None, redirect=None, status=None)
2018-05-12 22:01:40,383:WARNING:urllib3.connectionpool:1.3:connectionpool.py:663:urlopen Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, u'[SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:590)'),)': /identification-wspl-pres/identification?acceptRedirection=true&timestamp=1526155290711
2018-05-12 22:01:40,384:DEBUG:urllib3.connectionpool:1.3:connectionpool.py:824:_new_conn Starting new HTTPS connection (17): mabanque.bnpparibas
2018-05-12 22:01:40,469:DEBUG:urllib3.util.retry:1.3:retry.py:390:increment Incremented Retry for (url='/identification-wspl-pres/identification?acceptRedirection=true&timestamp=1526155290711'): Retry(total=0, connect=None, read=None, redirect=None, status=None)
2018-05-12 22:01:40,469:WARNING:urllib3.connectionpool:1.3:connectionpool.py:663:urlopen Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError(SSLError(1, u'[SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:590)'),)': /identification-wspl-pres/identification?acceptRedirection=true&timestamp=1526155290711
2018-05-12 22:01:40,469:DEBUG:urllib3.connectionpool:1.3:connectionpool.py:824:_new_conn Starting new HTTPS connection (18): mabanque.bnpparibas
Bug(bnporc): HTTPSConnectionPool(host='mabanque.bnpparibas', port=443): Max retries exceeded with url: /identification-wspl-pres/identification?acceptRedirection=true&timestamp=1526155290711 (Caused by SSLError(SSLError(1, u'[SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:590)'),))
(If --auto-update is passed on the command-line, new versions of the module will be checked automatically)
Traceback (most recent call last):
  File "/usr/local/Cellar/weboob/1.3_1/libexec/lib/python2.7/site-packages/weboob/core/bcall.py", line 106, in backend_process
    for subresult in result:
  File "/usr/local/Cellar/weboob/1.3_1/libexec/lib/python2.7/site-packages/weboob/tools/application/base.py", line 287, in _do_complete_iter
    for i, sub in enumerate(res):
  File "/Users/nojb/.local/share/weboob/modules/1.3/bnporc/module.py", line 81, in iter_accounts
    for account in self.browser.get_accounts_list():
  File "/usr/local/Cellar/weboob/1.3_1/libexec/lib/python2.7/site-packages/weboob/browser/browsers.py", line 765, in inner
    browser.do_login()
  File "/Users/nojb/.local/share/weboob/modules/1.3/bnporc/pp/browser.py", line 116, in do_login
    self.login.go(timestamp=timestamp())
  File "/usr/local/Cellar/weboob/1.3_1/libexec/lib/python2.7/site-packages/weboob/browser/url.py", line 98, in go
    r = self.browser.location(self.build(**kwargs), params=params, data=data, method=method, headers=headers or {})
  File "/usr/local/Cellar/weboob/1.3_1/libexec/lib/python2.7/site-packages/weboob/browser/browsers.py", line 706, in location
    response = self.open(*args, **kwargs)
  File "/usr/local/Cellar/weboob/1.3_1/libexec/lib/python2.7/site-packages/weboob/tools/decorators.py", line 52, in f_retry
    return f(*args, **kwargs)
  File "/Users/nojb/.local/share/weboob/modules/1.3/bnporc/pp/browser.py", line 110, in open
    return super(BNPParibasBrowser, self).open(*args, **kwargs)
  File "/Users/nojb/.local/share/weboob/modules/1.3/bnporc/pp/browser.py", line 64, in open
    return super(JsonBrowserMixin, self).open(*args, **kwargs)
  File "/usr/local/Cellar/weboob/1.3_1/libexec/lib/python2.7/site-packages/weboob/browser/browsers.py", line 693, in open
    return super(PagesBrowser, self).open(callback=internal_callback, *args, **kwargs)
  File "/usr/local/Cellar/weboob/1.3_1/libexec/lib/python2.7/site-packages/weboob/browser/browsers.py", line 597, in open
    return super(DomainBrowser, self).open(req, *args, **kwargs)
  File "/usr/local/Cellar/weboob/1.3_1/libexec/lib/python2.7/site-packages/weboob/browser/browsers.py", line 348, in open
    is_async=is_async)
  File "/usr/local/Cellar/weboob/1.3_1/libexec/lib/python2.7/site-packages/weboob/browser/sessions.py", line 159, in send
    return func(*args, **kwargs)
  File "/usr/local/Cellar/weboob/1.3_1/libexec/lib/python2.7/site-packages/weboob/browser/sessions.py", line 151, in func
    resp = sup(*args, **kwargs)
  File "/usr/local/Cellar/weboob/1.3_1/libexec/lib/python2.7/site-packages/requests/sessions.py", line 618, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/Cellar/weboob/1.3_1/libexec/lib/python2.7/site-packages/requests/adapters.py", line 506, in send
    raise SSLError(e, request=request)
SSLError: HTTPSConnectionPool(host='mabanque.bnpparibas', port=443): Max retries exceeded with url: /identification-wspl-pres/identification?acceptRedirection=true&timestamp=1526155290711 (Caused by SSLError(SSLError(1, u'[SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:590)'),))

Any ideas?

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: weboob/weboob#138