FHEM Forum

FHEM - Hardware => FRITZ!Box => Thema gestartet von: HarryT am 05 Oktober 2026, 21:51:07

Titel: Timeout during API check
Beitrag von: HarryT am 05 Oktober 2026, 21:51:07

It seems my issues are not complete solved.

I get now in the logging:

2026.10.05 21:42:59 3: Timeout for Fritz::Fritz_Readout_API_Check reached, terminated process 4821
2026.10.05 21:42:59 2: [FritzBox||113.07.62|Readout_Aborted.10726] - SIGNIFICANT:Error: [285 | BlockingKill] Timeout during API check.
2026.10.05 21:43:09 3: [FritzBox||113.07.62|Readout_API_Check.11209] - BASIC:checkAPIs: started
2026.10.05 21:43:09 3: [FritzBox|FRITZ!Box 7490|113.07.62|Readout_API_Check.11314] - BASIC:Read 'jason_boxinfo.xml' from 172.27.8.1
2026.10.05 21:43:10 3: [FritzBox|FRITZ!Box 7490|113.07.62|Readout_API_Check.11539] - BASIC:boxUser is set to: fritzxxx
2026.10.05 21:43:16 3: [FritzBox|FRITZ!Box 7490|113.07.62|Readout_API_Check.11847] - BASIC:open Web_Connection succeeded

In the readings I get:
retStat_lastReadout     Error: [285 | BlockingKill] Timeout during API check. 2026-10-05 21:46:14
retStat_processReadout  0.01 s                                                2026-10-05 21:20:55
state                   Error: [285 | BlockingKill] Timeout during API check. 2026-10-05 21:46:24

I have another fhem instance running but I think that should be possible.

Google and a search on the forum didn't give me a clue

Anybody an idea what is wrong?
Titel: Aw: Timeout during API check
Beitrag von: HarryT am 05 Oktober 2026, 22:06:04
I see the message  https://forum.fhem.de/index.php?topic=145288.0 which has identical problems. But I see no solution for  me.


My fritzbox: 7490 with fritzos 7.62
The 72_FritzSmart module is from 2026-09-15

Titel: Aw: Timeout during API check
Beitrag von: JoWiemann am 05 Oktober 2026, 22:23:56
Harry,

unfortunately, there is a bit too little information.
Please provide a list of the device and a log with verbose level 4.

Regards, Jörg
Titel: Aw: Timeout during API check
Beitrag von: HarryT am 05 Oktober 2026, 23:10:03

Hi Jörg

Unfortunately it seems the issue solved itself.

For background, I did a complete fresh install. OS and Fhem. I rebooted several times but that didn't fix it. Now the raspberry was turned of for at least 30 minutes and rebooted to produce the list. Maybe there was an issue in the network which survived the reboots. 

If you still want to investigate. I guess the list you want is:
https://docs.google.com/document/d/13gx-IoDjapLXwsU8HcsiWtaZt1SPZpHuHOzxF-i3OIE/edit?usp=sharing

The logging was, if I remember correct with verbose 5.

Thanks for your quick answer and all your work

Titel: Aw: Timeout during API check
Beitrag von: HarryT am 06 Oktober 2026, 20:56:08
Hi Jorg

It seems it happens a bit random. Most of the time when I do a reboot I have this issue. But after a random time it seems to solve itself. Seems strange to me.

This map contains the compressed debug log and the device list.

https://drive.google.com/drive/folders/12y0ez7pbOc5dSoM8cvRJ31s6bTx_wFKd?usp=sharing

Hope you can shed some light in this issue.

Thanks
Titel: Aw: Timeout during API check
Beitrag von: HarryT am 07 Oktober 2026, 13:13:54
Just more info.

I follow thread https://forum.fhem.de/index.php?topic=145288.0 as I think the problems of roelleke maybe related to my problems.

So I entered
  get FritzBox  deviceinfo lanDevices
in the command line.  (this is not possible in the GUI itself)

And then I get the message
  Fritz!OS version must be greater than 7.20.
but I use version 7.62 on a FritzBox 7490.

At least this message is wrong, maybe a clue of what is wrong.
Titel: Aw: Timeout during API check
Beitrag von: HarryT am 07 Oktober 2026, 14:20:40
More info

after I get the following lines in the logging FritzSmart conects to the FritzBox

2026.10.07 13:46:54 2: [FritzBox||113.07.62|Set_ring_Phone.13966] - SIGNIFICANT:set ring: TR064 SECPORT not available.
2026.10.07 13:46:54 3: resource, /lights/4/state, is not modifiable. Device is not reachable.
2026.10.07 13:46:58 3: [FritzBox||113.07.62|Readout_API_Check.11209] - BASIC:checkAPIs: started
2026.10.07 13:46:58 3: [FritzBox|FRITZ!Box 7490|113.07.62|Readout_API_Check.11314] - BASIC:Read 'jason_boxinfo.xml' from xxx.x.x.x
2026.10.07 13:46:59 3: [FritzBox|FRITZ!Box 7490|113.07.62|Readout_API_Check.11539] - BASIC:boxUser is set to: fritzxxx
2026.10.07 13:47:15 2: [FritzBox|FRITZ!Box 7490|113.07.62|open_Web_Connection.18180] - SIGNIFICANT:Web connection could not be established. Please check your credentials (password, user).
2026.10.07 13:47:15 3: [FritzBox|FRITZ!Box 7490|113.07.62|Readout_API_Check.11831] - BASIC:open Web_Connection failed: Web connection could not be established. Please check your credentials (password, user).
2026.10.07 13:47:15 3: [FritzBox|FRITZ!Box 7490|113.07.62|Readout_API_Check.11868] - BASIC:cannot connect due to network error: luaQuery:200 luaData:200
2026.10.07 13:47:15 3: [FritzBox|FRITZ!Box 7490|113.07.62|Readout_API_Check.11882] - BASIC:4 - Handover to main process: (922): ->WARNING_PASSWORD||->WARNING_BOXUSER||->WARNING_NETWORK||->WARNING_PERL||box_m>
2026.10.07 13:48:03 3: [FritzBox|FRITZ!Box 7490|113.07.62|Readout_API_Check.11209] - BASIC:checkAPIs: started
2026.10.07 13:49:28 3: [FritzBox|FRITZ!Box 7490|113.07.62|Readout_API_Check.12126] - BASIC:checkAPIs: ended