[bnpcards] Downgrade from HTTPS to HTTP
Hello,
I sometimes get a message "Downgrade from HTTPS to HTTP". This happens usually when leaving boobank unused for a while (probably a timeout ?) , e.g. launching a command overnight:
boobank> list
Account Balance Coming
------------------------------------------+----------+----------
2018-03-23 23:05:54,888:DEBUG:bcall:1.4:bcall.py:92:backend_process <Backend u'bnpcards'>: Calling function <bound method Boobank._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0x76c7abb0>>
2018-03-23 23:05:54,890:DEBUG:bcall:1.4:bcall.py:101:backend_process <Backend u'bnpcards'>: Called function <bound method Boobank._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0x76c7abb0>> returned: <generator object _do_complete_iter at 0x75d00d00>
2018-03-23 23:05:54,905:INFO:urllib3.connectionpool:1.4:connectionpool.py:223:_get_conn Resetting dropped connection: www.cartesentreprise.bnpparibas.com
2018-03-23 23:05:55,967:DEBUG:urllib3.connectionpool:1.4:connectionpool.py:362:_make_request "GET /ce_internet_corporate_ti/operationCorporateEnCoursDetail.builder.do HTTP/1.1" 200 None
2018-03-23 23:05:56,230:DEBUG:backend.bnpcards.browser:1.4:browsers.py:694:internal_callback Handle https://www.cartesentreprise.bnpparibas.com/ce_internet_corporate_ti/operationCorporateEnCoursDetail.builder.do with TiCardPage
2018-03-23 23:05:56,738:DEBUG:urllib3.connectionpool:1.4:connectionpool.py:362:_make_request "POST /ce_internet_corporate_ti/operationCorporateEnCoursDetailAfficher.event.do HTTP/1.1" 200 None
2018-03-23 23:05:56,953:DEBUG:backend.bnpcards.browser:1.4:browsers.py:694:internal_callback Handle https://www.cartesentreprise.bnpparibas.com/ce_internet_corporate_ti/operationCorporateEnCoursDetailAfficher.event.do with TiCardPage
#1 (bnpcards) Mr XXX XXX XXXX*** -156.60
------------------------------------------+----------+----------
Total (EUR) 0.00 -156.60
boobank> list
Account Balance Coming
------------------------------------------+----------+----------
2018-03-24 07:58:19,411:DEBUG:bcall:1.4:bcall.py:92:backend_process <Backend u'bnpcards'>: Calling function <bound method Boobank._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0x76c7abb0>>
2018-03-24 07:58:19,419:DEBUG:bcall:1.4:bcall.py:101:backend_process <Backend u'bnpcards'>: Called function <bound method Boobank._do_complete of <weboob.applications.boobank.boobank.Boobank object at 0x76c7abb0>> returned: <generator object _do_complete_iter at 0x75d00df0>
2018-03-24 07:58:19,432:INFO:urllib3.connectionpool:1.4:connectionpool.py:223:_get_conn Resetting dropped connection: www.cartesentreprise.bnpparibas.com
2018-03-24 07:58:20,656:DEBUG:urllib3.connectionpool:1.4:connectionpool.py:362:_make_request "GET /ce_internet_corporate_ti/operationCorporateEnCoursDetail.builder.do HTTP/1.1" 302 0
2018-03-24 07:58:20,722:DEBUG:urllib3.connectionpool:1.4:connectionpool.py:362:_make_request "GET /ce_internet_public/accueilInternetPublic.builder.do HTTP/1.1" 302 0
2018-03-24 07:58:20,734:INFO:urllib3.connectionpool:1.4:connectionpool.py:188:_new_conn Starting new HTTP connection (1): www.cartesentreprise.bnpparibas.com
2018-03-24 07:58:21,477:DEBUG:urllib3.connectionpool:1.4:connectionpool.py:362:_make_request "GET /ce_internet_public/accueilInternetPublic.builder.do HTTP/1.1" 200 None
FATAL(bnpcards): Downgrade from HTTPS to HTTP
------------------------------------------+----------+----------
boobank>