I got logged out automaticly within 10 minutes of Pydio

Hi,

Please see Charset is not supported on this version of MySQL - Pydio Cells - Pydio Forums and Fresh install of Pydio, using nfs backend in mounted docker host - Pydio Cells - Pydio Forums for my current setup.

There are 2 reverse haproxy’s in front of pydio, the other 30+ other services running behind these proxies are not having this problem.

In pydio log:

ERR Rest Error 401 error=No refresh token
[debug] dispatcher-worker could not update activeChan value -1
msg=[WARNING] Rename across devices not allowed, please fix your backend configuration (/mnt/.minio.sys/tmp/751227c7-7db1-45db-b9f3-810137a86fbb/8c5d0860-9f7b-43c5-9e9d-2f9b31bb0e68)->(/mnt/homes/photos/upload/b9db64da-ac28-40f5-aca7-e4a4fdd33968/ff/78/.pydio) 

How to troubleshoot?

Confirm that the domain set in cells configure sites is the same as the one in the proxy.

Ah thanks for pointing me in the right direction.
Didn’t know that I had to use the docker-cli to change it.
I expected it somewhere in the pydio main settings webui.

Pydio | cells configure sites

The right domain is set in the config of pydio, but it is still logging me out after 10 minutes, in log I see:

2024-06-28T09:51:51.598717657Z ERR | ts=2024-06-28T11:51:51+02:00 logger=pydio.rest.frontend msg=Rest Error 401 error=No refresh token SpanUuid=84708b4c-421a-4779-a685-54a69a060fe0 RequestHost=myhostmasked.mydomainmasked.com RemoteAddress=172.25.0.1:60828 UserAgent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0 ContentType=application/json HttpProtocol=HTTP/1.1

989

2024-06-28T09:51:55.926537901Z [mysql] 2024/06/28 11:51:55 packets.go:122: closing bad idle connection: EOF

990

2024-06-28T09:51:55.926606905Z [mysql] 2024/06/28 11:51:55 packets.go:122: closing bad idle connection: EOF

991

2024-06-28T09:51:55.926617698Z [mysql] 2024/06/28 11:51:55 packets.go:122: closing bad idle connection: EOF

992

2024-06-28T09:51:55.926627130Z [mysql] 2024/06/28 11:51:55 packets.go:122: closing bad idle connection: EOF

993

2024-06-28T09:51:55.960465399Z [mysql] 2024/06/28 11:51:55 packets.go:122: closing bad idle connection: EOF

994

2024-06-28T09:51:55.960579816Z [mysql] 2024/06/28 11:51:55 connection.go:173: driver: bad connection

995

2024-06-28T09:51:55.960592750Z [mysql] 2024/06/28 11:51:55 packets.go:122: closing bad idle connection: EOF

996

2024-06-28T09:51:55.960885244Z [mysql] 2024/06/28 11:51:55 connection.go:173: driver: bad connection

I don’t think this has to do with MySQL.
Change the value of accessTokenLifespan in the Pydio configuration file.

That’s correct. Thanks @jaimedelano

Cells docker exposes an Env for external_url value - CELLS_SITE_EXTERNAL
For more information: https://hub.docker.com/r/pydio/cells

In your browser, you can verify the cookie domain name. This value must be the same with the browsing domain.

Hello, I’m configured

access token to 3h (hours). And set idle timeout to 1440 minutes.

/var/cells/pydio.json

"accessTokenLifespan": "3h",

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.