Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Concurrent api calls
« previous
next »
Print
Pages: [
1
]
Author
Topic: Concurrent api calls (Read 1000 times)
GaardenZwerch
Full Member
Posts: 104
Karma: 2
Concurrent api calls
«
on:
April 27, 2021, 10:24:31 am »
Hi,
I have seen just now for the first time the situation where an API call is done to add an IP to an Alias
(https://$fw/api/firewall/alias_util/$action/$fwtable) and the call replies "status":"done"
but the address is not really added to the Alias.
The address is added to a 13 different Aliases in a loop, and each call reported "status":"done" but in reality the address had only been added to 10 Aliases.
This series of calls is repeated on two nodes of my ha-cluster, and on the slave it worked as expected.
Can it be a problem if concurrent api calls are made? My users log on to a portal page and the portal makes these api calls to give them access to their resources, so this can happen 'simultaneously'.
Any hints?
Thanks a lot in advance,
Frank
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Concurrent api calls