Pages: [1] :: one page |
|
Author |
Thread Statistics | Show CCP posts - 8 post(s) |
Excellion
Nexus Mercator
7
|
Posted - 2016.03.09 19:37:23 -
[1] - Quote
I have been using the authenticated CREST API for over a month now to set waypoints for my characters. Usually this works entirely fine, but some evenings the only navigation API responses that crest returns are "502 Bad Gateway" errors.
HTTP/1.1 502 Bad Gateway Server: nginx/1.2.0 Date: Wed, 09 Mar 2016 19:24:22 GMT Content-Type: application/json; charset=utf-8 Transfer-Encoding: chunked Connection: keep-alive X-Cache-Status: BYPASS
Gateway error communicating with EVE proxy
I ran into this issue a handful of times now and every time it appears that the problem itself just disappears the next day or the day after without any modifications to my own application. I can connect just fine to https://crest-tq.eveonline.com, and (deliberately) passing an incorrect authorization bearer will yield the expected "Invalid authorization" error. Only when the bearer is correct and the request is passed to the navigation API it will return above responses (Tested this both in my own code and in SoapUI).
Public crest on the other hand works like a charm when this issue pops up. I suspect this is just an infrequent issue with crest itself by now but i am wondering if anyone else is running into this when using the navigation endpoint? |
Taris Atram
Open University of Celestial Hardship Art of War Alliance
0
|
Posted - 2016.03.23 03:29:34 -
[2] - Quote
I started getting these tonight as well, hitting random authenticated endpoints on crest-tq. I know I'm not doing anything even close to the rate limit. At this point, I'm assuming it is something wrong with gateway proxy on CCP's side, they have been having issues with it as of late from what I understand.
I can't find too many mentions of 502 errors in any CREST related posts on the forum. |
Pete Butcher
KarmaFleet Goonswarm Federation
322
|
Posted - 2016.03.23 07:53:57 -
[3] - Quote
Taris Atram wrote:I can't find too many mentions of 502 errors in any CREST related posts on the forum.
Welcome to the world of CREST:
https://forums.eveonline.com/default.aspx?g=posts&m=6388293#post6388293 https://forums.eveonline.com/default.aspx?g=posts&m=6155371#post6155371 https://forums.eveonline.com/default.aspx?g=posts&m=6145624#post6145624 https://forums.eveonline.com/default.aspx?g=posts&m=6396832#post6396832
http://evernus.com - the ultimate multiplatform EVE trade tool + nullsec Alliance Market tool + Trade Advisor
|
Ken Bekle
The Scope Gallente Federation
1
|
Posted - 2016.03.30 10:26:43 -
[4] - Quote
If I am lucky, my CREST access runs once per 24 hour period without a 502.
|
Ken Bekle
The Scope Gallente Federation
1
|
Posted - 2016.03.30 22:35:10 -
[5] - Quote
Are there any actions one can take to increase chance of not getting a 502 on Market Import functionality of CREST? |
Rtg Quack
xell network seven V.e.G.A.
0
|
Posted - 2016.04.07 19:42:30 -
[6] - Quote
Bump.
Same for me. Only getting 502 bad gateway if loggen on the Eve Client. If not I never run into the problem.
Weird. Any solution available? |
Squizz Caphinator
Primary.
187
|
Posted - 2016.04.08 14:41:23 -
[7] - Quote
Ken Bekle wrote:Are there any actions one can take to increase chance of not getting a 502 on Market Import functionality of CREST?
Retry with a few seconds pause until you get a proper answer. This is literally the approach I take on zKillboard. In a 5 minute time span I can have anywhere from 200-1000 CREST requests with about a 0.1% error rate.
https://github.com/zKillboard/zKillboard/blob/master/classes/CrestTools.php#L18-L39
Various projects I enjoy putting my free time into:
http://zkillboard.com | http://evewho.com
|
KenFlorian
Jednota Inc
39
|
Posted - 2016.04.09 12:10:26 -
[8] - Quote
Thanks, Squizz! |
Rtg Quack
xell network seven V.e.G.A.
0
|
Posted - 2016.04.12 18:28:09 -
[9] - Quote
Hi Squizz , Thanks for the hint.
Unfortunately it does not help in my case, gave it a lot of tries in the last days.
The authed CREST behaviour seems pretty reproducable.
- Login against EVE-outh2 is reliable, works fine in all cases.
- If using then my application without running Eve client, no problems, never got the 502/bad Gateway message
- If logging in to Eve client I have a 50% chance of getting 502/bad Gateway messages afterwards
- First login to Eve client then to my application I have a chance of >75% of getting 502/bad Gateway
- Keep logged in with my application but logoff / logon the Eve client often fix the issue with a high likeliness
I'm open to any suggestion, have not the faintest clue on how to fix that. |
|
CCP FoxFour
C C P C C P Alliance
4284
|
Posted - 2016.04.13 14:26:48 -
[10] - Quote
I don't have much to say about this except that I have made some very major changes to the CREST backend that will be coming with the citadel release. I hope that it will address many of these issues. :(
@CCP_FoxFour // Technical Designer // Team Tech Co
Third-party developer? Check out the official developers site for dev blogs, resources, and more.
|
|
|
Omniscient Fury
KarmaFleet Goonswarm Federation
0
|
Posted - 2016.04.20 07:26:02 -
[11] - Quote
CCP FoxFour wrote:I don't have much to say about this except that I have made some very major changes to the CREST backend that will be coming with the citadel release. I hope that it will address many of these issues. :(
Can you confirm that Rtg's behaviour above is expected or a bug that's fixed in the Citadel release you mentioned? I'm seeing identical behaviour; if the EVE client is open and logged in then that user cannot authenticate via CREST in my web application (or using the IGB, ironically). |
|
CCP FoxFour
C C P C C P Alliance
4291
|
Posted - 2016.04.25 08:22:14 -
[12] - Quote
Omniscient Fury wrote:CCP FoxFour wrote:I don't have much to say about this except that I have made some very major changes to the CREST backend that will be coming with the citadel release. I hope that it will address many of these issues. :( Can you confirm that Rtg's behaviour above is expected or a bug that's fixed in the Citadel release you mentioned? I'm seeing identical behaviour; if the EVE client is open and logged in then that user cannot authenticate via CREST in my web application (or using the IGB, ironically).
I cannot as I cannot reproduce that and it should NOT be possible.
@CCP_FoxFour // Technical Designer // Team Tech Co
Third-party developer? Check out the official developers site for dev blogs, resources, and more.
|
|
Omniscient Fury
KarmaFleet Goonswarm Federation
0
|
Posted - 2016.04.25 23:47:47 -
[13] - Quote
CCP FoxFour wrote:Omniscient Fury wrote:CCP FoxFour wrote:I don't have much to say about this except that I have made some very major changes to the CREST backend that will be coming with the citadel release. I hope that it will address many of these issues. :( Can you confirm that Rtg's behaviour above is expected or a bug that's fixed in the Citadel release you mentioned? I'm seeing identical behaviour; if the EVE client is open and logged in then that user cannot authenticate via CREST in my web application (or using the IGB, ironically). I cannot as I cannot reproduce that and it should NOT be possible. Do you have any suggestion as to how to troubleshoot this? There's two people in this thread and two more in the other one that are having this issue.
I get a 502 bad gateway returned if the EVE client is open and so do all of my users. |
Lquid Drisseg
KarmaFleet Goonswarm Federation
9
|
Posted - 2016.04.28 20:13:09 -
[14] - Quote
+1 for Same CREST issue as described above.
CCP FoxFour wrote:... it should NOT be possible. It will never get fixed while your thinking like that.
Steps to reproduce:
1. Install develop build of Pathfinder. 2. Install Pathfinder correctly. 3. Configure Crest Logins and create a proper Crest application with the 2 scopes Pathfinder uses. 4. Login to EveOnline with the character you plan on logging into Pathfinder with. 5. Try to login via SSO in Pathfinder. 6. Experience 502 error 7. Logout of Eve with the character. 8. Try logging into Pathfinder via SSO. 9. It magically works.
This exact process has been confirmed with many different people/characters over multiple days and in multiple corporations. If you are logged into eve with the character you are trying to get data from crest with, its very likely that Crest will 502 error when you try to hit /decode. |
|
CCP FoxFour
C C P C C P Alliance
4292
|
Posted - 2016.04.29 03:49:48 -
[15] - Quote
HOLY ******* ****! JHAGSDUYASTD&*AS*D^ASD&*ASDGASD
Carbon Alabel was able to give me a reproducible test case and I finally have a working theory on why this is happening and why it happens on TQ but not Sisi or local test servers and why it was so hard to track down. I need to wait for the network admins to get into the office, turns out sane people are not awake at 0345 to answer questions about work.
IF this theory proves good I have an idea on how to fix it. The code fix wont ship until Tuesday next week at the earliest since that is the next deployment time for non-critical things but I may be able to convince people to make a change to our network configs today if this theory proves out.
Holy ******* ****... FAH P*HF*YHAUIDS!!!!!!!!!
p.s. always match your test environments to production
@CCP_FoxFour // Technical Designer // Team Tech Co
Third-party developer? Check out the official developers site for dev blogs, resources, and more.
|
|
Carbon Alabel
The Alabaster Albatross Sev3rance
11
|
Posted - 2016.04.29 07:17:58 -
[16] - Quote
I'm pretty sure that it was only reproducible by accident, but yay! Hope you got this nailed down |
|
CCP FoxFour
C C P C C P Alliance
4296
|
Posted - 2016.04.29 15:21:01 -
[17] - Quote
I hereby declare 502's caused by being logged in as fixed. Please correct me if I am wrong.
@CCP_FoxFour // Technical Designer // Team Tech Co
Third-party developer? Check out the official developers site for dev blogs, resources, and more.
|
|
Omniscient Fury
KarmaFleet Goonswarm Federation
0
|
Posted - 2016.05.01 04:56:33 -
[18] - Quote
CCP FoxFour wrote:I hereby declare 502's caused by being logged in as fixed. Please correct me if I am wrong.
Thanks! So very much appreciated. Sorry for my terrible reporting/brain dumping, it was one thing on a very long list (and I assumed I was just being bad).
Thanks again. |
|
CCP FoxFour
C C P C C P Alliance
4298
|
Posted - 2016.05.01 07:35:19 -
[19] - Quote
Omniscient Fury wrote:CCP FoxFour wrote:I hereby declare 502's caused by being logged in as fixed. Please correct me if I am wrong. Thanks! So very much appreciated. Sorry for my terrible reporting/brain dumping, it was one thing on a very long list (and I assumed I was just being bad). Thanks again.
No thank you. Thank you for reporting it, giving details, being persistent, all of it. Some of these things are incredibly hard to track down and it helps to have threads like this.
@CCP_FoxFour // Technical Designer // Team Tech Co
Third-party developer? Check out the official developers site for dev blogs, resources, and more.
|
|
Rtg Quack
xell network seven V.e.G.A.
0
|
Posted - 2016.05.06 19:10:05 -
[20] - Quote
Congrats, +1, like, whatoever, you nailed him down.
Thanks and a big hug for that.
Now I have to take the next step, the /characters endpoint seems to be gone. Or at least it became invisble for me. I'll get into detail on a dedicated thread (still open).
|
|
|
|
|
Pages: [1] :: one page |
First page | Previous page | Next page | Last page |