Posted Wed, 31 Aug 2022 21:56:27 GMT by Adam Babarsky
Disclaimer - IP addresses and hostnames have been changed to protect the innocent

Hello Everyone

I recently deployed IVION for the first time (successfully I might add) to an internal server and have been asked to make it accessible to external users. We have a web server running IIS that I have full access to so I hoped over there to make some config changes.

First I confirmed that I could resolve the IVION instance from the web server. I plopped '192.168.1.1:8080/iv' in the browser on that machine and the IVION login page popped right up.

Next I followed the documentation here (Documentation Link) to set up a reverse proxy using URL Rewrite.

My desired outcome is to have external users access IVION using https://my.work.com/iv

I'm getting an error after creating the rewrite:

HTTP Error 500.52 - URL Rewrite Module Error.

Outbound rewrite rules cannot be applied when the content of the HTTP response is encoded ("gzip").

From what I can tell responses that are coming from the back-end server are using HTTP Compression, and URL rewrite cannot modify a response that is already compressed. This causes a processing error for the outbound rule resulting in the 500.52 status code.

I've followed the additional documentation bust still can't get past this error.


I'm wondering if any admins out there in IVION land have had a similar experience?
Posted Thu, 01 Sep 2022 10:54:32 GMT by Laurin Gottschall
Hi Adam,&nbsp;<br> <br> this is Laurin from NavVis. Unfortunately we cannot help with specific web server setups but while doing some research I stumbled upon a very good help article from Microsoft. I don't know if you've already come across this one but it might anyway be a good starting point:&nbsp;https://docs.microsoft.com/en-gb/archive/blogs/friis/iis-with-url-rewrite-as-a-reverse-proxy-part-2-dealing-with-500-52-status-codes<br> <br> I hope this helps. If you need further support you may also contact our NavVis Support Engineers by creating a Support Case here in the Portal.&nbsp;<br> <br> Best regards,&nbsp;<br> Laurin
Posted Fri, 09 Sep 2022 05:02:46 GMT by Adam Babarsky

Laurin, thanks for the response. I'm not expecting any official NavVis support for our web server but am just looking to see if any other IVION users have users have tried anything similar. If I'm able to come up with a solution I'll be sure to post it here for the rest of the user community.

Posted Fri, 09 Sep 2022 05:08:28 GMT by Adam Babarsky
After some more troubleshooting I'm no longer getting any 500 errors. However, I'm now getting an authentication error.

{"msg":"Full authentication is required to access this resource","exception":"org.springframework.security.access.AccessDeniedException"}

What's interesting is that this is not a normal IIS error I've seen when troubleshooting. It only displays as plain text.

You must be signed in to post in this forum.

Feedback