I recently subscribed to the ttne AWS Marketplace service and launched the cloudformation script. A few config options later, the script successfully finished and I got the ‘CREATE_COMPLETE’ message.
After a while of not being able to log into the web console, I checked the logs and found this message repeating in a neverending loop:
Apr 06 20:49:52 ip-10-0-0-4.ec2.internal systemd[1]: Started The Things Stack.
Apr 06 20:49:52 ip-10-0-0-4.ec2.internal systemd[1]: Starting The Things Stack…
Apr 06 20:49:53 ip-10-0-0-4.ec2.internal tti-lw-stack[13602]: INFO Valid license issuer=tti license_id=aws-marketplace-0001 metering=AWS valid_from=2019-10-29 00:00:00 +0000 UTC
Apr 06 20:49:53 ip-10-0-0-4.ec2.internal tti-lw-stack[13602]: INFO Setting up core component
Apr 06 20:49:53 ip-10-0-0-4.ec2.internal tti-lw-stack[13602]: INFO Setting up Identity Server
Apr 06 20:49:53 ip-10-0-0-4.ec2.internal tti-lw-stack[13602]: error:cmd/internal/shared:initialize_identity_server (could not initialize Identity Server)
Apr 06 20:49:53 ip-10-0-0-4.ec2.internal tti-lw-stack[13602]: — error:pkg/errors:request (request to postgres://postgres:gRk5fp>CFD3&4(g@<DB_ID>.us-east-1.rds.amazonaws.com:5432/ttn_lorawan
failed)
Apr 06 20:49:53 ip-10-0-0-4.ec2.internal tti-lw-stack[13602]: url=postgres://postgres:gRk5fp>CFD3&4(g@<DB_ID>.us-east-1.rds.amazonaws.com:5432/ttn_lorawan
Apr 06 20:49:53 ip-10-0-0-4.ec2.internal tti-lw-stack[13602]: — net/url: invalid userinfo
Apr 06 20:49:53 ip-10-0-0-4.ec2.internal systemd[1]: lorawan-stack.service: main process exited, code=exited, status=255/n/a
Apr 06 20:49:53 ip-10-0-0-4.ec2.internal systemd[1]: Unit lorawan-stack.service entered failed state.
Apr 06 20:49:53 ip-10-0-0-4.ec2.internal systemd[1]: lorawan-stack.service failed.
Apr 06 20:49:56 ip-10-0-0-4.ec2.internal systemd[1]: lorawan-stack.service holdoff time over, scheduling restart.
Any pointers would be very much appreciated!