Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Authentication Not Working

More
10 months 5 days ago - 10 months 5 days ago #267571 by melisa.kurtt
Please help us help you and fill where relevant:
LimeSurvey version: Limesurvey6.6.5 Community Edition
Own server or LimeSurvey Cloud: own server
Survey theme/template: 
==================
Hello, 
I recently updated my LimeSurvey version and operating system. But since then, I can access directly to the admin page without authentication. And when I try to logout and login again, I get the "Gateway Timeout The gateway did not receive a timely response from the upstream server or application." error. I looked through the forum and web, but unfortunatelly I couldn't find why that might happen. I want to redirect to authentication when the url is called. Can you help me?

Thank you,
Last edit: 10 months 5 days ago by melisa.kurtt.

Please Log in to join the conversation.

More
10 months 5 days ago #267576 by holch
Replied by holch on topic Authentication Not Working
How did you update? Manually or via Comfort update?

If manually (e.g. via FTP), make sure all files have been uploaded correctly. LS has a lot of files and in my experience it is not too uncommon that some files do not make it to the server via FTP. So this is a possibility.

As you also updated the operating system, have a look at your PHP version and if it is supported by Limesurvey LS6.

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.

Please Log in to join the conversation.

More
10 months 5 days ago #267582 by melisa.kurtt
Hi,
I've updated manually. And my php version is according to the requirements of LimeSurvey 6. But I couldn't quite understand why FTP might affect that. Because I downloaded the zip file for LS and moved it into the required location, I didn't touch the files specifically.

Please Log in to join the conversation.

More
10 months 4 days ago #267587 by DenisChenu
> But since then, I can access directly to the admin page without authentication.

I think you use a specific Authentication system. Can you check on plugin list the Authentication plugin activated ?
 

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

More
10 months 4 days ago #267588 by melisa.kurtt
Actually no, I'm not using a specific authentication system. But how can I check the plugin list?

Please Log in to join the conversation.

More
10 months 4 days ago #267595 by holch
Replied by holch on topic Authentication Not Working

But I couldn't quite understand why FTP might affect that. Because I downloaded the zip file for LS and moved it into the required location, I didn't touch the files specifically.


If you didn't upload the files via FTP obviously FTP won't be the issue. I was just mentioning it as a possible cause of your issues. As we had basically no information on how you updated, I just tried to start somewhere and ask questions and throw this possibility out there.

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The following user(s) said Thank You: DenisChenu

Please Log in to join the conversation.

More
10 months 4 days ago #267596 by holch
Replied by holch on topic Authentication Not Working

And my php version is according to the requirements of LimeSurvey 6.


OK, so it is within the specifications. For reproduction and trouble shooting purposes it could still be important to know your exact PHP version...

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The following user(s) said Thank You: DenisChenu

Please Log in to join the conversation.

More
10 months 4 days ago #267611 by DenisChenu

Actually no, I'm not using a specific authentication system. But how can I check the plugin list?
 
If you don't have to authenticate, i really think you have an authentication plugin …

www.limesurvey.org/manual/Plugin_manager/en

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

More
9 months 4 weeks ago #267696 by melisa.kurtt
Hi,
I'm using PHP version 8.2.13.

Please Log in to join the conversation.

More
9 months 4 weeks ago - 9 months 4 weeks ago #267697 by melisa.kurtt
Hi,
There are 3 plugins available in my settings: Authdb, AuthLDAP and Authwebserver. Authdb is active and the other two is passive in my situation. Which one do I need to activate or change its status to passive in order for my site to run properly? Because yes I can make it direct to authentication somehow, but I can't login. That's the main problem, it gives 504 Gateway Timeout error.
Last edit: 9 months 4 weeks ago by melisa.kurtt.

Please Log in to join the conversation.

More
9 months 4 weeks ago #267699 by DenisChenu
You need only AuthDB activated

> Because yes I can make it direct to authentication somehow, but I can't login.

I don't understand this sentence.

Else : do you have access to PHP error log ? Maybe something with session save_path ?

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

More
9 months 4 weeks ago #267701 by melisa.kurtt
The problem is, I can access login/authentication page, but I can't perform login action. When I write all my info and click login, it throws 504 Gateway Timeout error. And no I can't access PHP error log...

Please Log in to join the conversation.

More
9 months 4 weeks ago #267704 by DenisChenu

 And no I can't access PHP error log...
 
Can not help, since it's related to your hosting service.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

More
9 months 4 weeks ago #267716 by holch
Replied by holch on topic Authentication Not Working
Ok, now it is clearer what the actual problem is, because I (and I think Denis as well) read your problem as:

"I can access the platform without having to login."

Actually, your problem is "just" that you can't login, correct? You se the login mask, you can put your login data and when you submit, you get a 504 Gateway timeout.

What confuses me is that you say it is on your own server, but you can't get access to the PHP logs? Because this seems to be a server issue to me.

You need to speak to the person responsible for your Limesurvey installation in your organization.

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The following user(s) said Thank You: DenisChenu

Please Log in to join the conversation.

More
7 months 2 weeks ago #268647 by melisa.kurtt
Hi,
We've checked our php logs and there isn't any new logs related to login issue.

Please Log in to join the conversation.

Moderators: holchtpartner

Lime-years ahead

Online-surveys for every purse and purpose