It's my error log
Error running WSGI application
urllib3.exceptions.ConnectTimeoutError: (<urllib3.connection.VerifiedHTTPSConnection object at 0x7fb5432cf1d0>, 'Connection to proxy.server timed out. (connect timeout=30)')
File "/var/www/as8896_pythonanywhere_com_wsgi.py", line 16, in <module> from flask_app import app as application
File "/home/as8896/mysite/flask_app.py", line 23, in <module> bot.setWebhook("https://as8896.pythonanywhere.com/{}".format(secret), max_connections=1)
File "/home/as8896/.local/lib/python3.5/site-packages/telepot/init.py", line 728, in setWebhook return self._api_request('setWebhook', _rectify(p))
File "/home/as8896/.local/lib/python3.5/site-packages/telepot/init.py", line 434, in _api_request return api.request((self._token, method, params, files), **kwargs)
File "/home/as8896/.local/lib/python3.5/site-packages/telepot/api.py", line 130, in request
r = fn(args, *kwargs) # fn
must be thread-safe
File "/usr/local/lib/python3.5/dist-packages/urllib3/request.py", line 151, in request_encode_body return self.urlopen(method, url, **extra_kw)
File "/usr/local/lib/python3.5/dist-packages/urllib3/poolmanager.py", line 363, in urlopen return super(ProxyManager, self).urlopen(method, url, redirect=redirect, **kw)
File "/usr/local/lib/python3.5/dist-packages/urllib3/poolmanager.py", line 248, in urlopen response = conn.urlopen(method, u.request_uri, **kw)
File "/usr/local/lib/python3.5/dist-packages/urllib3/connectionpool.py", line 640, in urlopen _stacktrace=sys.exc_info()[2])
File "/usr/local/lib/python3.5/dist-packages/urllib3/util/retry.py", line 238, in increment raise six.reraise(type(error), error, _stacktrace)
File "/usr/local/lib/python3.5/dist-packages/urllib3/packages/six.py", line 686, in reraise raise value
File "/usr/local/lib/python3.5/dist-packages/urllib3/connectionpool.py", line 589, in urlopen self._prepare_proxy(conn)
File "/usr/local/lib/python3.5/dist-packages/urllib3/connectionpool.py", line 797, in _prepare_proxy conn.connect()
File "/usr/local/lib/python3.5/dist-packages/urllib3/connection.py", line 254, in connect conn = self._new_conn()
File "/usr/local/lib/python3.5/dist-packages/urllib3/connection.py", line 147, in _new_conn (self.host, self.timeout))
If you're seeing an import error and don't know why, we have a dedicated help page to help you debug: https://help.pythonanywhere.com/pages/DebuggingImportError/
I referenced the link above, but I could not understand it.
I think ... import urllib3 seems to be the problem. but I can not solve it by myself.
I would appreciate any workarounds or simple tips.