×

Notice

The forum is in read only mode.

API sending same state vectors in a loop

4 years 4 months ago #1238 by jbroutier
Hello,

Since yesterday at approximately 14:00 UTC I'm facing a weird bug when I query the API. It looks like the API returns the same sequence of state vectors for a while, then it updates, and returns a new sequence again for a while, etc. As if at times the same ADS-B data were processed in a loop.

Is an administrator aware of the problem ?

Thanks in advance.
4 years 4 months ago #1242 by jbroutier
Looks like the problem solved itself...
4 years 4 months ago #1243 by strohmeier
Apologies, we did have a hiccup on our speed layer. This is always temporary though and our batch layer / historical database is not affected.
4 years 4 months ago #1245 by gustaaf
Again data from the past. JAF44D has been landed in Brussels at 14:15. This query is made at 14:55. Also flight EWG1UP is already been arrived at the Belgian coast heading to the UK. Strange!!

opensky-network.org/api/states/all?lamin...6014&lomax=6.0659783

{"time":1598014480,"states":"3c6755","EWG1UP ","Germany",1598014475,1598014475,5.6473,50.916,7109.46,false,188.74,254.18,6.83,null,7391.4,"4105",false,0],["44d1c3","JAF44D ","Belgium",1598014477,1598014479,5.7161,50.7897,10972.8,false,225.7,305.54,0,null,11567.16,"1000",false,0}
4 years 4 months ago #1246 by jbroutier
I confirm that the problem is present again today.

I haven't found any solution to filter out invalid data on client side when this issue occurs. I tried to filter the data based on the timestamp of the last position/last contact update and ignore the data if a repetition occurs in the data, but it's a lost cause. The position of the aircraft is wrong for a given timestamp anyway.
4 years 3 months ago #1248 by Nigel
I was encountering this the other day also, I am currently getting accurate data in North America it seems.
4 years 3 months ago #1249 by gustaaf
Yesterday at 18:26 CET the following lines appeared on my API request:

{"time":1598200014,"states":"040156","ETH3750 ","Ethiopia",1598200007,1598200007,5.7571,50.8576,723.9,false,120.61,127.9,6.18,null,807.72,"3144",false,0}
{"time":1598200030,"states":"040156","ETH3750 ","Ethiopia",1598200007,1598200019,5.7571,50.8576,11277.6,false,120.61,127.9,6.18,null,807.72,"3144",false,0}
{"time":1598200044,"states":"040156","ETH3750 ","Ethiopia",1598200007,1598200019,5.7571,50.8576,11277.6,false,120.61,127.9,6.18,null,807.72,"3144",false,0}
{"time":1598200059,"states":"040156","ETH3750 ","Ethiopia",1598200007,1598200019,5.7571,50.8576,11277.6,false,120.61,127.9,6.18,null,807.72,"3144",false,0}
{"time":1598200075,"states":"040156","ETH3750 ","Ethiopia",1598200007,1598200019,5.7571,50.8576,11277.6,false,120.61,127.9,6.18,null,807.72,"3144",false,0}
{"time":1598200094,"states":"040156","ETH3750 ","Ethiopia",1598200007,1598200019,5.7571,50.8576,11277.6,false,120.61,127.9,6.18,null,807.72,"3144",false,0}
{"time":1598200110,"states":"040156","ETH3750 ","Ethiopia",1598200007,1598200019,5.7571,50.8576,11277.6,false,120.61,127.9,6.18,null,807.72,"3144",false,0}

This flight has been taken off from Maastricht (MST) airport at 17:50 CET. The first line shows an bar. altitude of 723,9 m, but 16 secs later the altitude is 11277,6 m. while true-track and velocity are the same. Even worse, all the following records are all the same. What is going wrong?

See also the tracklog at uk.flightaware.com/live/flight/ETH3750/h...20113.31703/tracklog
4 years 3 months ago #1250 by Nigel
Yeah, I've been getting some inconsistent replies from my requests, almost as if it's playing back what happened 30 minutes ago.

Although as mentioned, when I check the time stamp, it does give me the current time.
4 years 3 months ago #1251 by gustaaf
Let's wait for an answer and solution from Opensky network!!
4 years 3 months ago #1252 by gustaaf
Again strange sequences of API replies. Sometimes the alititude is null, sometimes 'on_ground' is true while the airplane is in the air, etc. Also a lot of repeats with different time stamps.
Can somebody from Opensky network reply to these messages?


{"time":1598341444,"states":"4ba892","THY6497 ","Turkey",1598341444,1598341444,5.7946,50.9359,251.46,false,71.49,212.66,-3.9,null,594.36,"1733",false,0}
{"time":1598341459,"states":"4ba892","THY6497 ","Turkey",1598341458,1598341459,5.7867,50.9281,190.5,false,69.64,212.63,-3.58,null,243.84,"1733",false,0}
{"time":1598341475,"states":"4ba892","THY6497 ","Turkey",1598341469,1598341474,5.7808,50.9223,137.16,false,69.64,212.63,-3.58,null,190.5,"6761",false,0}

{"time":1598341535,"states":"4ba892","THY6497 ","Turkey",1598341532,1598341533,5.761,50.9028,441.96,true,70.35,212.76,-3.58,null,495.3,"1733",false,0}

{"time":1598341565,"states":"4ba892","THY6497 ","Turkey",1598341564,1598341564,5.758,50.9005,null,true,4.89,222.19,null,null,null,"1733",false,0}
{"time":1598341580,"states":"4ba892","THY6497 ","Turkey",1598341579,1598341579,5.7586,50.9004,null,false,71.49,212.66,-3.58,null,null,"1733",false,0}

{"time":1598341670,"states":"4ba892","THY6497 ","Turkey",1598341668,1598341668,5.7683,50.9101,null,true,23.15,30.94,null,null,null,"1733",false,0}
{"time":1598341684,"states":"4ba892","THY6497 ","Turkey",1598341668,1598341684,5.7683,50.9101,266.7,true,71.93,212.44,-3.58,null,null,"1733",false,0}
{"time":1598341699,"states":"4ba892","THY6497 ","Turkey",1598341694,1598341694,5.796,50.9372,259.08,false,71.49,212.66,-3.9,null,320.04,"1733",false,0}
{"time":1598341715,"states":"4ba892","THY6497 ","Turkey",1598341694,1598341711,5.796,50.9372,243.84,false,71.06,212.88,-3.58,null,297.18,"1733",false,0}
{"time":1598341734,"states":"4ba892","THY6497 ","Turkey",1598341694,1598341711,5.796,50.9372,243.84,false,71.06,212.88,-3.58,null,297.18,"1733",false,0}
{"time":1598341749,"states":"4ba892","THY6497 ","Turkey",1598341694,1598341711,5.796,50.9372,243.84,false,71.06,212.88,-3.58,null,297.18,"1733",false,0}
{"time":1598341764,"states":"4ba892","THY6497 ","Turkey",1598341694,1598341711,5.796,50.9372,243.84,false,71.06,212.88,-3.58,null,297.18,"1733",false,0}
{"time":1598341780,"states":"4ba892","THY6497 ","Turkey",1598341694,1598341711,5.796,50.9372,243.84,false,71.06,212.88,-3.58,null,297.18,"1733",false,0}
{"time":1598341795,"states":"4ba892","THY6497 ","Turkey",1598341694,1598341711,5.796,50.9372,243.84,false,71.06,212.88,-3.58,null,297.18,"1733",false,0}
{"time":1598341809,"states":"4ba892","THY6497 ","Turkey",1598341694,1598341711,5.796,50.9372,243.84,false,71.06,212.88,-3.58,null,297.18,"1733",false,0}
{"time":1598341825,"states":"4ba892","THY6497 ","Turkey",1598341694,1598341711,5.796,50.9372,243.84,false,71.06,212.88,-3.58,null,297.18,"1733",false,0}
{"time":1598341840,"states":"4ba892","THY6497 ","Turkey",1598341694,1598341711,5.796,50.9372,243.84,false,71.06,212.88,-3.58,null,297.18,"1733",false,0}
{"time":1598341854,"states":"4ba892","THY6497 ","Turkey",1598341694,1598341711,5.796,50.9372,243.84,false,71.06,212.88,-3.58,null,297.18,"1733",false,0}
{"time":1598341870,"states":"4ba892","THY6497 ","Turkey",1598341694,1598341711,5.796,50.9372,243.84,false,71.06,212.88,-3.58,null,297.18,"1733",false,0}
{"time":1598341885,"states":"4ba892","THY6497 ","Turkey",1598341694,1598341711,5.796,50.9372,243.84,false,71.06,212.88,-3.58,null,297.18,"1733",false,0}
{"time":1598341899,"states":"4ba892","THY6497 ","Turkey",1598341694,1598341711,5.796,50.9372,243.84,false,71.06,212.88,-3.58,null,297.18,"1733",false,0}
{"time":1598341914,"states":"4ba892","THY6497 ","Turkey",1598341694,1598341711,5.796,50.9372,243.84,false,71.06,212.88,-3.58,null,297.18,"1733",false,0}
{"time":1598341930,"states":"4ba892","THY6497 ","Turkey",1598341694,1598341711,5.796,50.9372,243.84,false,71.06,212.88,-3.58,null,297.18,"1733",false,0}
{"time":1598341944,"states":"4ba892","THY6497 ","Turkey",1598341694,1598341711,5.796,50.9372,243.84,false,71.06,212.88,-3.58,null,297.18,"1733",false,0}
{"time":1598341960,"states":"4ba892","THY6497 ","Turkey",1598341694,1598341711,5.796,50.9372,243.84,false,71.06,212.88,-3.58,null,297.18,"1733",false,0}
{"time":1598341975,"states":"4ba892","THY6497 ","Turkey",1598341694,1598341711,5.796,50.9372,243.84,false,71.06,212.88,-3.58,null,297.18,"1733",false,0}
{"time":1598341994,"states":"4ba892","THY6497 ","Turkey",1598341694,1598341711,5.796,50.9372,243.84,false,71.06,212.88,-3.58,null,297.18,"1733",false,0}
{"time":1598342009,"states":"4ba892","THY6497 ","Turkey",1598341694,1598341711,5.796,50.9372,243.84,false,71.06,212.88,-3.58,null,297.18,"1733",false,0}
{"time":1598342024,"states":"4ba892","THY6497 ","Turkey",1598341694,1598341711,5.796,50.9372,243.84,false,71.06,212.88,-3.58,null,297.18,"1733",false,0}
4 years 3 months ago #1253 by strohmeier
As mentioned on our Twitter, we are having some load issues with the speed layer that powers the API. So, some trajectories are out of date as you have noticed. We are working on fixing this of course but as a volunteer organisation, this can take time. All is delivered at a best effort, with the usual guarantees that you get for a free product. NB: Our historical database is unaffected by this.
The following user(s) said Thank You: jbroutier, Nigel
4 years 3 months ago #1254 by gustaaf
Thank you. I have no twitter account, so I missed that.
Powered by Kunena Forum
This website uses cookies to offer you the best experience of our services. By using this website you agree to our privacy policy!