Unable to see a contract deployed


#1

I had deploy a contract in Strato using the dashboard. Everything went ok and I didn’t had any failure.

But now i’m trying to see on the dashboard and wont load.

Im getting this error from the server :

Status Code:

502 Bad Gateway

And Azure says is not part of their support


#2

@GPFactum please confirm that Port 80 is open on your server. This sometimes causes this issue.


#3

Yes, Port 80 is open


#4

@GPFactum I’m not sure what’s causing this issue. Can we schedule a time to chat in more detail?


#5

@eli We could try it , here we have contact time between 8:30 - 17:30 CEST


#6

Sounds good - please schedule a time on the calendar and we can resolve the issue. In the meantime, can you send me the logs from the crash?

You can access the logs using the docker logs <container-name> command. In most cases this will be docker logs strato_bloch_1 , but check your container names using the docker ps command.


#7

@eli

blockapps-bloc: libpq: failed (could not connect to server: Connection refused
	Is the server running on host "10.1.0.4" and accepting
	TCP/IP connections on port 5432?
)
Environment variables:
pguser = postgres
pgpasswd = api
pghost = 10.1.0.4
stratoHost = smart2mwnp.westeurope.cloudapp.azure.com
stratourl = http://smart2mwnp.westeurope.cloudapp.azure.com/strato-api/eth/v1.2
cirrusurl = nginx/cirrus
Generating locales (this might take a while)...
  en_US.UTF-8... done
Generation complete.

It suits me in the next 2 weeks to make an appointment between those two hours. Better when sooner of course.