burningmantech/ranger-ims-server

Staging server has MySQL connection error

kimballa opened this issue · 4 comments

I logged into the staging server and attempted to select the event from the upper left.

I got a stack trace render instead:
mysql-err

Huh. Why an app running in AWS would have a timeout talking to a database on the same AWS VPC confuses me.

OK looks like the problem is probably that idle connections go funny:

https://stackoverflow.com/questions/47711689/error-while-using-pymysql-in-flask

@kimballa Try now. new code deployed.

@wsanchez , I no longer experience the explicit MySQL error. However, I see no events in the Event list after I log in. Is that expected behavior?

empty-list