mylilpenguin / procurement

Automatically exported from code.google.com/p/procurement
0 stars 0 forks source link

error 500 #70

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. log-in

What is the expected output? What do you see instead?
pancreatic_duct is my char on Domination, its inventary is completely emply

1st pic - if i try login
http://i5.5cm.ru/i/2nGm.png

2nd - if i press "offline" button
http://i3.5cm.ru/i/Doen.png

What version of the product are you using? On what operating system?
0.0.9  w7 x64

Please provide any additional information below.

Original issue reported on code.google.com by squiddy...@gmail.com on 8 Nov 2013 at 9:50

GoogleCodeExporter commented 8 years ago
forgot debuginfo

Original comment by squiddy...@gmail.com on 8 Nov 2013 at 9:51

Attachments:

GoogleCodeExporter commented 8 years ago
Same problem. Any fix ?

Original comment by ianbertr...@gmail.com on 9 Nov 2013 at 5:38

GoogleCodeExporter commented 8 years ago
It seems the error is related to Dominion league. 
It loaded all of my characters except Scion from Dominion. 
Attaching a log when the 500 Internal Server Error happens.
(not sure though that this is procurement-only issue, maybe GGG changed 
something in the API?)

Original comment by nehn...@gmail.com on 10 Nov 2013 at 10:37

Attachments:

GoogleCodeExporter commented 8 years ago
same thing here. it only crashes on my scion inventory

Original comment by ozzyf...@gmail.com on 12 Nov 2013 at 2:44

GoogleCodeExporter commented 8 years ago
I am having the same issue, except it gives me the error on my templar in 
domination. I have the latest version. Hoping for a fix, wanna try this program 
out, it looks great.

Original comment by TheBobve...@gmail.com on 12 Nov 2013 at 10:32

GoogleCodeExporter commented 8 years ago
We are looking at this, but it's going to be tricky to track down. 500 Internal 
Server Error is an error on GGG's end, it basically means that Procurement 
tried to fetch something, and GGG's server returned a 500 error.

From GGG's (limited) league api docs, their description for 500 errors is "We 
had a problem processing your request. Please try again later or post a bug 
report."

There's not much we can do to prevent the server returning an error 500, but 
what we will do is add in a retry, so that if a request fails with erorr 500, 
it will try to fetch it again, if that still fails, it will log some additional 
info so we can look into it further.

Original comment by stickymaddness on 15 Nov 2013 at 10:07

GoogleCodeExporter commented 8 years ago
Issue 56 has been merged into this issue.

Original comment by stickymaddness on 15 Nov 2013 at 10:23

GoogleCodeExporter commented 8 years ago
We've added error handling for the 500 errors. Essentially there is nothing we 
can do to prevent the GGG servers returning 500 errors, however Procurement 
will now handle the error, and instead of crashing it will allow the update to 
complete, and you'll be able to use Procurement.

If you get a 500 error, instead of showing [OK] when retrieving a characters 
inventory, it will show [ER], this means that GGG returned an error 500, so 
that characters inventory will be empty in Procurement.

Original comment by stickymaddness on 16 Nov 2013 at 10:00