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 in module cancelAndLoanAll

See original GitHub issue

Actually I get the following errors:

Traceback (most recent call last): File "C:\poloniexlendingbot-master\lendingbot.py", line 459, in <module> cancelAndLoanAll() 
File "C:\poloniexlendingbot-master\lendingbot.py", line 319, in cancelAndLoanAll loans = bot.returnLoanOrders(activeCur, loanOrdersRequestLimit[activeCur] ) 
File "C:\poloniexlendingbot-master\poloniex.py", line 161, in returnLoanOrders return self.api_queryereturnLoanOrders'Xcurrency":currency,
File "C:\poloniexlendingbot-master\poloniex.py", line 45, in api_query ret = urllib2.urlopen(urllib2.Request(reqUr1)) 
File "C:\Python27\lib\urllib2.py", line 154, in urlopen return opener.open(url, data, timeout) 
File "C:\Python27\lib\urllib2.py", line 437, in open response = meth(req, response) 
File "C:\Python27\lib\urllib2.py", line 550, in http_response 'http', request, response, code, msg, hdrs) 
File "C:\Python27\lib\urllib2.py", line 475, in error return self._call_chain(*args) 
File "C:\Python27\lib\urllib2.py", line 409, in _call_chain result = func(*args) 
File "C:\Python27\lib\urllib2.py", line 558, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) 
HTTPError: HTTP Error 521: Origin Down 

And i’m not sure if I should worry about or what have I config wrong.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
rnevetcommented, Jul 6, 2016

That’s not the same error, the one fixed is the Http error 521.

1reaction
rnevetcommented, Jul 5, 2016

I’ve been looking into this issue, poloniex support suggested that it happens because of “http” instead of “https” calls.

I created a fix branch here: https://github.com/Mikadily/poloniexlendingbot/tree/error521

Please give feedback if that fixes the issue for you.

This will also display the error messages in the HTML log.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error linking module in ocaml - string - Stack Overflow
I want to include the module in the ml file because I have to in the end link 3 cmo's to get the...
Read more >
Error: Access violation at 02271d4a in module observerdll.dll ...
I am using Delphi 5, SAP DI API for SAP 2004. On a users machine, when we try to connect, we get an...
Read more >
Error: Unbound module Core : r/ocaml - Reddit
Also, the file .ocamlinit is empty. Now, when I launch the ocaml repl and want to load the Core module, I get the...
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