openshift-community-cartridge-mono
openshift-community-cartridge-mono copied to clipboard
Getting an error 503 while following the tutorial
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:
- ssh into your application. The links is on the right side of your application.
- go the to map /haproxy/conf [cd haproxy/conf]
- edit the cfg file [nano haproxy.cfg]
- go to the line where it says "option httpchk GET /"
- place a # in front of the row to disable the option.
- press CTRL + X to close the file, press Y to save, press Y again to keep the same name
- reload haproxy [ctl_app restart]
I hope it can help anyone else, because I was stuck on this part for quite some time.