Forums

ProxyError: HTTPSConnectionPool

Hello,

New to Python (in general), Flask and pythonanywhere. I finally got my script to run in my own virtual env, but when I upload to the site and put it live I receive a "Internal Server Error"

Here's some info :

File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 510, in send raise ProxyError(e, request=request) requests.exceptions.ProxyError: HTTPSConnectionPool(host='www.newegg.com', port=443): Max retries exceeded with url: /p/pl?N=100007709%204131%208000& (Caused by ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 403 Forbidden')))

There's a very good chance maybe I have done something wrong on my end, as I am still very new and learning, but as I mentioned earlier, it "runs" in my virtual environment.

Thanks!

Looks like you try to connect form the free account to the website that is not whitelisted for free accounts. See https://www.pythonanywhere.com/whitelist/

Python Anywhere username: krishnagita

The URL of the site I want to access: api.magic.link

Please Kindly add this link to my site so that I can access it through api key because I want to add social and email aouth logins to my site so that people can login on to my site.

Thank you, Divyanshu Sharma

Please refer to https://help.pythonanywhere.com/pages/RequestingAllowlistAdditions/ regarding allowlist addition requests.

Python Anywhere username: pythonxyz1

The URL of the site I want to access: https://front.page/atulauto please add this url bcoz i want to scrape data

I wish I could lock this thread