Pages: [1] 2 :: one page |
|
Author |
Thread Statistics | Show CCP posts - 6 post(s) |
Huetchen Hemah
Dune Cooperation - Industries and Technology
2
|
Posted - 2017.01.25 12:24:35 -
[1] - Quote
hey guys, i have some problems with the eve xml api for the last 2 days. until yesterday morning my website (php sites) works fine but now the requests stucks or i get an error message (the xml seems to be broken) or my php script runs into the script timeout. sometims i get up to ~50 successfull requests, sometimes ~150 if i try a single request in my browser, its allways okay
i use a delay between my request to obey the limit of 30 requests per second (i wait 75 milliseconds between each request)
apps like evedroid seems to work like always without any problems
what could be the reason of my problem? is the deploy to short? perhaps its a problem of my webserver (but it works fine on my webserver the last 9 months) any ideas? :/
fly safe H. Hemah |
Inactive Seller
Hedion University Amarr Empire
0
|
Posted - 2017.01.25 12:43:23 -
[2] - Quote
Is not yours, i have very similar problem getting broken results, and too my script work well some months before yesterday.
Selling some inactive pilots ...Goal : 36 for 15 feb 2017 at the moment 42 and
Selling Interceptor with PI and soon freighter
|
Huetchen Hemah
Dune Cooperation - Industries and Technology
2
|
Posted - 2017.01.25 15:28:19 -
[3] - Quote
sometimes i get this error message (i replace all personal information)
Warning: simplexml_load_file(): https://api.eveonline.com/char/PlanetaryRoutes.xml.aspx?keyID=11&vCode=11&characterID=11&planetid=1:26: parser error : Extra content at the end of the document in /home/pi.php on line 983
Warning: simplexml_load_file(): < /eveapi>< ! DOCTYPE html> in /home/pi.php on line 983
Warning: simplexml_load_file(): ^ in /home/pi.php on line 983
Warning: Invalid argument supplied for foreach() in /home/pi.php on line 988 |
FlexiusVII
OEG Freedom Among the Stars
0
|
Posted - 2017.01.25 15:54:43 -
[4] - Quote
Same problems: xml errors, scripts hanging, etc. Switched to curl, no problems atm.
Practice makes perfect.
|
Inactive Seller
Hedion University Amarr Empire
0
|
Posted - 2017.01.25 16:03:37 -
[5] - Quote
I am using curl to save the xml raw data in my server, and get problem with that.
Selling some inactive pilots ...Goal : 36 for 15 feb 2017 at the moment 42 and
Selling Interceptor with PI and soon freighter
|
FlexiusVII
OEG Freedom Among the Stars
0
|
Posted - 2017.01.25 16:11:28 -
[6] - Quote
Api errors are not a problem for me, since thrown exceptions will force script to retry several times (all those 'illegal request' thingies). The real problem using file was script hanging, lasting up to 10 minutes for a single member (backtracing showed something very weird).
Practice makes perfect.
|
Inactive Seller
Hedion University Amarr Empire
0
|
Posted - 2017.01.25 16:21:56 -
[7] - Quote
I have too the hangs..
Selling some inactive pilots ...Goal : 36 for 15 feb 2017 at the moment 42 and
Selling Interceptor with PI and soon freighter
|
Huetchen Hemah
Dune Cooperation - Industries and Technology
2
|
Posted - 2017.01.25 16:25:03 -
[8] - Quote
FlexiusVII wrote:Api errors are not a problem for me, since thrown exceptions will force script to retry several times (all those 'illegal request' thingies). The real problem using file was script hanging, lasting up to 10 minutes for a single member (backtracing showed something very weird). can u post a little example of ur code to retrieve data with curl?
perhaps i switch to that, but its a lot of work to change all of my php scripts :/ |
Inactive Seller
Hedion University Amarr Empire
0
|
Posted - 2017.01.25 16:31:53 -
[9] - Quote
Maybe them fix something now, my scipt run some moment ago 26+42 * 4 Curl request and no one simple error, first time in the last 24 hours.
26 accounts aprox 42 characters, 4 request, (char, queue, industry and assets)
Selling some inactive pilots ...Goal : 36 for 15 feb 2017 at the moment 42 and
Selling Interceptor with PI and soon freighter
|
FlexiusVII
OEG Freedom Among the Stars
0
|
Posted - 2017.01.25 16:34:56 -
[10] - Quote
Huetchen Hemah wrote:FlexiusVII wrote:Api errors are not a problem for me, since thrown exceptions will force script to retry several times (all those 'illegal request' thingies). The real problem using file was script hanging, lasting up to 10 minutes for a single member (backtracing showed something very weird). can u post a little example of ur code to retrieve data with curl? perhaps i switch to that, but its a lot of work to change all of my php scripts :/
I use PHEAL. You should not have any problems looking it up.
Practice makes perfect.
|
|
Huetchen Hemah
Dune Cooperation - Industries and Technology
2
|
Posted - 2017.01.26 08:29:06 -
[11] - Quote
FlexiusVII wrote:Huetchen Hemah wrote:FlexiusVII wrote:Api errors are not a problem for me, since thrown exceptions will force script to retry several times (all those 'illegal request' thingies). The real problem using file was script hanging, lasting up to 10 minutes for a single member (backtracing showed something very weird). can u post a little example of ur code to retrieve data with curl? perhaps i switch to that, but its a lot of work to change all of my php scripts :/ I use PHEAL. You should not have any problems looking it up. thx for ur help |
Whitney Aubaris
AWOLGamers
6
|
Posted - 2017.01.26 13:03:01 -
[12] - Quote
Inactive Seller wrote:I am using curl to save the xml raw data in my server, and get problem with that.
Any chance the data is being dumped into a MySQL database? |
Inactive Seller
Hedion University Amarr Empire
0
|
Posted - 2017.01.26 13:11:06 -
[13] - Quote
Yes i save in a database but previous i get the data, save to a file, and in a second step "eat" the file get via curl in the mysql database.
The problem is in their side because many of us having the same problems, and if the script is not altered in many months, is a change in their side.
By the way i can refresh via one account and via all accounts, because yesterday i got a sucessfull all accounts approach, not in a hurry for run it again, running instead one account when needed.
Selling some inactive pilots ...Goal : 36 for 15 feb 2017 at the moment 42 and
Selling Interceptor with PI and soon freighter
|
Whitney Aubaris
AWOLGamers
6
|
Posted - 2017.01.26 14:18:49 -
[14] - Quote
Inactive Seller wrote:Yes i save in a database but previous i get the data, save to a file, and in a second step "eat" the file get via curl in the mysql database.
The problem is in their side because many of us having the same problems, and if the script is not altered in many months, is a change in their side.
By the way i can refresh via one account and via all accounts, because yesterday i got a sucessfull all accounts approach, not in a hurry for run it again, running instead one account when needed. Can you post your code that creates the file? |
lost packet
Alpha Flight Almost Broken
99
|
Posted - 2017.01.26 15:35:32 -
[15] - Quote
Confirmed having problems with random timeouts access XML api.
Alpha Flight are recruiting pilots | Almost Broken are recruiting corporations
|
Inactive Seller
Hedion University Amarr Empire
0
|
Posted - 2017.01.26 17:10:39 -
[16] - Quote
Whitney Aubaris wrote:Inactive Seller wrote:Yes i save in a database but previous i get the data, save to a file, and in a second step "eat" the file get via curl in the mysql database.
The problem is in their side because many of us having the same problems, and if the script is not altered in many months, is a change in their side.
By the way i can refresh via one account and via all accounts, because yesterday i got a sucessfull all accounts approach, not in a hurry for run it again, running instead one account when needed. Can you post your code that creates the file?
function bringindustry($charid,$vcode,$keyid){ $url="https://api.eveonline.com/char/IndustryJobs.xml.aspx?keyID=$keyid&vcode=$vcode&characterid=$charid"; $ch = curl_init($url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_HEADER, 0);
// $response contains the XML response string from the API call $response = curl_exec($ch); curl_close($ch); file_put_contents("adam/$charid"."_industry.xml",$response); $pass =" Imported industry |"; echo $pass; return $pass; } // bringindustry
file_put_contents is the secret. This is a simplified version but must work
Selling some inactive pilots ...Goal : 36 for 15 feb 2017 at the moment 42 and
Selling Interceptor with PI and soon freighter
|
Huetchen Hemah
Dune Cooperation - Industries and Technology
2
|
Posted - 2017.01.26 21:56:12 -
[17] - Quote
Inactive Seller wrote:Whitney Aubaris wrote:Inactive Seller wrote:Yes i save in a database but previous i get the data, save to a file, and in a second step "eat" the file get via curl in the mysql database.
The problem is in their side because many of us having the same problems, and if the script is not altered in many months, is a change in their side.
By the way i can refresh via one account and via all accounts, because yesterday i got a sucessfull all accounts approach, not in a hurry for run it again, running instead one account when needed. Can you post your code that creates the file? function bringindustry($charid,$vcode,$keyid){ $url="https://api.eveonline.com/char/IndustryJobs.xml.aspx?keyID=$keyid&vcode=$vcode&characterid=$charid"; $ch = curl_init($url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_HEADER, 0); // $response contains the XML response string from the API call $response = curl_exec($ch); curl_close($ch); file_put_contents("adam/$charid"."_industry.xml",$response); $pass =" Imported industry |"; echo $pass; return $pass; } // bringindustry file_put_contents is the secret. This is a simplified version but must work thank u very much! i will change my site, but i hope CCP will fix the problems too |
Inactive Seller
Hedion University Amarr Empire
0
|
Posted - 2017.01.27 04:28:39 -
[18] - Quote
You are welcome.
These problems of hang up let me learn the micromagnamente of my pilots is a good part of the game for me. If not api probably i have very less accounts.
Selling some inactive pilots ...Goal : 36 for 15 feb 2017 at the moment 42 and
Selling Interceptor with PI and soon freighter
|
qu1ckkkk
The Warp Core Stabilizers Tactical Narcotics Team
35
|
Posted - 2017.01.27 08:48:56 -
[19] - Quote
Even though people are "solving" this by just trying again and/or handling exceptions, it doesn't mean the API is not a little sick at the moment. I have also noticed a considerably larger error rate in the last two days.
Proud developer of SeAT! A Simple Eve API & Corporation Management Tool.
Project Page:
https://github.com/eveseat/seat
|
Luc deMornie
Center for Advanced Studies Gallente Federation
0
|
Posted - 2017.01.28 12:15:55 -
[20] - Quote
Just to confirm some random problems with XML API calls. http://api.eve-online.com/account/APIKeyInfo.xml.aspx
returns: failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error
And when it returns something, it's very slow... |
|
Inactive Seller
Hedion University Amarr Empire
0
|
Posted - 2017.01.28 19:50:57 -
[21] - Quote
In situations as this, i begin to ask myself how many users / developers go to lose CCP Games for the ESI transition. In my point of view the little pet projects dont must need a whole new architercture to use. In my real life many of my work is making electronic interfaces for digital invoicing, sealed for and by my counntry IRS, and the process to do so is les complicated than the ESI.
Selling some inactive pilots ...Goal : 36 for 15 feb 2017 at the moment 42 and
Selling Interceptor with PI and soon freighter
|
Karer II
Legion of xXDEATHXx Support Legion of xXDEATHXx
514
|
Posted - 2017.01.29 08:01:24 -
[22] - Quote
I have same situation. A lot of requests ends by "HttpException (0x80004005): Request timed out." Seems like API server have problems in connection to internal data servers.
It's really annoying. |
Miss Kriss
Terminus Est Lost Squadron Infinity Space.
0
|
Posted - 2017.01.29 16:49:11 -
[23] - Quote
Karer II wrote:I have same situation. A lot of requests ends by "HttpException (0x80004005): Request timed out." Seems like API server have problems in connection to internal data servers.
It's really annoying.
Please, fix it. Such random errors is not best behavior of API.
|
|
CCP Bartender
C C P C C P Alliance
80
|
Posted - 2017.01.30 11:00:33 -
[24] - Quote
Hey all, we're aware that this is an issue and are looking into it. I have no further news at this point, unfortunately, more as it happens. |
|
Inactive Seller
Hedion University Amarr Empire
3
|
Posted - 2017.01.30 11:08:40 -
[25] - Quote
Thanks for answer CCP Bartender
Selling some inactive pilots ...Goal : 36 for 15 feb 2017 at the moment 42 and
Selling Interceptor with PI and soon freighter
|
|
CCP Bartender
C C P C C P Alliance
81
|
Posted - 2017.02.01 16:33:53 -
[26] - Quote
We made some config tweaks to try to smooth this out about 48 hours ago. Our graphs say it's been much more stable since then, but we're looking for external data before we declare it "solved".
What's everyones experience over the last 36 hours been like? |
|
Inactive Seller
Hedion University Amarr Empire
6
|
Posted - 2017.02.01 18:03:22 -
[27] - Quote
Less hangouts but some persists. Currently have a hangout with call to the standings api of one char, before run flawless around 60 api calls indusings some standings of other chars.
Selling some inactive pilots ...Goal : 36 for 15 feb 2017 at the moment 40 and
Selling Interceptor with PI and soon freighter
|
Andraea Sarstae
Circle of Steel Inc. Care Factor
23
|
Posted - 2017.02.02 01:06:05 -
[28] - Quote
Still having issues pulling data using jeveassets. Some accounts work, others do not. |
Bootleg Whammers
Zero Fun Allowed Re-Forged
8
|
Posted - 2017.02.02 15:41:01 -
[29] - Quote
Still no bueno - tons of failed pulls.
Started yesterday mid day for me - but hadn't tested in the morning. |
Andre Iv
Terra Supernova
0
|
Posted - 2017.02.02 15:43:42 -
[30] - Quote
No changes A lot of errors |
|
|
|
|
Pages: [1] 2 :: one page |
First page | Previous page | Next page | Last page |