http/https issue while accessing Developer Portal

Not applicable

I am getting the below exception while trying to access the Devportal from my in-house setup.

4060-devportalissue.png

Request you to please let me know if we have missed something during installations or we need to upgrade to something else. It has become a show stopper for us and not able to do anything.

0 11 1,000
11 REPLIES 11

@Suresh Mishra , Looks like SSL certificate & loading CSS over https issue.

Is Apigee portal running onPremises ?

Yes Anil. It is on-premise setup.

Set the base url in your sites/default/settings.php file, without specifying HTTP or HTTPS:

$base_url ='//my.domain.name';

Try above, Keep us posted.

Hi @Anil Sagar, Still no luck. We tried your option and restarted the services but still the same issue. For the full background on the setup, we are using network load balancer on top of 2 devportals and are using ssl certificate for devportal loadbalancer IP.

Please find below the errors from Chrome debug log:

Failed to load resource: net::ERR_TOO_MANY_REDIRECTS

http://devportal.emaratech.ae/misc/200%20OK Failed to load resource: net::ERR_TOO_MANY_REDIRECTS

http://devportal.emaratech.ae/profiles/apigee/themes/apigee_responsive/js/200%20OK Failed to load resource: net::ERR_TOO_MANY_REDIRECTS

ERR_TOO_Many_redeirects

Failed to load resource: net::ERR_TOO_MANY_REDIRECTS

http://devportal.emaratech.ae/misc/200%20OK Failed to load resource: net::ERR_TOO_MANY_REDIRECTS

http://devportal.emaratech.ae/profiles/apigee/themes/apigee_responsive/js/200%20OK Failed to load resource: net::ERR_TOO_MANY_REDIRECTS

ERR_TOO_Many_redeirects

Mixed Content: The page at 'https://devportal.emaratech.ae/' was loaded over HTTPS, but requested an insecure script

@Suresh Mishra , I don't think we can resolve this in community without access to portal configurations Talk to Apigee Support.

Thanks @Anil Sagar. I have raised the support ticket in Apigee Support Portal but did not get any response yet. Not sure whom to contact for fast resolution. Thank you so much for you quick help.

You may have your load balancers directing to the Dev Portal port 80, which is then redirecting to HTTPS? This sounds like a very specific issue with your load balancer setup. Try debugging the Apache server that is hosting Dev Portal to see what requests the load balancer is sending to it and why it is redirecting. This may help: How to debug Apache mod_rewrite

Also, here is a Drupal document on Using a load balancer or reverse proxy

@suresh mishra..did you fixed the issue? i am facing the same issue