Closed SomePersonSomeWhereInTheWorld closed 1 year ago
I upgraded to
mokey-0.5.6-1.el7.x86_64
on Fedora 33 and tried setting the new option toreplace_token: true
andreplace_token: false
but the CAPTCHA for the Forgot Password option fails withThe numbers you typed in do not match the image
as it appears the web page reloads after the logs say an email was sent.
I wasn't able to reproduce this. The logs above look to be krb related? Perhaps there's an issue with your kerb configs?
Also does
kinit admin
need to be always unexpired for this to work?
I'm not sure I follow the question but mokey does not require the admin user specifically anywhere.
Whether this is related or not after a server reboot:
ourserver systemd[1]: mokey.service: Failed with result 'exit-code'.
ourserver mokey[17230]: time="2021-06-03T15:46:39-04:00" level=info msg="Using template dir: /usr/share/mokey/templates"
mokey[17230]: time="2021-06-03T15:46:39-04:00" level=fatal msg="dial tcp 127.0.0.1:3306: connect: connection refused"
But IPA appears to be running and I can log into the IP GUI:
ipactl status
Directory Service: RUNNING
krb5kdc Service: RUNNING
kadmin Service: RUNNING
named Service: RUNNING
httpd Service: RUNNING
ipa-custodia Service: RUNNING
pki-tomcatd Service: RUNNING
ipa-otpd Service: RUNNING
ipa-dnskeysyncd Service: RUNNING
ipa: INFO: The ipactl command was successful
EDIT:
Sorry MySQL was not set to start on reboot. Seeing this error about favicon:
Jun 3 19:44:52 mokey[18564]: time="2021-06-03T19:44:52-04:00" level=error msg="Requested path not found" ip=150.108.64.156 path=/favicon.ico
Jun 3 19:44:52 mokey[18564]: {"time":"2021-06-03T19:44:52.425849923-04:00","level":"ERROR","prefix":"echo","file":"server.go","line":"68","message":"code=404, message=Not Found"}
Jun 3 19:44:58 mokey[18564]: time="2021-06-03T19:44:58-04:00" level=error msg="Requested path not found" ip=150.108.64.156 path=/favicon.ico
Jun 3 19:44:59 mokey[18564]: {"time":"2021-06-03T19:44:58.995370229-04:00","level":"ERROR","prefix":"echo","file":"server.go","line":"68","message":"code=404, message=Not Found"}
Edit: The page loads using http, not https.
But the afore mentioned behavior exists, Perhaps it is a misconfiguration of FreeIPA. I have verbose logging on so there is so much log noise I'm not sure where to start.
Edit: the logs indicate an email is sent but again the message "The numbers you typed in do not match the image " appears. Any other troubleshooting of settings and logs with MoKey that I can try?
I upgraded to
mokey-0.5.6-1.el7.x86_64
on Fedora 33 and tried setting the new option toreplace_token: true
andreplace_token: false
but the CAPTCHA for the Forgot Password option fails withThe numbers you typed in do not match the image
as it appears the web page reloads after the logs say an email was sent.Also does
kinit admin
need to be always unexpired for this to work?