Showing posts with label Apps. Show all posts
Showing posts with label Apps. Show all posts

Thursday, July 24, 2014

Hosted Apps returns "An unexpected error has occurred." for HTTPS but works for HTTP



Hosted Apps returns "An unexpected error has occurred." for HTTPS but works for HTTP


Issue: I set up a new Hosted Apps configuration using a separate dedicates domain name with a wildcard certificate.  Everything works fine for HTTP access but when I access via HTTPS I just get a "An unexpected error has occurred" message in the browser.

Cause: The App request URL and the App service response URL for the requested App must be on the same protocol (either HTTP or HTTPS)

In my case the App request URL was over HTTPS but the App service response URL was over HTTP (i.e.). because that is the URL (Protocol) set in the DEFAULT ZONE of that web application.

The App service respond using the Default zone protocol. This is a security measure to avoid CROSS-DOMAIN attacks when the app is requested or launched.

Resolution: please follow the below steps to resolve the issue.

1.   If the Site/App is browsed over HTTP and you experience the above behavior (a blank Page), set the Default zone URL of that web application to HTTP and try again.

2.   If the Site/App is browsed over HTTPS and you experience the above behavior (a blank Page), set the Default zone URL of that web application to HTTPS and try again.
 


I hope the above information will help you to resolve the issue, in case of any queries/questions regarding the above mentioned information then please let me know. I would be more than happy to help you as well as resolves your issues, Thank you.

Related Posts Plugin for WordPress, Blogger...

ShareThis

X