halborg
08/08/2018, 1:02 PM> Successfully built 086ddb645f20
> Successfully tagged registry.now.systems/now/8c565a120ef9e162cfb024f678f1e2411044ae28:latest
> ▲ Storing image
> Build completed
> Verifying instantiation in bru1
> [0] at com.zaxxer.hikari.pool.HikariPool.createTimeoutException(HikariPool.java:548)
> [0] Exception in thread "main" java.sql.SQLTransientConnectionException: database - Connection is not available, request timed out after 5000ms.
> [0] at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:83)
> [0] at slick.jdbc.hikaricp.HikariCPJdbcDataSource.createConnection(HikariCPJdbcDataSource.scala:14)
> [0] at slick.jdbc.JdbcBackend$BaseSession.<init>(JdbcBackend.scala:453)
> [0] at slick.jdbc.JdbcBackend$DatabaseDef.createSession(JdbcBackend.scala:46)
> [0] at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:145)
> [0] Exception in thread "main" java.sql.SQLTransientConnectionException: database - Connection is not available, request timed out after 5001ms.
I triple-checked the credentials and host, and I’m able to connect to the DB just fine using MySQL Workbench with the same credentials, which to me indicates that the credentials and host URL/port is fine, and that the DB accepts outside connections just fine as well.
Any ideas / help would be much appreciated. 😄Gabe
08/08/2018, 1:37 PMhalborg
08/08/2018, 1:39 PMmanagement
endpoint?Gabe
08/08/2018, 1:49 PMhalborg
08/08/2018, 1:51 PMhalborg
08/08/2018, 1:52 PM<http://yourproject-projectid.now.sh/management|yourproject-projectid.now.sh/management>
halborg
08/08/2018, 1:54 PMGabe
08/08/2018, 1:54 PMhalborg
08/08/2018, 1:54 PMnow ls
shows the deployment has 0 instances, most likely because it cannot connectGabe
08/08/2018, 1:54 PMhalborg
08/08/2018, 1:54 PMGabe
08/08/2018, 1:55 PMhalborg
08/08/2018, 1:55 PMprisma.yml
in your GQL server project and make sure the endpoint is corrrect. Then run prisma deployGabe
08/08/2018, 1:55 PMhalborg
08/08/2018, 1:56 PMGabe
08/08/2018, 1:56 PMGabe
08/08/2018, 1:57 PMhalborg
08/08/2018, 1:58 PMGabe
08/08/2018, 1:59 PMhalborg
08/08/2018, 2:01 PMmarcus
08/08/2018, 3:13 PMmarcus
08/08/2018, 3:13 PM0.0.0.0/0
.marcus
08/08/2018, 3:16 PMhalborg
08/09/2018, 11:22 AMhalborg
08/09/2018, 11:22 AM