Page MenuHomeVyOS Platform

HTTP API no response after several days restarted
Open, Requires assessmentPublic


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


Difficulty level
Unknown (require assessment)
1.3.1S1 release
Why the issue appeared?
Will be filled on close
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.