Author

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

legendary
Activity: 1190
Merit: 1004
August 07, 2011, 03:39:39 PM
#5
When I tried the user-agent it failed.  Huh
sr. member
Activity: 431
Merit: 251
August 07, 2011, 12:59:55 AM
#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: 1025
August 07, 2011, 12:44:09 AM
#3
Try adding a user agent to the curl options.
legendary
Activity: 2128
Merit: 1065
August 05, 2011, 08: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, 05: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: