akash-network / awesome-akash

Awesome List of Akash Deployment Examples
Apache License 2.0
306 stars 220 forks source link

502 Bad Gateway? #380

Open stillmar opened 1 year ago

stillmar commented 1 year ago

I installed Stable Diffusion on cloudmos of Akash Network.

https://github.com/88plug/awesome-akash/tree/master/stable-diffusion-ui

After the installation was completed, I opened the host URL provided on the LEASES tab but received a 502 Bad Gateway error message.

I tried specifying the port after the URL, but it still didn't work.

http://xxxxxxxxxx.xxxx.xxx.com:9000

What could be the reason for this?

Can someone help me?

88plug commented 1 year ago

What could be the reason for this?

Hello! After you deploy the application, you should first check events. You will see like this:

lrfm1bvp6pdan45k1u4dvdo6tg.ingress.sfo.computer: [Normal] [Sync] [Ingress] Scheduled for sync
lrfm1bvp6pdan45k1u4dvdo6tg.ingress.sfo.computer: [Normal] [Sync] [Ingress] Scheduled for sync
lrfm1bvp6pdan45k1u4dvdo6tg.ingress.sfo.computer: [Normal] [Sync] [Ingress] Scheduled for sync
lrfm1bvp6pdan45k1u4dvdo6tg.ingress.sfo.computer: [Normal] [Sync] [Ingress] Scheduled for sync
lrfm1bvp6pdan45k1u4dvdo6tg.ingress.sfo.computer: [Normal] [Sync] [Ingress] Scheduled for sync
lrfm1bvp6pdan45k1u4dvdo6tg.ingress.sfo.computer: [Normal] [Sync] [Ingress] Scheduled for sync
stable: [Normal] [Scheduled] [Pod] Successfully assigned ka4pen8dmq7i5aa3qthr9n3b99i7lbdmv2b7ov6du9d5c/stable-diffusion-ui-86f66f7cf4-hknpz to node7
stable: [Normal] [Pulling] [Pod] Pulling image "cryptoandcoffee/akash-stable-diffusion-ui:4"
stable: [Normal] [SuccessfulCreate] [ReplicaSet] Created pod: stable-diffusion-ui-86f66f7cf4-hknpz
stable: [Normal] [ScalingReplicaSet] [Deployment] Scaled up replica set stable-diffusion-ui-86f66f7cf4 to 1
stable: [Normal] [Pulled] [Pod] Successfully pulled image "cryptoandcoffee/akash-stable-diffusion-ui:4" in 6.918896881s
stable: [Normal] [Created] [Pod] Created container stable-diffusion-ui
stable: [Normal] [Started] [Pod] Started container stable-diffusion-ui

Then click on LOGS to check the logs....you will see the installation is still going on....you need to be patient as it will retrieve the latest version of the application! This can take a few minutes.

Once the logs stop updating you should be able to click on the URL.