# Problems after cloudformation stack install

**URL:** <https://www.thethingsnetwork.org/forum/t/problems-after-cloudformation-stack-install/46459>\
**Category:** Product Support\
**Created:** [April 6, 2021, 9:17pm UTC](https://www.thethingsnetwork.org/forum/t/problems-after-cloudformation-stack-install/46459 "2021-04-06T21:17:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rpruiz](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/rpruiz/32/37263_2.png) [@rpruiz](https://www.thethingsnetwork.org/forum/u/rpruiz)\
**Post date:** [April 6, 2021, 9:17pm UTC](https://www.thethingsnetwork.org/forum/t/problems-after-cloudformation-stack-install/46459/1 "2021-04-06T21:17:50Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![KrishnaIyerEaswaran2](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/krishnaiyereaswaran2/32/44663_2.png) [@KrishnaIyerEaswaran2](https://www.thethingsnetwork.org/forum/u/KrishnaIyerEaswaran2)\
**Post date:** [April 7, 2021, 7:56am UTC](https://www.thethingsnetwork.org/forum/t/problems-after-cloudformation-stack-install/46459/2 "2021-04-07T07:56:55Z")

</div>

It seems like the database isn’t accessible which is weird. Can you check if the `is.database-uri` field matches the username and password of the RDS database?

---

<div class="post-metadata">

**Author:** ![rpruiz](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/rpruiz/32/37263_2.png) [@rpruiz](https://www.thethingsnetwork.org/forum/u/rpruiz)\
**Post date:** [April 7, 2021, 1:01pm UTC](https://www.thethingsnetwork.org/forum/t/problems-after-cloudformation-stack-install/46459/3 "2021-04-07T13:01:21Z")

</div>

Actually, the password was the reason. While the data in my files for your suggested field was correct, I relaunched the script with a new DB password (without special characters in it), and voila! It worked.  
Something to pass on to the QA team I guess.

Thank you for your help!

---

<div class="post-metadata">

**Author:** ![KrishnaIyerEaswaran2](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/krishnaiyereaswaran2/32/44663_2.png) [@KrishnaIyerEaswaran2](https://www.thethingsnetwork.org/forum/u/KrishnaIyerEaswaran2)\
**Post date:** [April 7, 2021, 2:16pm UTC](https://www.thethingsnetwork.org/forum/t/problems-after-cloudformation-stack-install/46459/4 "2021-04-07T14:16:01Z")

</div>

Yes Indeed. I think we can add a validation to the field.

---

<div class="post-metadata">

**Author:** ![system](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/6/2/6250ea44fd2b0d6259489e1a92748df681e1f970.png) [@system](https://www.thethingsnetwork.org/forum/u/system)\
**Post date:** [April 8, 2021, 2:16pm UTC](https://www.thethingsnetwork.org/forum/t/problems-after-cloudformation-stack-install/46459/5 "2021-04-08T14:16:36Z")

</div>

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
