I have 401 Unauthorized - WebApplicationException message, nothing in log

Sosapablo3 years ago

Hi anton

I have a traccar on my server (open with public ip http://ip:8082/) that works well accessing by ip.

I have a domain created in ionos and when redirecting fl.domain.con -> Redirection (Frame) http://ip:8082/

in this, when I access by http://ip:8082 it works fine. When I try to access fl.domain.con
I have HTTP 401 Unauthorized - WebApplicationException (SecurityRequestFilter: 113 <...) message. There is nothing in traccar.log.

How do I fix it please?

Greetings thank you

PSs

Anton Tananaev3 years ago

Using frame probably messes up with cookies, so authorization fails. It's not really a server issue. And there won't be anything in the log because it's just a normal unauthorized request scenario.

Sosapablo3 years ago

there would be a solution without having to remove the frame??

thank mister.

Anton Tananaev3 years ago

Not sure. Again, it's not a server issue. You should research how cookies behave in frames and see if there's some configuration that can allow it.

Sosapablo3 years ago

okay.

Thank Anton ! always always active