Author

Topic: MtGox API fails with trading bot. (Read 1547 times)

legendary
Activity: 1190
Merit: 1004
August 07, 2011, 02:39:39 PM
#5
When I tried the user-agent it failed.  Huh
sr. member
Activity: 431
Merit: 251
August 06, 2011, 11:59:55 PM
#4
As others have said, adding the user agent string should do the trick.

Also, posted an answer on your SO question Smiley
kjj
legendary
Activity: 1302
Merit: 1026
August 06, 2011, 11:44:09 PM
#3
Try adding a user agent to the curl options.
legendary
Activity: 2128
Merit: 1073
August 05, 2011, 07:51:19 PM
#2
This is easy. Make the bot send HTTP headers exactly as the browser that you use on your computer. MtGox uses some DDoS protection that is very sensitive to the content and order of the HTTP headers. What exactly needs to be done changes dynamically with the DDoS attack signatures that are going on from zombie computers in your network neighbourhood.
legendary
Activity: 1190
Merit: 1004
August 05, 2011, 04:32:47 PM
#1
http://stackoverflow.com/questions/6959167/libcurl-timeouts-on-urls-which-are-working-in-my-webbrowser/6962850#6962850

But tradehill is fine. I was trying all day to figure out why. I have no clue.
Jump to: