web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / 502 Error Web server r...
Power Pages
Unanswered

502 Error Web server received an invalid response when restarting Power Apps Portal

(0) ShareShare
ReportReport
Posted on by

I restarted my Power Apps portal which was working fine and when I restarted it I got a 502 server error. I've pasted the error below. I've tried restarting the server multiple times but the error still remains. The only major thing I changed was adding a new image resource to a web form. I don't see why that should influence the root site. Any ideas how to fix this issue?

 

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.
Categories:
I have the same question (0)
  • v-siky-msft Profile Picture
    on at

    Hi @Anonymous ,

     

    Check this blog: PowerApps Portal Force Restart 

    The Restart command is basically sending an IISRESET command to the Azure App Service powering the portal behind the scenes. then your portal may face a 503 or 502 error.

    The evasive technique is to actually turn off the portal and then turn it back on. Effectively doing an IIS STOP and then IIS START.

    You can actually do this from the PowerApps Portals admin center, Portal Details, scroll to the bottom and see the Change Portal State.
    Now select the Off state, and select Update.
    Navigate to your portal and wait to receive the App Stopped message screen.
    snip_20190918000845.png
    Once you see this screen, switch back to the Portal Details, select the On state and select Update.
     
    Hope this helps.
    Sik
  • Community Power Platform Member Profile Picture
    on at

    @v-siky-msftthanks for the reply. I tried doing those steps twice. Unfortunately I still get the 502 error.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Pages

#1
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard