question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error HTTPSConnectionPool(host='api.bitfinex.com', port=443): Max retries exceeded with url: /v1/credits

See original GitHub issue

Hi, I get this error quite frequently. Using Bitfinex.

 Unhandled error, please open a Github issue so we can fix it!
2017-10-04 06:28:06 Error HTTPSConnectionPool(host='api.bitfinex.com', port=443): Max retries exceeded with url: /v1/credits (Caused by NewConnectionError('<requests.packages.urllib3.connection.VerifiedHTTPSConnection object at 0x749dd970>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',)) Requesting https://api.bitfinex.com/v1/credits
Traceback (most recent call last):
  File "lendingbot.py", line 94, in <module>
    Lending.lend_all()
  File "/Desktop/bitfinex/modules/Lending.py", line 224, in lend_all
    total_lent = Data.get_total_lent()[0]
  File "/Desktop/bitfinex/modules/Data.py", line 44, in get_total_lent
    crypto_lent = api.return_active_loans()
  File "/Desktop/bitfinex/modules/Bitfinex.py", line 160, in return_active_loans
    bfx_resp = self._post('credits')
  File "/Desktop/bitfinex/modules/Bitfinex.py", line 116, in _post
    return self._request('post', payload['request'], signed_payload, verify)
  File "/Desktop/bitfinex/modules/ExchangeApi.py", line 29, in new_method
    return method(self, *arg, **kws)
  File "/Desktop/bitfinex/modules/Bitfinex.py", line 109, in _request
    raise ex

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Evanitocommented, Mar 18, 2018

Related: #617

1reaction
rnevetcommented, Dec 5, 2017

Can’t we just get Polo ip and then use it (some kind of caching?) ? so we don’t do too much DNS resolving?

Read more comments on GitHub >

github_iconTop Results From Across the Web

HTTPSConnectionPool Max retries exceeded - Stack Overflow
I've found that this error happens when some item in one of my views throws an exception. For example, when using the django...
Read more >
why to say "Max retries exceeded with url: /RestApi/v1 ...
SSLError: HTTPSConnectionPool(host='192.165.219.152', port=443): Max retries exceeded with url: /RestApi/v1/Authentication/RequestToken (Caused by ...
Read more >
SSLError(MaxRetryError('HTTPSConnectionPool(host=\'api ...
throwing error at second line. Error: 500 Internal Server Error ... port=443): Max retries exceeded with url: /session/token (Caused by ...
Read more >
Bitfinex | Cryptocurrency Exchange | Bitcoin Trading | Futures ...
ETH/USD 1,211.3 0.13% 1,232.1 1,205.2 21,200,951 USD USDt/USD 1.0008 0.00% 1.0009 1.0007 18,270,894 USD BTC/USD 16,830 0.05% 17,066 16,716 16,065,224 USD XRP/USD 0.34001 ‑0.98% 0.35353 0.33731...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found