HTTPError when pushing sources to Github from behind proxy

Hi,

I’m setting up transifex to translate the Sphinx documentation of a project hosted on ReadTheDocs. I followed the RTD instructions to set up transifex :

https://docs.readthedocs.io/en/stable/guides/manage-translations.html

I’m having trouble when connected from behind a proxy. If I use my mobile phone’s wifi everything works, but if I use my office Internet connection from behind a proxy, I get http error, even though I did set up http_proxy and https_proxy environement variables.

The errors :

tx ERROR: HTTP error
tx ERROR: HTTPSConnectionPool(host=‘www.transifex.com’, port=443): Max retries exceeded with url: /api/2/project/monitorfish/resource/datascience_docs_source__build_gettext_architecture/stats/ (Caused by SSLError(SSLError(“bad handshake: Error([(‘SSL routines’, ‘ssl3_get_record’, ‘wrong version number’)])”)))

Any idea ?

Thanks in advance !
Vincent

Hello Vincent,

​Thank you for contacting Transifex support.
​Regarding the “Bad HandShake” error, Could you please try using your CA Certificate?

​#Example
​’tx pull -a -f --cacert /path/to/ca-cert-bundle-file’



Give it a try and let me know how it goes :)​

​Best Regards
​Cesar