These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

[EVEOTS] Eve Online Teamspeak 3 API Registration with PHP5 v1.8

First post
Author
0mni Ca
Brutor Tribe
Minmatar Republic
#181 - 2013-02-04 19:21:07 UTC  |  Edited by: 0mni Ca
0mni Ca wrote:
Great script, just have a few issues w/ the cron.

Getting these consistently about 5+ times a day:

API Connection could not be established.
An error occured probably due to the API server being down or taking too long to respond.
Error: API Date could not be read / parsed, original exception: Operation timed out after 10001 milliseconds with 0 bytes received [C29]

and

Warning: Failed to contact API CharacterInfo regarding character "IDIG- XXXXXXXX". (Error: API Date could not be read / parsed, original exception: Operation timed out after 10002 milliseconds with 0 bytes received) [C60]
Warning: Failed to contact API CharacterInfo regarding character "IDIG-XXXXXXX". (Error: API Date could not be read / parsed, original exception: Operation timed out after 10002 milliseconds with 0 bytes received) [C60]
WARNING: Job completed with errors: 4th of February 2013 3:40pm GMT

Any thoughts ?

I believe it may have had issues because of the outdated Pheal. The version that came with the package was:

public static $version = "0.0.14-dev";

But I updated to version:

public static $version = "0.1.8";

I will let you know if this fixes my problems.

EDIT:
I also update the TeamSpeak3 framework.

Version 1.1.12 was installed, but I updated to 1.1.18
MJ Maverick
Hybrid Industrial
#182 - 2013-02-07 03:54:09 UTC  |  Edited by: MJ Maverick
That Framework and Pheal [packaged with EVOTS] has been tested and approved to work with EVEOTS.

The errors you are experiencing are simply CCP not keeping up when you thrash them with queries. It happens, but instead of make the user unaware of this or letting the script die in a fire; it just tells you it's happened and carries on. It's very rarely the same people twice. So nothing to worry about.

I just prefer to have everything logged. Don't forget to "Like" :)
Elesil Daelwon Taranogas
Deep Core Mining Inc.
Caldari State
#183 - 2013-02-10 15:04:55 UTC
Hi@all

That is the New error

if I update with F5 then goes to register.

Debug: Getting your alliance ticker... Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 83 bytes) in .../httpdocs/ts3reg/pheal/PhealRowSet.php on line 52
MJ Maverick
Hybrid Industrial
#184 - 2013-02-10 16:33:55 UTC
I'm not sure what you mean but it looks like your servers memory limit isn't big enough to handle the alliance list. You should ask your host to allow you more memory.
Ryno Caval
Native Freshfood
Minmatar Republic
#185 - 2013-02-11 06:17:04 UTC
Our Alliance is getting the following error

An error occured: API Date could not be read / parsed, original exception: Operation timed out after 10000 milliseconds with 1848372 bytes received (Demanding resource, may be worth trying again) [352]

Any suggestions
MJ Maverick
Hybrid Industrial
#186 - 2013-02-11 13:16:02 UTC
I know I'm asking the obvious but you've made sure this isn't a one off?
Ryno Caval
Native Freshfood
Minmatar Republic
#187 - 2013-02-11 17:38:47 UTC
No everyone who has tried to register in the past couple of weeks has been getting this error I'm not sure if it is an error in the script side on the site or if its an error on the CCP side either way its proving a problem since we have had a few new corps join the alliance and the whole corporation hasn't been able to join the TS with permissions making it rather difficult to carry out daily operations
Ryno Caval
Native Freshfood
Minmatar Republic
#188 - 2013-02-11 17:40:27 UTC
i looked up the error code and from what i gather there is an issue with NATing and the site receiving the PING when a SPEEDY PACKET is sent to the site
MJ Maverick
Hybrid Industrial
#189 - 2013-02-11 23:32:07 UTC
First time I've heard of it TBH and no other reports of it. You sure your server has a healthy connection and nothing has changed with your host in the past few days?
Cyerus
University of Caille
Gallente Federation
#190 - 2013-02-12 01:14:04 UTC  |  Edited by: Cyerus
Ryno Caval wrote:
Our Alliance is getting the following error

An error occured: API Date could not be read / parsed, original exception: Operation timed out after 10000 milliseconds with 1848372 bytes received (Demanding resource, may be worth trying again) [352]

Any suggestions

Happens because of instability on CCP's side.
Lately the servers haven't been stable (at all), throwing HTTP 500's and time-outs.

Only way to catch this is to use Pheals error handling.
Unfortunately Maverick hasn't implemented this yet, and so you see PHP throwing an error that the XML can't be read (as the XML isn't an XML but a blank page or an HTTP 500 server error page).

As a sidenote I should mention that even though Maverick posted a link to verify the API server status in his starting post, you can't use it to guarantee anything. What I mean by that is that the HTTP 500's and time-outs appear randomly and without warning, so one second you'd receive the information you want, while doing the exact request seconds later could yield in an error.
MJ Maverick
Hybrid Industrial
#191 - 2013-02-12 21:09:27 UTC
Cyerus wrote:

As a sidenote I should mention that even though Maverick posted a link to verify the API server status in his starting post, you can't use it to guarantee anything. What I mean by that is that the HTTP 500's and time-outs appear randomly and without warning, so one second you'd receive the information you want, while doing the exact request seconds later could yield in an error.

This. It should only be used to see if the server is alive, not stable.
medoix
KarmaFleet
Goonswarm Federation
#192 - 2013-02-15 03:34:23 UTC
Ryno Caval wrote:
Our Alliance is getting the following error

An error occured: API Date could not be read / parsed, original exception: Operation timed out after 10000 milliseconds with 1848372 bytes received (Demanding resource, may be worth trying again) [352]

Any suggestions


Our TS3 Registration has been working flawlessly for the past few months and has only recently started failing on EVERY attempt with this exact problem. I turned Debugging on and it happens at this point "Debug: Getting your corp ticker..." Any ideas?
Ryno Caval
Native Freshfood
Minmatar Republic
#193 - 2013-02-15 08:35:56 UTC
It looks like CCP finally caught on to the API problem thank to everyone for the help :)
MJ Maverick
Hybrid Industrial
#194 - 2013-02-15 12:48:56 UTC
medoix
KarmaFleet
Goonswarm Federation
#195 - 2013-02-16 01:47:23 UTC  |  Edited by: medoix
MJ Maverick wrote:
So all is good with you two?


EDIT: I just fixed the issue for anyone else having it going forward.

The error i was getting was relating to 10 seconds timeout i then updated the Pheal library to latest and the error went to 20 seconds timeout, i then went in and changed the HTTP timeout option in PhealConfig.php to 60 seconds and all good.

This must happen when there are allot of Corporations as part of the Alliance in EvE and it is taking longer than 20 seconds to check every corp each time. The EvE BB TeamSpeak integration actually Caches the Corp List i believe to help speed this issue up.
cynobirduk
Call For IT
#196 - 2013-03-10 13:58:17 UTC
Hi!!

With this tool will it revoke access if a member leaves the Alliance/Corp and if so is this set by a cron job and if so what need to run?

Thanks
MJ Maverick
Hybrid Industrial
#197 - 2013-03-10 17:16:21 UTC
Yes, take a look at the readme, all files are explained.
TheCorporal Hakoke
Caldari Provisions
Caldari State
#198 - 2013-03-12 06:19:17 UTC
i have an issue i keep getting this error Error: Could not find you on the server, your nickname should be exactly 'FETTS Ogeko Ronuken'. Either that or you already have permissions. (Error: access to default group is forbidden [F25]) ... when i check i dont have the permission i have set in the config.
MJ Maverick
Hybrid Industrial
#199 - 2013-03-12 21:57:25 UTC
Are one of the permission groups you've set in config.php the default server group?
TheCorporal Hakoke
Caldari Provisions
Caldari State
#200 - 2013-03-14 01:50:07 UTC
No, I don't have those rights, I even uninstalled my team speak, and re-install and tried again, still nothing i even tried by setting a new identity to new name still same issue.