Has anyone experienced this: ``` 2019-03-18 10:25:...
# ktor
a
Has anyone experienced this:
Copy code
2019-03-18 10:25:09,867 [nettyCallPool-4-3] INFO  ktor.application - 401 Unauthorized: POST - /match
2019-03-18 10:25:10,128 [nettyCallPool-4-4] INFO  ktor.application - 200 OK: POST - /match
On call, the server first logs 401, then 200
r
These are two different calls
a
I am only making one call from IntelliJ http scratch
also tried with ktor client
r
That’s also usually what I see on server logs when a JWT token is expired but the refresh token is ok: make a request to an API, receive a 401 stating the JWT token is expired, call an Auth API to refresh the token, then retry the call. It’s maybe not related but I recognize the pattern
a
there are no tokens here, I use basic auth.
ok it works from postman
only 1 call here