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

Timeout time? #668

Closed
gnomegemini opened this issue Aug 2, 2018 · 6 comments
Closed

Timeout time? #668

gnomegemini opened this issue Aug 2, 2018 · 6 comments
Assignees
Milestone

Comments

@gnomegemini
Copy link

Hey there,

is there any possibility to prolong the timeout which occurs when you are logged in pathfinder?

Thanks and kind regards,
Stefan

@exodus4d
Copy link
Owner

exodus4d commented Aug 4, 2018

What timeouts to you get? On my installations it´s currently 480min -> 6h . But this can be configured in the pathfinder.ini for any self hosted installation.

@Derjyn
Copy link

Derjyn commented Aug 7, 2018

Among the other issues that I've chimed in on, I finally got things "running". However, even being a manager, and/or adding my character ID as a super user in pathfinder.ini... I am getting logged out in 3 seconds, and receiving a 500 error toast. I can log back in, but then a 3 second timer in the corner of the map counts down, and the auto logout kicks in again.

Default of 480 is set in pathfinder.ini

@Derjyn
Copy link

Derjyn commented Aug 7, 2018

An update on this issue: if you disable "Map Connection Tracking" very quickly after logging in, you won't get kicked out after the 3 second timer. This is getting pretty frustrating, haha

@Derjyn
Copy link

Derjyn commented Aug 7, 2018

I'm not certain if these are relevant to the issue, but it seems to be in line with the timing of logging in, and getting booted:

2018/08/06 20:55:03 [error] 9700#9700: *1 FastCGI sent in stderr: "PHP message: file_put_contents(logs/login.log): failed to open stream: Permission denied
PHP message: [app/lib/log.php:44] Base->write()
PHP message: [app/main/controller/api/user.php:93] Log->write()
PHP message: [app/main/controller/ccp/sso.php:329] Controller\Api\User->loginByCharacter()
PHP message: [index.php:23] Base->run()" while reading response header from upstream, client: 24.21.217.227, server: ewyx.ml, request: "GET /sso/login?cookie=char_1768b8427a8440187f8df172b03ae64e&tabId=5yxzi HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php7.2-fpm.sock:", host: "ewyx.ml", referrer: "https://ewyx.ml/"
2018/08/06 20:55:08 [error] 9700#9700: *1 FastCGI sent in stderr: "PHP message: Validation failed: "systemId" = "30000179" [/var/www/html/app/main/model/basicmodel.php:463]
PHP message: [app/main/model/systemmodel.php:242] Model\BasicModel->throwValidationException()
PHP message: [app/main/model/basicmodel.php:311] Model\SystemModel->validate_systemId()
PHP message: [app/main/model/basicmodel.php:184] Model\BasicModel->validateField()
PHP message: [app/lib/magic.php:73] Model\BasicModel->set()
PHP message: [app/lib/magic.php:117] Magic->offsetset()
PHP message: [app/main/model/mapmodel.php:480] Magic->__set()
PHP message: [app/main/controller/api/map.php:993] Model\MapModel->getNewSystem()
PHP message: [app/main/controller/api/map.php:893] Controller\Api\Map->updateMapData()
PHP message: [index.php:23] Base->run()" while reading response header from upstream, client: 24.21.217.227, server: ewyx.ml, request: "POST /api/map/updateUserData HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php7.2-fpm.sock:", host: "ewyx.ml", referrer: "https://ewyx.ml/map/Mw%3D%3D"

Permissions were set to 766, then 777, same issue with the logs bit.

@CalMatar
Copy link

I am not sure if I am having similar issues but with the main hosted system I will be using the system and suddenly get logged out with a "User Not Authorized" message and I end up having to log back in. There is a popup that says something about being logged out due to security reasons or something, I don't remember but it is aggravating when you are in the middle of modifying maps and you are logged out. I thought this had an inactivity timer on it not a flat timer.

@exodus4d
Copy link
Owner

exodus4d commented Feb 8, 2019

@Derjyn setting permissions on all *.log files will not necessarily solve the issue, you need to check the permissions on the /log folder, too. I can´t see a bug here. This needs to be fixed on your server.

@gnomegemini @CalMatar Your bug description is something totally different, and sounds like the #718

@exodus4d exodus4d closed this as completed Feb 8, 2019
@exodus4d exodus4d added this to the v1.5.0 milestone Feb 8, 2019
@exodus4d exodus4d self-assigned this Feb 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants