Select to view content in your preferred language

Portal stopped working after HTTP redirect

905
7
02-23-2023 09:04 AM
RyanColeman
Regular Contributor

Enterprise 11.0

I tried to set up a redirect in IIS 10 (windows server 2022), it broke my portal it now says

Page not found


Type: Status Report

Message: The requested resource [/arcgis/home/] is not available

Description: http.404:The requested resource [/arcgis/home/] is not available


Portal for ArcGIS

 

/arcgis/home/ also gives a HTTP Error 404

I've turned off the redirect in IIS and looked through the IIS config files. I've restarted IIS, the Portal services, the whole server. My ArcGIS Server still works and I can still get into portaladmin, though it seems to think everything is fine. I looked at the log and it says The portal has been initialized and configured but is not accessible. The internal portal database does not appear to be running or accepting connections.

 

0 Kudos
7 Replies
Scott_Tansley
MVP Regular Contributor

have you restarted the windows service?  Did you change the webcontexturl at all?

 

Scott Tansley
https://www.linkedin.com/in/scotttansley/
0 Kudos
RyanColeman
Regular Contributor

Yes restarted all the windows services. I didn't change anything except the IIS Redirect and I changed it back. I also cleared my browser cache

0 Kudos
Scott_Tansley
MVP Regular Contributor

Are you using ArcGIS Web Adaptors?   Are you using something like ARR for the redirect, or what does the redirect rule look like?

Given that you can hit portal admin, what happens if you use:

https://machine.domain.com:7443/arcgis/home ??

 

Scott Tansley
https://www.linkedin.com/in/scotttansley/
0 Kudos
RyanColeman
Regular Contributor

Yes web adaptors for portal and server. I can access portaladmin through the portal web adaptor and server manager works through the server web adaptor. I get the same Page not found error using the :7443 FQDN URL for portal. The redirect was from the Default Website I wanted it to redirect to the portal web adaptor, that's when this all started

0 Kudos
CatherineKoerber
Emerging Contributor

@RyanColeman

I am having the same issue with Portal page not found but everything else, like you stated, works fine (server manager and portaladmin). Did you ever find a solution? 

Thanks,

Catherine

0 Kudos
RyanColeman
Regular Contributor

Catherine,

I just removed the redirect and rebuilt the web adapters to get it working, I never did find a way to redirect from the default site to the portal

0 Kudos
CatherineKoerber
Emerging Contributor

Thanks Ryan!

0 Kudos