jhony0311
06/15/2018, 2:17 PMprisma deploy
I get the following error Could not connect to server at <http://localhost:4466>. Please check if your server is running.
Any clue on what is needed to have that working?Andrew Mead
06/15/2018, 2:21 PMjhony0311
06/15/2018, 2:21 PMAndrew Mead
06/15/2018, 2:21 PMjhony0311
06/15/2018, 2:22 PMAndrew Mead
06/15/2018, 2:23 PMdocker logs yourContainerName
. You can always run docker ps
to get a list of all containers to find the name.jhony0311
06/15/2018, 2:26 PMAndrew Mead
06/15/2018, 2:27 PMjhony0311
06/15/2018, 3:04 PMjhony0311
06/15/2018, 3:05 PMJun 15, 2018 2:24:42 PM org.postgresql.Driver connect
SEVERE: Connection error:
org.postgresql.util.PSQLException: FATAL: no pg_hba.conf entry for host "200.123.198.10", user "ximdxudtymukbs", database "postgres", SSL off
at org.postgresql.core.v3.ConnectionFactoryImpl.doAuthentication(ConnectionFactoryImpl.java:473)
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:205)
at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)
at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:195)
at org.postgresql.Driver.makeConnection(Driver.java:452)
at org.postgresql.Driver.connect(Driver.java:254)
at slick.jdbc.DriverDataSource.getConnection(DriverDataSource.scala:101)
at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:341)
at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:193)
at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:430)
at com.zaxxer.hikari.pool.HikariPool.access$500(HikariPool.java:64)
at com.zaxxer.hikari.pool.HikariPool$PoolEntryCreator.call(HikariPool.java:570)
at com.zaxxer.hikari.pool.HikariPool$PoolEntryCreator.call(HikariPool.java:563)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
jhony0311
06/15/2018, 3:07 PMversion: '3'
services:
prisma:
image: prismagraphql/prisma:1.9
restart: always
ports:
- "4466:4466"
environment:
PRISMA_CONFIG: |
port: 4466
# uncomment the next line and provide the env var PRISMA_MANAGEMENT_API_SECRET=my-secret to activate cluster security
# managementApiSecret: my-secret
databases:
default:
connector: postgres
host: <http://ec2-75-101-142-91.compute-1.amazonaws.com|ec2-75-101-142-91.compute-1.amazonaws.com>
port: '5432'
database: d3v7ggj9rspmde
user: ximdxudtymukbs
password: a7afeb85b698988ad7101d54af63e94d8d250c981c1bac423e3f78a0858def89
migrations: true
Andrew Mead
06/15/2018, 3:20 PMjhony0311
06/15/2018, 3:27 PMAndrew Mead
06/15/2018, 3:29 PMjhony0311
06/15/2018, 3:29 PMAndrew Mead
06/15/2018, 3:29 PMAndrew Mead
06/15/2018, 3:30 PMjhony0311
06/15/2018, 3:31 PMAndrew Mead
06/15/2018, 3:33 PMjhony0311
06/15/2018, 3:34 PMAndrew Mead
06/15/2018, 3:35 PMdivyendu
06/15/2018, 3:40 PMjhony0311
06/15/2018, 3:40 PMjhony0311
06/15/2018, 3:40 PMdivyendu
06/15/2018, 3:41 PMjhony0311
06/15/2018, 3:43 PMAndrew Mead
06/15/2018, 3:47 PMjhony0311
06/15/2018, 11:04 PMdivyendu
06/17/2018, 10:20 AMdivyendu
06/20/2018, 11:16 AMjhony0311
06/21/2018, 10:06 PMJun 21, 2018 10:05:18 PM org.postgresql.Driver connect
SEVERE: Connection error:
org.postgresql.util.PSQLException: FATAL: too many connections for role "ximdxudtymukbs"
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2433)
at org.postgresql.core.v3.QueryExecutorImpl.readStartupMessages(QueryExecutorImpl.java:2566)
at org.postgresql.core.v3.QueryExecutorImpl.<init>(QueryExecutorImpl.java:131)
at org.postgresql.core.v3.ConnectionFactoryImpl.openConnectionImpl(ConnectionFactoryImpl.java:210)
at org.postgresql.core.ConnectionFactory.openConnection(ConnectionFactory.java:49)
at org.postgresql.jdbc.PgConnection.<init>(PgConnection.java:195)
at org.postgresql.Driver.makeConnection(Driver.java:452)
at org.postgresql.Driver.connect(Driver.java:254)
at slick.jdbc.DriverDataSource.getConnection(DriverDataSource.scala:101)
at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:341)
at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:193)
at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:430)
at com.zaxxer.hikari.pool.HikariPool.access$500(HikariPool.java:64)
at com.zaxxer.hikari.pool.HikariPool$PoolEntryCreator.call(HikariPool.java:570)
at com.zaxxer.hikari.pool.HikariPool$PoolEntryCreator.call(HikariPool.java:563)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
jhony0311
06/21/2018, 10:06 PMversion: '3'
services:
prisma:
image: prismagraphql/prisma:1.10
restart: always
ports:
- "4466:4466"
environment:
PRISMA_CONFIG: |
port: 4466
# uncomment the next line and provide the env var PRISMA_MANAGEMENT_API_SECRET=my-secret to activate cluster security
# managementApiSecret: my-secret
databases:
default:
connector: postgres
host: <http://ec2-75-101-142-91.compute-1.amazonaws.com|ec2-75-101-142-91.compute-1.amazonaws.com>
port: '5432'
database: d3v7ggj9rspmde
user: ximdxudtymukbs
password: a7afeb85b698988ad7101d54af63e94d8d250c981c1bac423e3f78a0858def89
migrations: true
ssl: true
jhony0311
06/21/2018, 10:07 PMjhony0311
06/21/2018, 11:02 PMdivyendu
06/22/2018, 4:40 AMjhony0311
06/22/2018, 12:56 PMdivyendu
06/22/2018, 1:10 PMjhony0311
06/22/2018, 1:11 PMjhony0311
06/22/2018, 7:35 PMdivyendu
06/22/2018, 9:26 PM