- accidentally posted this in Traccar Server forum
(using Postman)
When trying to establish a new session via POST /api/session
with email/password
I initially was receiving a 200
success along with the user object.
I was able to test this with a GET /api/session
which would return the same user object.
A DELETE
and then another GET
returned 404
, all checks out.
I then went to integrate authentication in our webapp client (via Axios) but after some pending, the request times out with this error message
HikariPool-1 - Connection is not available, request timed out after 30000ms. - SQLTransientConnectionException (... < QueryBuilder:59 < *:135 < DataManager:317 < PermissionsManager:439 < ...)
So it was working correctly in Postman and then stopped working all together once I attempted login via the browser.
Is this possibly from attempting to create too many sessions without cleaning up (DELETE) the previous/current session? Or is this something internal to Traccar possibly?
(using Postman)
When trying to establish a new session via
POST /api/session
with email/passwordI initially was receiving a
200
success along with the user object.I was able to test this with a
GET /api/session
which would return the same user object.A
DELETE
and then anotherGET
returned404
, all checks out.I then went to integrate authentication in our webapp client (via Axios) but after some pending, the request times out with this error message
So it was working correctly in Postman and then stopped working all together once I attempted login via the browser.
Is this possibly from attempting to create too many sessions without cleaning up (DELETE) the previous/current session? Or is this something internal to Traccar possibly?