https://kotlinlang.org logo
#ktor
Title
# ktor
b

Big Chungus

03/24/2021, 5:43 PM
Keep getting these weird logs for ktor endpoint under basic auth. They always come in pairs and they actually go through fine (meaning the request if processed as normal and not rejected):
Copy code
2021-03-24T17:42:21.770240342Z [INFO ] 17:42:21 [tDispatcher-worker-2] Application                    - 401 Unauthorized: POST - /api/libraries
2021-03-24T17:42:21.981263639Z [INFO ] 17:42:21 [tDispatcher-worker-3] Application                    - 201 Created: POST - /api/libraries
Has anyone experienced it themselves?
j

Joost Klitsie

03/25/2021, 11:17 AM
Could it be the route is registered in different places?
2 Views