wshearn / openshift-community-cartridge-mono

Mono/ASP.NET Community Cartridge for OpenShift
43 stars 24 forks source link

Getting an error 503 while following the tutorial #13

Open Toofle opened 8 years ago

Toofle commented 8 years ago

I followed the tutorial to set up an ASP.NET cartridge but when pressing the link it didn't work. It kept the 503 error from haproxy.

I found the answer to this issue and i hope it can help other people. The resolve this issue follow these steps:

  1. ssh into your application. The links is on the right side of your application.
  2. go the to map /haproxy/conf [cd haproxy/conf]
  3. edit the cfg file [nano haproxy.cfg]
  4. go to the line where it says "option httpchk GET /"
  5. place a # in front of the row to disable the option.
  6. press CTRL + X to close the file, press Y to save, press Y again to keep the same name
  7. reload haproxy [ctl_app restart]

I hope it can help anyone else, because I was stuck on this part for quite some time.