You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was talking about this on Discord and I suspect this is what is happening:
I suspect there is a race condition on my end. If I recall, when ArtBot pings to AI Horde API to check your user info with your API key, if it gets an invalid response (e.g., server timeout, server down, some sort of network hiccup), it just ends up logging you out by essentially erasing the stored API key.
The API endpoint ArtBot periodically pings to check user status is the same endpoint used when "logging in" to the AI Horde. If the endpoint returns a timeout, bad response, or some network condition happens, ArtBot assumes the login failed. The logic seems to incorrectly carry over to where we periodically ping the API for updated user stats.
The text was updated successfully, but these errors were encountered:
I was talking about this on Discord and I suspect this is what is happening:
The API endpoint ArtBot periodically pings to check user status is the same endpoint used when "logging in" to the AI Horde. If the endpoint returns a timeout, bad response, or some network condition happens, ArtBot assumes the login failed. The logic seems to incorrectly carry over to where we periodically ping the API for updated user stats.
The text was updated successfully, but these errors were encountered: