version 5.9

jay2 years 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-trace2 years ago

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

fanfan692 years ago

something stupid, have you checked your “htaccess file”

jay2 years 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

Andres2 years ago

Hello everyone, Has this been resolved?

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

jay2 years ago

Preview version it as been resolved.

Ashok Chandra2 years ago

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

Track-trace2 years ago

What is not clear about the remarks ?

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

Ashok Chandra2 years ago

thanks issue is resolved.

alexbk662 years 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 Tananaev2 years ago

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

alexbk662 years ago

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

alexbk662 years ago

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

Anton Tananaev2 years 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.

alexbk662 years ago

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