Select to view content in your preferred language

Portal storymaps - infinite redirect loop (with 404)

1439
2
Jump to solution
07-05-2021 05:40 AM
Labels (1)
MatthewJWood
Emerging Contributor

Hi,

We have an issue with our newly upgraded install of portal (10.7.1 - 10.8.1) where the storymaps app seems to be stuck in a loop where it tries to sign in.

Clicking the /Home story maps link gives:

https://prod.[our-on-premise-portal].net/portal//apps/storymaps/

 

which then redirects to the oauth-callback route

typically I see:

https://prod.[our-on-premise-portal].net/portal//apps/storymaps/oauth-callback?returnURL=%2Fportal%2...

The web server returns a 404 response and then seems to reload the callback URL which then 404s and callsback and so on.....

I have tried:

Comparing the files deployed into the storymaps app folder with another 10.8.1 install to make sure it's all there (it is)

Tinkering with the URLs (removing the web adaptor from the equation - manually constructing / modifying URLs) no luck

Looking at the config file - hacking around with the web.inf (getting pretty desperate)

Any ideas on what might cause this problem / how to fix it? - I want to avoid reinstalling the portal application if possible

 

 

 

 

 

0 Kudos
1 Solution

Accepted Solutions
JonathanQuinn
Esri Notable Contributor

The problem is the trailing slash on the WebContextURL property in Portaladmin, ex.

 

https://prod.[our-on-premise-portal].net/portal//

Remove the trailing slash and things should start working.

View solution in original post

0 Kudos
2 Replies
JonathanQuinn
Esri Notable Contributor

The problem is the trailing slash on the WebContextURL property in Portaladmin, ex.

 

https://prod.[our-on-premise-portal].net/portal//

Remove the trailing slash and things should start working.

0 Kudos
MatthewJWood
Emerging Contributor

Yeah that worked! I had tried tinkering with URLs to remove that double slash so had assumed that it wasn't causing this issue - I was surprised to see the double slash though. If it isn't mentioned somewhere already it would be worth adding a note to the documentation / validation etc.

Many thanks Johnathan

Matt

0 Kudos