Get the Desktop App for Battle.net Now
- All your games in 1 place
- Log in once
- Automatic game updates
I'm implementing a java library to query the armory and so far everything was just fine, but today I noticed failures while running my tests against the EU API servers. Querying the artisan data, every 4-5 requests the answer seems to be corrupt, taking up more than twice the bandwidth and having shifting patterns in the data. The header pretends that everything is fine as there is no difference from a normal request, I get 200 as a status code but right after that it all goes wrong. The items seem to be coming out in a different order and the nesting is wrong. It does not matter whether the request is via HTTP or HTTPS, the error occurs on both. This error does not happen on the US api for now. Querying followers or careers seems to be working just fine.
As I'm using Jackson to parse the data into a bean, this error blows up everything. The itemProduced seems to be the problem as there is a recipe nested in it which should not be there.
Here is the short version with the problematic variable:
For further study of the error I also uploaded the whole log file I produced (too big for pastebin):
I hope you can make use of this to pin down the error.
Threats of violence. We take these seriously and will alert the proper authorities.
Posts containing personal information about other players. This includes physical addresses, e-mail addresses, phone numbers, and inappropriate photos and/or videos.
Harassing or discriminatory language. This will not be tolerated.