Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Session Expired after login - Only in Chrome #1232

Open
akamomer opened this issue Aug 18, 2020 · 1 comment
Open

Session Expired after login - Only in Chrome #1232

akamomer opened this issue Aug 18, 2020 · 1 comment

Comments

@akamomer
Copy link

Recently, Chrome users all reported that they can't login while using Firefox was fine.

gps.standingtech.com/:1 A cookie associated with a cross-site resource at http://104.131.180.108/ was set without the `SameSite` attribute. It has been blocked, as Chrome now only delivers cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.
gps.standingtech.com/:1 A cookie associated with a cross-site resource at http://google.com/ was set without the `SameSite` attribute. It has been blocked, as Chrome now only delivers cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.
traccar-0.js:6297 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
a4d @ traccar-0.js:6297
W3d @ traccar-0.js:5992
Y3d @ traccar-0.js:5340
pRd @ traccar-0.js:7026
oRd @ traccar-0.js:5946
wwd @ traccar-0.js:6279
ywd @ traccar-0.js:7117
Amb @ traccar-0.js:7107
$s @ traccar-0.js:5073
mt @ traccar-0.js:7106
eval @ traccar-0.js:4728
gj @ traccar-0.js:3360
jj @ traccar-0.js:4603
eval @ traccar-0.js:5803
104.131.180.108:8082/traccar/uiStateService:1 Failed to load resource: the server responded with a status of 500 (Server Error)
104.131.180.108:8082/traccar/dataService:1 Failed to load resource: the server responded with a status of 500 (Server Error)
104.131.180.108:8082/traccar/uiStateService:1 Failed to load resource: the server responded with a status of 500 (Server Error)
2104.131.180.108:8082/traccar/dataService:1 Failed to load resource: the server responded with a status of 500 (Server Error)
104.131.180.108:8082/traccar/uiStateService:1 Failed to load resource: the server responded with a status of 500 (Server Error)
104.131.180.108:8082/traccar/groupService:1 Failed to load resource: the server responded with a status of 500 (Server Error)
104.131.180.108:8082/traccar/reportService:1 Failed to load resource: the server responded with a status of 500 (Server Error)
2104.131.180.108:8082/traccar/dataService:1 Failed to load resource: the server responded with a status of 500 (Server Error)
2104.131.180.108:8082/traccar/uiStateService:1 Failed to load resource: the server responded with a status of 500 (Server Error)
3104.131.180.108:8082/traccar/dataService:1 Failed to load resource: the server responded with a status of 500 (Server Error)
104.131.180.108:8082/traccar/groupService:1 Failed to load resource: the server responded with a status of 500 (Server Error)

And Sample Log file (I enabled Debug for more info)

https://standingtech.com/wrapper.log
@akamomer
Copy link
Author

akamomer commented Aug 18, 2020

I realized that above issue was due to using frame, so that Google Chrome blocked the cookie, kindly instruct me how do I set the cookie to allow cross-site:
Something like this can be set for Jetti but I don't know where to add it in Traccar UI:

<session-config>
    <cookie-config>
        <comment>__SAME_SITE_NONE__</comment>
    </cookie-config>
</session-config>

Ref: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant