- Posts: 2
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Failed to create unique access code in 50 attempts.
- nlambrechts
- Topic Author
- Offline
- New Member
Less
More
3 years 9 months ago #202091
by nlambrechts
Failed to create unique access code in 50 attempts. was created by nlambrechts
Good day,
My survey is on-premise hosted. When someone tries to register to obtain a token, the error 500 - Failed to create unique access code in 50 attempts appears. I have increased the if $count > 50 to a greater number in Tokens.php, but his does not solve the problem.
Any ideas?
My survey is on-premise hosted. When someone tries to register to obtain a token, the error 500 - Failed to create unique access code in 50 attempts appears. I have increased the if $count > 50 to a greater number in Tokens.php, but his does not solve the problem.
Any ideas?
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11655
- Thank you received: 2742
3 years 9 months ago #202100
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Failed to create unique access code in 50 attempts.
First of all, it is always important to mention the LS version. There are about 3-5 different major versions still in use and the problem can highly depend on the version, of course. If the helpers in the forum know the version they can try to reproduce your error, if a reasonable version of Limesurvey was used (nothing too old).
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
- nlambrechts
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
3 years 9 months ago #202102
by nlambrechts
Replied by nlambrechts on topic Failed to create unique access code in 50 attempts.
I was running 4.2.x. after the Token.php file modification did not seem to resolve the problem, I upgraded to the latest 4.3.2.
Issue was still there.
I changed the token length to 20, and it appears the problem has gone away. The original setting was 15 inherit.
I will keep a close eye on it.
Issue was still there.
I changed the token length to 20, and it appears the problem has gone away. The original setting was 15 inherit.
I will keep a close eye on it.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10108
- Thank you received: 3593
3 years 9 months ago #202105
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Failed to create unique access code in 50 attempts.
Please file a bug report explaining how you worked around the problem
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: DenisChenu
The topic has been locked.