User being logged out

smsoousaa year ago

Hello everybody! I made some minor changes to the code, added some string fields to the backend and tweaked the frontend for use. It worked perfectly, the data was saved in the database. However, I have received an error in the logs and the user is also logged out all the time, could someone help me? The error received in logs is this:

INFO: Your platform does not provide complete low-level API for accessing direct buffers reliably. Unless explicitly requested, heap buffer will always be preferred to avoid potential system instability.
.
.
ERROR: Main method error - Cannot access scoped [org.traccar.api.security.PermissionsService]. Either we are not currently inside an HTTP Servlet request, or you may have forgotten to apply com.google.inject.servlet.GuiceFilter as a servlet filter for this request. - OutOfScopeException (... < ScheduleManager:46 < ... < *:46 < Main:136 < *:114)
.
.
WARN: Update device motion error - Unknown column 'motionStreak' in 'field list' - SQLSyntaxErrorException (... < QueryBuilder:469 < DatabaseStorage:115 < MotionEventHandler:77 < ...)
smsoousaa year ago

This is the error received in the console:

[HPM] Client disconnected
[HPM] Error occurred while proxying request localhost:3000/api/devices to http://my-ip:8082/ [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)
[HPM] Error occurred while proxying request localhost:3000/api/positions to http://my-ip:8082/ [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)
[HPM] Upgrading to WebSocket
[HPM] WebSocket error: Error: read ECONNRESET
    at TCP.onStreamRead (node:internal/stream_base_commons:217:20) {
  errno: -4077,
  code: 'ECONNRESET',
  syscall: 'read'
}
smsoousaa year ago

Oh, one last detail. I am compiling tracker-server.jar. Do I also need to import the lib folder to the server?

smsoousaa year ago

I still get the console error, I activate the web.persistSession setting to true. After that the user stopped being unlogged. But I still get the console error. I feel like I'm just masking the problem. Any assistance in a direction is very welcome. Thank!

smsoousaa year ago

someone? : (