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
  • nlambrechts's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 9 months ago #202091 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?
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 9 months ago #202100 by holch
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
  • nlambrechts's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
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.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 9 months ago #202105 by tpartner
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.

Lime-years ahead

Online-surveys for every purse and purpose