Hi David,
Thanks for your reply. I checked the token, it will expire in next 10 days. This error that I am getting is not for server. when we are running in our laptop, I am getting this.
For example in one of our laptop since yesterday we are seeing this error:
WARNING:urllib3.connectionpool:Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 407 Proxy Authentication Required'))': /v3/streams/contents?streamId=user%2F49467d31-dc59-45d1-82b0-b74f711e1dbc%2Fcategory%2F362ae958-e2b1-4029-adde-dbf7707fd2ff&count=20&ranked=newest&unreadOnly=False&newerThan=0&client=feedly.python.client
Traceback (most recent call last):
File "C:\Users\hfakhrm\AppData\Local\Continuum\anaconda3\lib\site-packages\urllib3\connectionpool.py", line 595, in urlopen
self._prepare_proxy(conn)
File "C:\Users\hfakhrm\AppData\Local\Continuum\anaconda3\lib\site-packages\urllib3\connectionpool.py", line 816, in _prepare_proxy
conn.connect()
File "C:\Users\hfakhrm\AppData\Local\Continuum\anaconda3\lib\site-packages\urllib3\connection.py", line 294, in connect
self._tunnel()
File "C:\Users\hfakhrm\AppData\Local\Continuum\anaconda3\lib\http\client.py", line 921, in _tunnel
message.strip()))
OSError: Tunnel connection failed: 407 Proxy Authentication Required
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\hfakhrm\AppData\Roaming\Python\Python37\site-packages\requests\adapters.py", line 449, in send
timeout=timeout
File "C:\Users\hfakhrm\AppData\Local\Continuum\anaconda3\lib\site-packages\urllib3\connectionpool.py", line 668, in urlopen
**response_kw)
File "C:\Users\hfakhrm\AppData\Local\Continuum\anaconda3\lib\site-packages\urllib3\connectionpool.py", line 639, in urlopen
_stacktrace=sys.exc_info()[2])
File "C:\Users\hfakhrm\AppData\Local\Continuum\anaconda3\lib\site-packages\urllib3\util\retry.py", line 388, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='
feedly.com', port=443): Max retries exceeded with url: /v3/streams/contents?streamId=user%2F49467d31-dc59-45d1-82b0-b74f711e1dbc%2Fcategory%2F362ae958-e2b1-4029-adde-dbf7707fd2ff&count=20&ranked=newest&unreadOnly=False&newerThan=0&client=feedly.python.client (Caused by ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 407 Proxy Authentication Required')))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File ".\controller.py", line 251, in <module>
runNewsSimilarity(proxyDict)
File ".\controller.py", line 138, in runNewsSimilarity
newsScript(proxyDict)
File "C:\AdminVideoWall\scripts\newsSimilarity.py", line 835, in newsAPI
data = getFeedlyData(proxyDict, feed_key[i], NumDoc, latestTimeStamp)
File "C:\AdminVideoWall\scripts\newsSimilarity.py", line 706, in getFeedlyData
for eid in sess.user.get_category(fk).stream_contents(opts):
File "C:\Users\hfakhrm\AppData\Local\Continuum\anaconda3\lib\site-packages\feedly\api_client\stream.py", line 160, in __iter__
resp = self._client.do_api_request(curl)
File "C:\Users\hfakhrm\AppData\Local\Continuum\anaconda3\lib\site-packages\feedly\api_client\session.py", line 187, in do_api_request
raise conn_error
File "C:\Users\hfakhrm\AppData\Local\Continuum\anaconda3\lib\site-packages\feedly\api_client\session.py", line 175, in do_api_request
resp = self.session.request(method, full_url, headers=headers, timeout=timeout, json=data)
File "C:\Users\hfakhrm\AppData\Roaming\Python\Python37\site-packages\requests\sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "C:\Users\hfakhrm\AppData\Roaming\Python\Python37\site-packages\requests\sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "C:\Users\hfakhrm\AppData\Roaming\Python\Python37\site-packages\requests\adapters.py", line 510, in send
raise ProxyError(e, request=request)
requests.exceptions.ProxyError: HTTPSConnectionPool(host='
feedly.com', port=443): Max retries exceeded with url: /v3/streams/contents?streamId=user%2F49467d31-dc59-45d1-82b0-b74f711e1dbc%2Fcategory%2F362ae958-e2b1-4029-adde-dbf7707fd2ff&count=20&ranked=newest&unreadOnly=False&newerThan=0&client=feedly.python.client (Caused by ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 407 Proxy Authentication Required')))
Any suggestion or comment would help me to fix this issue soon. Thanks David
Regards
Hoora