KBEC-00402 - Resolve curl: (47) Maximum (50) redirects followed issue

Problem

You encounter this error message when running the curl command

curl -u admin:changeme -L -k -X GET --header "Accept: application/json" https://<WEBSERVER_LOAD_BALANCER>/rest/v1.0/projects

The output was: curl: (47) Maximum (50) redirects followed

Solution

This is because the WebServer Loadbalancer VIP was configured to forward the request only to http port 80 of EF webserver. Then in <DATA_DIR>/apache/conf, the EF webserver redirects all requests on port 80 to port 443 of the Loadbalancer.

This goes in a loop and fails after 50 retries.

You can resolve this issue by configuring the WebServer Loadbalancer VIP to forward the request to https port 443 of the EF webservers that it is load balancing.

Have more questions? Submit a request

Comments

Powered by Zendesk