Page MenuHomeVyOS Platform

HTTP API no response after several days restarted
Resolved (N/A)Public

Description

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

bash
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

Difficulty level
Unknown (require assessment)
Version
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.

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