version 5.9

jay8 months ago

I install ver 5.9 linux version on my vps. after loading mysql server and copied the config from my working instance.getting this error when I try to delete a user or device. HTTP 401 Unauthorized - WebApplicationException (SecurityRequestFilter:128 < ... < OverrideFilter:49 < ...)

Track-trace8 months ago

Why dont you try a clean install first with new database and default config.

fanfan698 months ago

something stupid, have you checked your “htaccess file”

jay8 months ago

Done exactly that. clean install, H2 default xml. same error when deleting user or device. So when I downgraded to 5.8 everything works well. Only when updating to 5.9 running into this error

Andres7 months ago

Hello everyone, Has this been resolved?

Exactly the same thing happens to me in 5.9 when I delete a user

jay7 months ago

Preview version it as been resolved.

Ashok Chandra7 months ago

@jay i am facing same issue, how can I resolve this?

Track-trace7 months ago

What is not clear about the remarks ?

https://www.traccar.org/preview/

Ashok Chandra7 months ago

thanks issue is resolved.

alexbk664 months ago

Hi, I'm the author of HomeSeer AKTraccar plugin https://forums.homeseer.com/forum/hs4-products/hs4-plugins/internet-network-plug-ins-aa/ak-traccar-alexbk66/1464367-introducing-ak-traccar-plugin

Users reported that exact problem, I tested myself and I get the same error - using demo.traccar.org

'GET' {Devices} [https://demo.traccar.org/api/devices]: The remote server returned an error: (401) Unauthorized. [wex.response = HTTP 401 Unauthorized - WebApplicationException (SecurityRequestFilter:128 < ... < OverrideFilter:49 < ...)]

Since I'm using the demo server - it can't be related to server configuration? So I'm not sure what "What is not clear about the remarks" means?

Please help.

[EDIT]

Since it was working before and now it's broken - I assume that some auth requirements changed? But I can't see anything in the API docs.

Anton Tananaev4 months ago

I don't think there were any changes to the auth recently.

alexbk664 months ago

I'm using .NET WebClient, I'll try CURL

alexbk664 months ago

There's a few 401 related posts: https://www.traccar.org/search/?q=401+Unauthorized

Anton Tananaev4 months ago

It's pretty common because it happens if you're using wrong credentials or you're trying to access something you don't have access to.

alexbk664 months ago

cURL works with HTTPS (not HTTP). I need to investigate WebClient then, maybe with WireShark