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.
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.
Wonderful..it solved the problem
ReplyDelete