Page MenuHomeVyOS Platform

HTTP API no response after several days restarted
Not ApplicablePublic

Description

After a few days long run, vyos api service didn’t responding any request. How to restart http api service ?

curl --location --request POST 'https://xxxxx/retrieve'      --form data='{"op": "showConfig", "path": ["interfaces","wireguard","wg01","port"]}'      --form key="**********"
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   334    0     0  100   334      0      1  0:05:34  0:04:07  0:01:27     0

Details

Version
1.3.1S1 release
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

As discussed in the slack channel today, let us follow up here, as I'd like to run through some analysis, and set up a reproducer if possible.

Firstly, is there any info in the logs ?

journalctl -b /usr/libexec/vyos/services/vyos-http-api-server

The current discussion has taken place in the vyos-api-discussion channel; results will be summarized here.

jestabro closed this task as Not Applicable.Mar 8 2023, 7:15 PM

This was never reproduced; user will report if recurrence and we will reopen as needed.