Site
Home / Forum / Developers / Livescore

Livescore


Posted: 17 Feb 2021 20:48
MaximeGo31
Posts: 64
Joined: 2020-08-13

Hi,
When I query the results live, at times it returns an empty list to me, while there are live matches. By refreshing once or twice the problem is solved. Do you have any idea why it does this, or how to fix it?

PS: I use the livescore v2
Thank you in advance,
Maxime

Posted: 17 Feb 2021 21:06

zag
Posts: 3,329
Joined: 2020-03-23

Hi,
When I query the results live, at times it returns an empty list to me, while there are live matches. By refreshing once or twice the problem is solved. Do you have any idea why it does this, or how to fix it?

PS: I use the livescore v2
Thank you in advance,
Maxime


Yes I have seen this also (but quite rare) and checked the code, basically it happens when the source of our livescore does not respond or lacks data. It will auto fix itself after 2mins usually.

I would advise in your code to check for NULL data and not update that time, then it should update on the next 2mins schedule. This is what I will do eventually on the main page.

MaximeGo31
Posted: 20 Feb 2021 20:15
MaximeGo31
Posts: 64
Joined: 2020-08-13

Hi
I just saw another problem, at times the list of matches is incomplete, once again when updating, the problem seems to be solved

Posted: 28 Feb 2021 20:14
MaximeGo31
Posts: 64
Joined: 2020-08-13

After a lot of testing, the results of the null livescore is not that rare. I have the impression that it actually happens especially at certain times. I did tests on Saturdays and Sundays at different times and during the afternoon these null results are quite common, even when updating 2 minutes later. Maybe during these times your source is overloaded?

Posted: 01 Mar 2021 10:15

zag
Posts: 3,329
Joined: 2020-03-23

After a lot of testing, the results of the null livescore is not that rare. I have the impression that it actually happens especially at certain times. I did tests on Saturdays and Sundays at different times and during the afternoon these null results are quite common, even when updating 2 minutes later. Maybe during these times your source is overloaded?

Possibly, but I must admit I have not seen this on the front page (it uses the same source). I will try to keep an eye on it but as far as I can tell the livescore updates as expected.


Who is Online?

In total there are 68 users online :: 3 registered, 0 hidden and 65 guests (based on users active over the past 5 minutes) Most users ever online was 424 on Fri Nov 10, 2017 9:02 pm

About Us

Discussion forum for TheSportsDB.com site and related topics

Rules

- Be Polite
- Respect other users
- Always post log files with issues
- Try to be helpful
- No Piracy discussion

Showing 0 to 5 (Total: 5)