nba_api icon indicating copy to clipboard operation
nba_api copied to clipboard

ConnectionRefusedError: [WinError 10061], urllib3.exceptions.NewConnectionError, urllib3.exceptions.MaxRetryError, requests.exceptions.ProxyError

Open robert-loera opened this issue 3 years ago • 2 comments

https://stackoverflow.com/questions/67751341/api-connectionrefusederror-winerror-10061-works-on-jupyter-not-pycharm

robert-loera avatar May 29 '21 12:05 robert-loera

@robert-loera: Looked at your Stack Overflow question. I'm not certain why you are using a proxy on 127.0.0.1:80 which is your localhost unless you are attempting to somehow try to do something with the traffic. Can you expand your scenario and what proxy you are using? Happy to try to replicate.

rsforbes avatar Nov 14 '21 21:11 rsforbes

I had the same issue and just removed the custom_headers and proxy parameters. I believe the issue was following straight from https://github.com/swar/nba_api/blob/master/docs/nba_api/stats/examples.md which included those.

cburnham4 avatar Nov 29 '21 13:11 cburnham4