OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 21.1 Legacy Series »
  • API timeout
« previous next »
  • Print
Pages: [1]

Author Topic: API timeout  (Read 1710 times)

QBANIN

  • Newbie
  • *
  • Posts: 29
  • Karma: 0
    • View Profile
API timeout
« 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"}%   
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 15118
  • Karma: 1308
    • View Profile
Re: API timeout
« Reply #1 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
Logged

QBANIN

  • Newbie
  • *
  • Posts: 29
  • Karma: 0
    • View Profile
Re: API timeout
« Reply #2 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.
« Last Edit: February 05, 2021, 05:08:52 pm by QBANIN »
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 15118
  • Karma: 1308
    • View Profile
Re: API timeout
« Reply #3 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
Logged

QBANIN

  • Newbie
  • *
  • Posts: 29
  • Karma: 0
    • View Profile
Re: API timeout
« Reply #4 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) ;)
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 15118
  • Karma: 1308
    • View Profile
Re: API timeout
« Reply #5 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
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 21.1 Legacy Series »
  • API timeout
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2