A whole project stopped working with AWS 500310 Error

Only one project stopped connecting to RedShift.

 

 

 

Users from one squad reported that their project has stopped working completely.

 

 We checked that the environment has an exclamation mark that says "invalid operation database does not exist"

 

We've tried to edit the environment and when we try to select the database it shows "failed to retrieve the options" and it is greyed out.

 

 The same happens if we try to create a new environment.

 

 This is happening in only one project, and other projects remain working properly.

 

 

 

We've downloaded the server log and it looks like Matillion is trying to put the user name instead of the database name when it tries to connect.

 

Follow the piece of log:

 

 

 

Caused by: java.sql.SQLException: Environment connection creation failed: [Amazon](500310) Invalid operation: database "here shows username instead database name" does not exist;

 

at com.matillion.bi.emerald.server.jdbc.connectiontask.AbstractConnectorCreator.newConnection(AbstractConnectorCreator.java:89)

 

at com.matillion.bi.emerald.server.jdbc.connectiontask.EnvironmentConnectionCreator.create(EnvironmentConnectionCreator.java:49)

 

at com.matillion.bi.emerald.server.jdbc.connectiontask.SimpleConnectionPool$PooledConnection.initialise(SimpleConnectionPool.java:277)

 

at com.matillion.bi.emerald.server.jdbc.connectiontask.SimpleConnectionPool.getConnectionFromPool(SimpleConnectionPool.java:123)

 

at com.matillion.bi.emerald.server.jdbc.connectiontask.SimpleConnectionPool.checkOutConnection(SimpleConnectionPool.java:102)

 

at com.matillion.bi.emerald.server.jdbc.connectiontask.SimpleConnectionPool.getAvailableConnection(SimpleConnectionPool.java:67)

 

at com.matillion.bi.emerald.server.jdbc.connectiontask.SimpleConnectionPool.getAvailableConnection(SimpleConnectionPool.java:55)

 

at com.matillion.bi.emerald.server.jdbc.connectiontask.PooledConnectionExecutor.getConnection(PooledConnectionExecutor.java:67)

 

... 37 more

 

Caused by: java.sql.SQLException: [Amazon](500310) Invalid operation: database "usr-maitllion-v4-hub-xxxxx" does not exist;

 

at com.amazon.redshift.client.messages.inbound.ErrorResponse.toErrorException(Unknown Source)

 

at com.amazon.redshift.client.InboundDataHandler.read(Unknown Source)

 

at com.amazon.support.channels.AbstractSocketChannel.readCallback(Unknown Source)

 

at com.amazon.support.channels.TLSSocketChannel.read(Unknown Source)

 

Caused by: com.amazon.support.exceptions.ErrorException: [Amazon](500310) Invalid operation: database "usr-maitllion-v4-hub-xxxxx" does not exist;

Hey there @EPin​ and thanks for posting. I think we might need some more information for this error that you're seeing. If you haven't already, could you please send in a support ticket and the team will be able to help you further.

Many thanks,

Claire

I've opened a case 5 days ago, however I got no answer.

Case number: 00055038

Hi @EPin​,

According to the portal, a response was submitted for this case number. Please confirm.

Thank you,

Chika

What was the recommended solution for this issue? please provide the details of the fix here. thanks,

Hi @EPin​ and thanks for bringing this to my attention. Could I ask you to DM me the reference number for your support case and I'll go and chase this for you.

Thanks so much for your patience,

Claire