Zum Hauptinhalt gehen

Accessing VertiGIS Web site outside of network when the Site is Subject to User Authentication

Kommentare

7 Kommentare

  • Nico Burgerhart

    Is there more info/errors in the browser console? Which request gives the 404 error?

    1
  • Gary Pearson

    Hi Nico,

    Below is what shows in the developer tools console. The > arrow at the end doesn't expand to show any more detail. We get the 404 error after sign-in via ArcGIS Enterprise Portal, when it should redirect back to the site constructed in VertiGIS Web. Within our network it does continue back to the VertiGIS site.

    The sites constructed in VertiGIS Web that we have set to public access (i.e. doesn't go through ArcGIS authentication) work fine outside the network. So does ArcGIS Authenticated external portal access...

    0
  • Nico Burgerhart

    I think the 404 error is unrelated here, it seems a favicon cannot be loaded here.

    I can reproduce this on the following app, the app loads correctly.

    https://gis.provincie-utrecht.nl/Geocortex/WebViewer/?app=e691e7d6b6d348b1a331dd5d298ac85c

    0
  • Gary Pearson

    Yeah, the 404 error is what displays in the browser. In terms of the site load steps, it seems like the redirect from ArcGIS Authentication back to the VertiGIS app is where the issue is happening. From outside of the network, it can't seem to hit the app URL even though the authentication process has occurred, hence the 404 error?

    This happens even with a blank test app when ArcGIS authentication applies. I've pasted what shows in the developer tools console below, when the app is accessed inside the network and works. The apps that are set to public work outside the network and have generally the same developer tools console output as below when accessed externally.

     

     

     

    0
  • Nico Burgerhart

    Do you get more relevant info in the console when you add &debug=true to the app URL?

    0
  • Gary Pearson

    Thanks. I just added that to the URL (shown below). 

     

    The 404 window looks like this (our portal details removed in the highlighted sections):

    I'm not sure if the additional console information is giving any clues though?

    0
  • Gary Pearson

    So I think we've identified the issue, but not sure of the solution. When inside the network the token url, after login, uses the domain of our VertiGIS application server and works as expected. If outside of the network, the VertiGIS application server domain is replaced with our ArcGIS enterprise portal domain in the token URL instead. 

    As far as we can tell, we don't have any network redirects or anything in place that would force this url change. We've tested this by using a different reverse proxy etc. We then tried adding redirects at our DMZ and local server levels, but the URL isn't changing.... Anyone know what might be going on or have a solution they recommend?

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.