Error: <urlopen error [Errno 54] Connection reset by peer>
See original GitHub issueI am getting “Error: <urlopen error [Errno 54] Connection reset by peer>” when making a simple get request. Python 2.7 and ShopifyAPI 3.1.0.
I have tried make the request using requests library and I was receiving the same error. After install requests[security], I could make the request using requests library.
So probably it’s a SSL issue.
shop_url = u"https://%s:%s@subscribe-and-save-2.myshopify.com" % (u"XXX", u"XXX")
shopify.ShopifyResource.set_site(shop_url)
shop = shopify.Shop.current()
print shop
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:6
Top Results From Across the Web
python - Python3 Connection reset by peer - Stack Overflow
URLError urlopen error [Errno 54] Connection reset by peer ... An auto-bot detection mechanism is most likely dropping your connection.
Read more >URLError: <urlopen error [Errno 54] Connection reset by peer ...
It seems like a network error which can be caused by many problems. I'd suggest to try to run the command again, and...
Read more >[Errno 54] Connection reset by peer - API Issues
Hi, We are trying to scrape company numbers from director IDs with the API, but keep getting these below errors after it runs...
Read more >ConnectionResetError: Errno 54 Connection reset by peer
This message indicates the remote site - here, the client, your browser - reset the connection before the response could be fully sent....
Read more >[Errno 54] Connection reset by peer - Python Forum
When executing the code the script stops with the error message "[Errno 54] Connection reset by peer" at the pd.read_csv line.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
What’s the status with this? Was this ever addressed?
I’m facing the same issue, I tried to call the URL from the postman and it works. I’m working on Python 3.5.