Error: ip limit during probes reconnect
alexey-yarmosh opened this issue · comments
Alex Yarmosh commented
Usage of cached fetchSockets response in probe-ip-limit.ts leads to Error: ip limit.
Scenario:
- probe1 is connected to the api
- some operation (e.g. /probes ednpoint) calls fetchSockets
- fetchSockets result (including probe1) is return and cached for 1 sec
- during that 1 sec probe1 is reconnecting (e.g. because of ping timeout)
- probe-ip-limit.ts calls fetchSockets and gets cached result (with probe1 in a list)
- that lead to Error: ip limit
Dmitriy Akulov commented
After deploy the issue seems to be still present. Logs provided
Alex Yarmosh commented
ip limit
issues is fixed. Sometimes timeout reached while waiting for fetchSockets response
occurs, but it is not related to that issue. Closing this one and reopening #234 instead.