campsych / concerto-platform

Concerto Platform - Open-Source Online Adaptive Testing Platform
https://concertoplatform.com/
Apache License 2.0
153 stars 88 forks source link

Cannot log in Concerto on AWS #330

Closed lshchnk closed 3 years ago

lshchnk commented 3 years ago

Concerto Platform version v5.0.23

Expected behavior Log in

Actual behavior Log in failed: Wrong login or password.

Steps to reproduce the issue Run instance on EC2, have Concerto admin password in Outputs tab. It does not work.

bkielczewski commented 3 years ago

Does your password contain any special characters, like $ for instance?

lshchnk commented 3 years ago

Does your password contain any special characters, like $ for instance? Yes it does. Shall I remove them?

bkielczewski commented 3 years ago

Yeah, so there was a problem with escaping '$' in the strings of CloudFormation template, something we have on the TODO to check what we can do about it.

For now I would suggest just deleting the stack, and recreate it, just use the password w/o special chars, especially the dreaded $.

It's that, or you need to ssh to the machine and look up the actual password which was used. It's in /home/concerto/docker-compose.yml, this will be CONCERTO_PASSWORD=xxx line.

lshchnk commented 3 years ago

Yeah, so there was a problem with escaping '$' in the strings of CloudFormation template, something we have on the TODO to check what we can do about it.

For now I would suggest just deleting the stack, and recreate it, just use the password w/o special chars, especially the dreaded $.

It's that, or you need to ssh to the machine and look up the actual password which was used. It's in /home/concerto/docker-compose.yml, this will be CONCERTO_PASSWORD=xxx line.

It works. Thank you!