Options

WebClient Configuration with ARR

PascalkPascalk Member Posts: 1
Hey
I got a problem with the configuration with the Business Central WebClient and Application Request Routing (ARR).
Before the configuration i have access to the WebClient.
After the configuration i get following error:HTTP Error 502.5 - Process Failure
Common causes of this issue:
The application process failed to start
The application process started but then stopped
The application process started but failed to listen on the configured port

Troubleshooting steps:
Check the system event log for error messages
Enable logging the application process' stdout messages
Attach a debugger to the application process and inspect
For more information visit: https://go.microsoft.com/fwlink/?LinkID

I found the following Solution:
Configure Headers in Application Request Routing (ARR) Rules

Dynamics NAV Web Server runs on ASP .NET Core, which requires both an X-Forwarded-For header and X-Forwarded-Proto header in ARR routing rules. However, by default, ARR only adds the X-Forwarded-For header; not the X-Forwarded-Proto header. So will have to configure the X-Forwarded-Proto header manually.

On the server farm in IIS, add or edit a routing rule to include a server variable for X-Forwarded-Proto. For example, using IIS Manager, select Routing Rules > URL Rewrite > Edit > Server Variables, and then add a server variable that has the following settings:
Name Value Replace
HTTP_X_FORWARED_PROTO http ot https true

But i still get the same problem.
Someone already got a solution for this error?

1logqv7ojjbu.png

And i tried it also with HTTP_X_FORWARDED_PROTO but still got the same problem.
Sign In or Register to comment.