FATAL(freemobile): Downgrade from HTTPS to HTTP
Hello, i'm working on a new module and i will try freemobile module ... then this is the error message
"FATAL(freemobile): Downgrade from HTTPS to HTTP"
2019-01-29 11:46:31,697:DEBUG:modules:1.5:modules.py:163:load_module Loaded module "freemobile" from /home/erics/.local/share/weboob/modules/1.5/freemobile
2019-01-29 11:46:31,697:DEBUG:backend:1.5:modules.py:94:create_instance Created backend "freemobile" for module "freemobile"
2019-01-29 11:46:31,698:DEBUG:root:1.5:iniconfig.py:53:load Loading application configuration file: /home/erics/.config/weboob/boobill.
2019-01-29 11:46:31,698:DEBUG:root:1.5:iniconfig.py:73:load Application configuration file loaded: /home/erics/.config/weboob/boobill.
2019-01-29 11:46:31,705:DEBUG:bcall:1.5:bcall.py:92:backend_process <Backend u'freemobile'>: Calling function <bound method Boobill._do_complete of <weboob.applications.boobill.boobill.Boobill object at 0x7f3bb67f1990>>
2019-01-29 11:46:31,705:DEBUG:urllib3.util.retry:1.5:retry.py:210:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2019-01-29 11:46:31,706:DEBUG:urllib3.util.retry:1.5:retry.py:210:from_int Converted retries value: 2 -> Retry(total=2, connect=None, read=None, redirect=None, status=None)
2019-01-29 11:46:31,708:DEBUG:urllib3.connectionpool:1.5:connectionpool.py:813:_new_conn Starting new HTTPS connection (1): mobile.free.fr:443
2019-01-29 11:46:31,919:DEBUG:urllib3.connectionpool:1.5:connectionpool.py:393:_make_request https://mobile.free.fr:443 "GET /moncompte/index.php HTTP/1.1" 301 178
2019-01-29 11:46:31,923:INFO:backend.freemobile.browser:1.5:browsers.py:195:save_response Response saved to /tmp/weboob_session_S_mRRt/freemobile/01-301-index.php.html
2019-01-29 11:46:31,924:DEBUG:urllib3.connectionpool:1.5:connectionpool.py:205:_new_conn Starting new HTTP connection (1): mobile.free.fr:80
2019-01-29 11:46:32,047:DEBUG:urllib3.connectionpool:1.5:connectionpool.py:393:_make_request http://mobile.free.fr:80 "GET /moncompte/index.php HTTP/1.1" 200 None
2019-01-29 11:46:32,048:INFO:backend.freemobile.browser:1.5:browsers.py:195:save_response Response saved to /tmp/weboob_session_S_mRRt/freemobile/02-200-index.php.html
2019-01-29 11:46:32,051:DEBUG:bcall:1.5:bcall.py:98:backend_process <Backend u'freemobile'>: Called function <bound method Boobill._do_complete of <weboob.applications.boobill.boobill.Boobill object at 0x7f3bb67f1990>> raised an error: BrowserHTTPSDowngrade()
and here is /tmp/weboob_session_S_mRRt/freemobile/02-200-index.php.html
<noscript>
<p align="center">Attention : JavaScript n'est pas activé sur votre navigateur<br>
Vous risquez de rencontrer des problèmes de fonctionnement sur notre site.</p>
</noscript>
<script language="javascript">
if(navigator.cookieEnabled) {
window.location = "https://mobile.free.fr/index.php?"
}
else {
document.write("Vous devez accepter les cookies.");
}
</script>
did i forget something about javascript ?
i'm on a debian stretch, nodejs is installed, PyExecJS is ok ... and debug mode seems to be not enought to understand the problem !
Thanks for your help Éric