Reverse proxy test not working

The login to the reverse proxy (https://ondemand.hpcc.ttu.edu/node/compute-19-10/5432/) on one of the compute nodes using the instructions at https://osc.github.io/ood-documentation/master/app-development/interactive/setup/enable-reverse-proxy.html#verify-it-works produces the error “The requested URL was not found on this server.” If the hostname for the compute node is compute-19-10 do we need to add the hpcc.ttu.edu to the URL so that it is accessed as compute-19-10.hpcc.ttu.edu even though that URL is not recognized locally or outside of the local network?

It’s probably a regex issue.

What’s your host_regex in /etc/ood/config/ood_portal.yml? I’m guessing it should be something like compute-\\d+-\\d+. I don’t think the domain matters a whole lot as long as the hostname is dns addressable with out it.

In any case, it sounds like a regex problem. If you got like a 503 backend proxy error - that’s an addressability problem where the ondemand host cannot connect to the compute node.

Jeff after making the change it works like a charm. Thanks.

1 Like