Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MTGOX Ticker 403 Error Since Yesterday #118

Closed
nemercry opened this issue May 16, 2013 · 2 comments
Closed

MTGOX Ticker 403 Error Since Yesterday #118

nemercry opened this issue May 16, 2013 · 2 comments

Comments

@nemercry
Copy link

Hello there folks,

i get this error since yesterday and i didnt change anything at the programm. How cna i change this and where does it come from, due that i did not make any changes.

15:02:10.397 [default] [main] DEBUG si.mazi.rescu.HttpTemplate - Executing GET request at http://data.mtgox.com/api/1/BTCUSD/ticker?raw
15:02:10.397 [default] [main] TRACE si.mazi.rescu.HttpTemplate - Request body =
15:02:10.397 [default] [main] TRACE si.mazi.rescu.HttpTemplate - Request headers = {Accept=application/json, Content-Type=application/x-www-form-urlencoded}
15:02:10.398 [default] [main] TRACE si.mazi.rescu.HttpTemplate - Header request property: key='Accept-Charset', value='UTF-8'
15:02:10.398 [default] [main] TRACE si.mazi.rescu.HttpTemplate - Header request property: key='User-Agent', value='ResCU JDK/6 AppleWebKit/535.7 Chrome/16.0.912.36 Safari/535.7'
15:02:10.398 [default] [main] TRACE si.mazi.rescu.HttpTemplate - Header request property: key='Content-Type', value='application/x-www-form-urlencoded'
15:02:10.398 [default] [main] TRACE si.mazi.rescu.HttpTemplate - Header request property: key='Accept', value='application/json'
15:02:10.412 [default] [main] DEBUG si.mazi.rescu.HttpTemplate - Request http status = 403
There was an error at Update Market Data Service.

@timmolter
Copy link
Member

This is a classic MtGox move. They change their API almost weekly it seems, breaking everyone's apps. I have verified this 403 response. I've found that using the V2 API in XChnage for MtGox works fine for the ticker. Addmittedly, V2 is still under development in XChange and the account and trade APIs still have an authentication issue.

My suggestion for a quick fix is to use the V2 api using the latest snapshot jars of XChange. I think moving forward, we just need to deprecate V0 and V1 and focus efforts on V2.

timmolter referenced this issue in pilotniq/XChange May 16, 2013
BTC-e and MtGox Tests were locale-dependent and would fail on non-US locales.
One of the test error messages was wrong.
@timmolter
Copy link
Member

Implemented MtGox V2 polling API: marketdata, account info, and trading!

Changes committed and pushed.

Snapshots deployed.

To stay up to date with the latest information regarding API changes: https://twitter.com/Xeiam

zsombok pushed a commit to BAXTER-IT/abos-knowm that referenced this issue Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants