eve-seat / seat

SeAT 0x. [UNSUPPORTED]
https://github.com/eveseat/seat
MIT License
69 stars 37 forks source link

Corp key keeps getting deactivated #192

Closed smokie128 closed 10 years ago

smokie128 commented 10 years ago

My corp key keeps getting deactivated with an error 221: Illegal page request. I have checked that it is a valid full API key that doesn't expire, yet it will deactivate itself immediately after re-activation.

I'll try to attach some log files.

tail pheal_error.log Mon, 06 Oct 2014 19:01:49 +0000 [GET] 0.3623s https://api.eveonline.com/corp/Locations.xml.aspx?characterID=91790313&ids=1012535934232&keyID=2820388&vCode=redacted... "135: Owner is not the owner of all itemIDs or a non-existant itemID was passed in. If you are not trying to scrape the API, please ensure your input are valid locations associated with the key owner."

tail pheal_access.log Mon, 06 Oct 2014 19:35:25 +0000 [GET] 0.4146s https://api.eveonline.com/server/ServerStatus.xml.aspx Mon, 06 Oct 2014 19:40:26 +0000 [GET] 1.1782s https://api.eveonline.com/server/ServerStatus.xml.aspx Mon, 06 Oct 2014 19:41:07 +0000 [GET] 0.4318s https://api.eveonline.com/corp/AccountBalance.xml.aspx?characterID=91790313&keyID=2820388&vCode=... Mon, 06 Oct 2014 19:41:17 +0000 [GET] 0.3794s https://api.eveonline.com/corp/ContactList.xml.aspx?characterID=91790313&keyID=2820388&vCode=... Mon, 06 Oct 2014 19:41:23 +0000 [GET] 0.3733s https://api.eveonline.com/corp/Contracts.xml.aspx?characterID=91790313&keyID=2820388&vCode=... Mon, 06 Oct 2014 19:41:29 +0000 [GET] 0.3807s https://api.eveonline.com/corp/IndustryJobs.xml.aspx?characterID=91790313&keyID=2820388&vCode=... Mon, 06 Oct 2014 19:41:37 +0000 [GET] 0.7479s https://api.eveonline.com/corp/Standings.xml.aspx?characterID=91790313&keyID=2820388&vCode=...

tail laravel.log [2014-10-06 19:35:11] production.INFO: Started command seatscheduled:api-update-server {"src":"Seat\\Commands\\Scheduled\\EveServerUpdater"} [] [2014-10-06 19:40:12] production.INFO: Started command seatscheduled:api-update-server {"src":"Seat\\Commands\\Scheduled\\EveServerUpdater"} []

eve-seat commented 10 years ago

Yeah so what happens here I think is SeAT is very careful to not cause too many errors on the API server and get your IP completely blocked and as a protection against this, prefers to disable the key. What may have actually happened is a invalid XML got cached and is now there until the cachedUntil time expires.

This method of handling errors will get some love pretty soon™ :P

What you can do in the meantime is to clear all of the cached files in app/storage/cache/phealcache and re-enable the key and wait for the updates.

Lemme know if this helps.

smokie128 commented 10 years ago

Seems like the standings were the invalid XML file. Working fine so far. Thanks!