I have successfully deployed my Ruby on Rails application to Google App Engine. I can browse a couple of the pages and everything seems fine. However, when I try to submit the user signup form I keep getting either a 502 bad gateway or 500 error.
It seems like maybe the app is not able to save to the Postgres database on my Cloud SQL instance?
I have double and triple checked that my settings in my app.yaml file are correct for:
- POSTGRES_USER
- POSTGRES_PASSWORD
- POSTGRES_DATABASE
- POSTGRES_SOCKET_PATH
Also in my app.yaml file I have set the following:
beta_settings:
cloud_sql_instances: 'my-project-id':us-east1:topicurious-dev
I wonder if it's an IAM permissions problem?