[Help needed] PHP session cookies during login #6201
Replies: 3 comments 2 replies
-
I was getting this exact issue as well (no reverse proxy, exact same browser login error message, same warning in the users log.txt). What helped me in the short term:
For me, the issue has been intermittent. It might have been tied to a change in port as I was setting up my docker compose, thus resulting in an outdated I'm still looking for a more permanent fix. This forum post seems to be pointing in the direction of <?php
return array (
'environment' => 'production',
'salt' => 'xxx',
'base_url' => 'http://xxx',
'auto_update_url' => 'https://update.freshrss.org',
'language' => 'en',
'title' => 'FreshRSS',
'meta_description' => '',
'logo_html' => '',
'default_user' => 'xxx',
'force_email_validation' => false,
'allow_anonymous' => false,
'allow_anonymous_refresh' => false,
'auth_type' => 'form',
'http_auth_auto_register' => true,
'http_auth_auto_register_email_field' => '',
'api_enabled' => true,
'unsafe_autologin_enabled' => false,
'simplepie_syslog_enabled' => true,
'pubsubhubbub_enabled' => false,
'allow_robots' => false,
'allow_referrer' => false,
'limits' =>
array (
'cookie_duration' => 7776000,
'cache_duration' => 800,
'timeout' => 20,
'max_inactivity' => 9223372036854775807,
'max_feeds' => 131072,
'max_categories' => 16384,
'max_registrations' => 1,
),
'curl_options' =>
array (
),
'db' =>
array (
'type' => 'sqlite',
'host' => '',
'user' => '',
'password' => '',
'base' => '',
'prefix' => '',
'connection_uri_params' => '',
'pdo_options' =>
array (
),
),
'mailer' => 'mail',
'smtp' =>
array (
'hostname' => '',
'host' => 'localhost',
'port' => 25,
'auth' => false,
'auth_type' => '',
'username' => '',
'password' => '',
'secure' => '',
'from' => 'root@localhost',
),
'extensions_enabled' =>
array (
),
'extensions' =>
array (
),
'disable_update' => true,
'trusted_sources' =>
array (
0 => '127.0.0.0/8',
1 => '::1/128',
),
); If I run into the issue again, I'll try to troubleshoot further to find the root cause. |
Beta Was this translation helpful? Give feedback.
-
just for documentation a link to another issue from the past: #5259 |
Beta Was this translation helpful? Give feedback.
-
I have encountered the same problem. I originally used nginx and placed freshrss in a subdirectory, it worked properly. Until I changed the domain name and modified the server name of nginx, this problem occurred. So I switched back to the nginx configuration file of the old domain name, but at this point, I was unable to log in. Always display "The web server sessions to be incorrectly configured for cookies required for PHP sessions!". I am very certain that I have configured nginx, as it was running normally before. |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
Getting "The web server seems to be incorrectly configured for cookies required for PHP sessions!" during login.
Expected behavior
Access FreshRSS
Environment information Server:
Environment information Client:
Additional context
I was running FreshRSS smoothly for a couple of years now. Yesterday I did a long due update from 1.21.1 to 1.23.2. Since then I am unable to login on all my devices except for one. On the one device I still can login, I can only login via Firefox and no other Browser.
Before the update I hadn't touched my apache configuration. I now switched from prefork to event with no solution to the problem. FreshRss is running as a subdomain, so no reverse proxy is involved. I tried session.php as mentioned in 5973 and it is counting as expected.
In the apache access log I get a 403 and nothing in error log.
FreshRSS shows
[Wed, 13 Mar 2024 11:04:12 +0000] [warning] --- Invalid session during login for user=xxx, nonce=
in ./data/users/_/log.txtI've whiped FreshRSS completly, except for the mariadb database (which I really would love to keep for the favorites) and freshly installed from git.
Thank you so much in advance!
edit: Added FreshRSS log
Beta Was this translation helpful? Give feedback.
All reactions