Pierre Posted September 24, 2022 Report Share Posted September 24, 2022 Hi, I am migrating Revive ads to a new server (EC2 AWS Linux) with PHP 7.4. Either old or fully updated reviveAds 5.4.1. I always get the error: "Session cookie error, please log in again". Both after new installation or migrated. I can login on the old server. Thanks EC2 is under a ELB load balancer. Probably the cause Quote Link to comment Share on other sites More sharing options...
Pierre Posted September 24, 2022 Author Report Share Posted September 24, 2022 I removed the ELB, and still does not allow me to login "Session cookie error, please log in again". Quote Link to comment Share on other sites More sharing options...
RedPill Posted September 27, 2022 Report Share Posted September 27, 2022 I have the same issue on AWS with an EC2 instance running Amazon Linux release 2 (Karoo) and PHP 7.4. PHP sessions are working outside of Revive but not holding between pages. I can login directly at https://my-revive-site.com/www/admin/agency-index.php and it works but as soon as I attempt to go to another page, the session dies and I get a login prompt again. I created a script to test sessions and it works. <code> <?php session_start(); $has_session = session_status() == PHP_SESSION_ACTIVE; if ($has_session) { echo 'Session working with ' . session_id() . '.'; } else { echo 'Session not working.'; } </code> Quote Link to comment Share on other sites More sharing options...
Pierre Posted September 28, 2022 Author Report Share Posted September 28, 2022 thanks, so it seems a bug on AWS. But why since AWS EC2 are normal linux servers. How do we submit bugs to REVIVE team? Quote Link to comment Share on other sites More sharing options...
Pierre Posted September 28, 2022 Author Report Share Posted September 28, 2022 Thanks, so it seems a bug on AWS. But why since AWS EC2 are normal linux servers. BUG #1397 Quote Link to comment Share on other sites More sharing options...
Pierre Posted September 28, 2022 Author Report Share Posted September 28, 2022 "so not a bug" was the reply on git. The reply, which does not help much solving: I'm sorry, given the huge number of people running on EC2, this is definitaly not a Revive Adserver bug. Possibily some misconfiguration on your side, but the issue tracker is not suitable for support questions. Quote Link to comment Share on other sites More sharing options...
RedPill Posted September 28, 2022 Report Share Posted September 28, 2022 In my case, I was upgrading from OpenX to Revive. I'm sure I missed something but I have no idea how to go about debugging this. Quote Link to comment Share on other sites More sharing options...
Pierre Posted September 29, 2022 Author Report Share Posted September 29, 2022 same for me. Upgrading or installing fresh on a EC2. I have been using and installing for 10y and never had this issue before. Quote Link to comment Share on other sites More sharing options...
RedPill Posted October 6, 2022 Report Share Posted October 6, 2022 Question for the forum staff. Is the best place to submit bugs at https://github.com/revive-adserver/revive-adserver/issues? This forum has not been helpful with this issue. I'm not sure you can say it's definitely an AWS specific bug. I have proven PHP sessions work outside of Revive. The problem appears to be isolated to the software. It's highly possible a step was missed during the upgrade from OpenX to Revive but like Pierre and I have stated, multiple attempts show the issue is repeatable. Pierre 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.