Excel report generates 502 error
When running the Playground "3. Population Excel" demo, the embedded Excel report displays 502 bad gateway error.
502 - Web server received an invalid response while acting as a gateway or proxy server.
There is a problem with the page you are looking for, and it cannot be displayed. When the Web server (while acting as a gateway or proxy) contacted the upstream content server, it received an invalid response from the content server.
Has Microsoft changed how to embed Excel files?
It works for me. Could you check again? It could have been a temporary outage.
Same issue is still occurring and also occurs on other websites that host the Excel web viewer. Most likely a Microsoft issue, but really odd for the service to be down so long.
We changed the IFRAME URL to 'https://excel.officeapps.live.com/op/view.aspx?src=' and it works now.
Thank you for sharing.
We were checking the preview today and we didn't encounter problems with ms office online service.
Don't you use some kind of proxy? Did you have the same issue in a normal "none corporate" network?
Currently, the iframe url is hardcoded here. We will maybe make it configurable.
The issue was occurring for me on our corporate network and from my home machine. When debugging in the console, it looks like the URL resolved to https://us2-excel. Changing the URL to US1-excel.officeapps.live.com worked, and then tried just https://excel.officeapps.live.com
Thank you. I see it is really an ms problem. I confirm I have the same failures with us2 in url.
Let's see if they are able to resolve it. In the meantime, you can just edit the value here.