OPNsense Forum

Archive => 21.1 Legacy Series => Topic started by: QBANIN on February 04, 2021, 03:15:03 am

Title: API timeout
Post by: QBANIN on February 04, 2021, 03:15:03 am
After update to 21.1 accessing API throw timeout error.

Code: [Select]
{"connection":"timeout","downgrade_packages":[],"download_size":"","last_check":"Thu Feb  4 03:13:26 CET 2021","new_packages":[],"os_version":"FreeBSD 12.1-RELEASE-p12-HBSD","product_name":"opnsense","product_version":"21.1","reinstall_packages":[],"remove_packages":[],"repository":"error","updates":"","upgrade_major_message":"","upgrade_major_version":"","upgrade_needs_reboot":"0","upgrade_packages":[],"all_packages":[],"status_msg":"Timeout while connecting to the selected mirror.","status":"error"}%   
Title: Re: API timeout
Post by: franco on February 05, 2021, 01:56:40 pm
Probably DNS error, slow download or disk. It's been an issue for a long time for small subset of installs and I want to solve it for 21.7.

The console update keeps working in these cases unless there is an actual connectivity issue.


Cheers,
Franco
Title: Re: API timeout
Post by: QBANIN on February 05, 2021, 04:38:22 pm
GUI/routing/firewall and other services work fine, just can't access API from external app. My hardware is APU2C4 and everything was working fine till last update to 21.1.
Title: Re: API timeout
Post by: franco on February 05, 2021, 07:27:25 pm
Yes, I can imagine that can be so, but what do you want me to do? ;)


Cheers,
Franco
Title: Re: API timeout
Post by: QBANIN on February 05, 2021, 09:42:23 pm
LOL :D

I just wanted to clarify any potential doubts :D

BTW. 21.7 doesn't sound good to me (21.2 sounds better) ;)
Title: Re: API timeout
Post by: franco on February 06, 2021, 04:12:18 pm
Basically it is a lot of work and risk to backport it breaking the firmware page is there so 21.7 it will be...


Cheers,
Franco