Page MenuHomeVyOS Platform

HTTPS API, changing API key fails but goes through
Confirmed, NormalPublic


When using:


{"op": "set", "path": ["service", "https", "api", "keys","id","MYKEY","key","password22"]}

The API returns with:


"error": "service https api unavailable at this proxy address: set service https api-restrict virtual-host"


However, using the new key works perfectly.


Difficulty level
Unknown (require assessment)
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)

Event Timeline

IZT_crobinson changed the task status from Open to Confirmed.Thu, Jun 18, 4:10 AM
IZT_crobinson triaged this task as High priority.
IZT_crobinson created this task.
IZT_crobinson created this object in space S1 VyOS Public.
pasik added a subscriber: pasik.Thu, Jun 18, 4:40 PM
jestabro lowered the priority of this task from High to Normal.Sat, Jun 27, 1:45 PM

Changing the api settings (for example: keys, port) will cause a disruptive reload of the http-api service; it will of course succeed, but the response for that set command will reflect the reloading. This is known, if misleading behaviour. I will lower this to normal priority, and consider if we can improve the error/success message.