5083 ERROR_ENVIRONMENT_ERROR (application path is not specified)

1,495 views
Skip to first unread message

mwarn...@gmail.com

unread,
Feb 21, 2017, 10:30:11 AM2/21/17
to pwm-general
Forgive me, I am a complete noob when it comes to serving web apps with Java. After some research into using Tomcat, I first stopped the service and placed the pwm .war file into /var/lib/tomcat7/webapps and then started Tomcat back up. I then visited ser.ver.ip.adr:8080/pwm and found this '5083' error and could not find any information on Github or the Google Group about it. I clicked on the "Environment Configuration Reference" link and it displayed a page with this message:

error reference 6FD2FF87CF2FFCBEB7B5A9BFB17393011FF76A0A

Where did I go wrong? Should I use a reverse proxy such as nginx if I'm going to use pwm outside of localhost?

Update: I installed nginx and edited my hosts file to visit the specified server_name but it didn't change anything. It works, but I still get the same error 5083.

mwarn...@gmail.com

unread,
Feb 21, 2017, 11:00:08 AM2/21/17
to pwm-general, mwarn...@gmail.com
Got it! I ended up finding the Environment reference which told me that I should update my configuration in WEB-INF/web.xml. I got past the 5083 error, but I still have a problem. It only happens through the nginx proxy, but here it is:

--------------------------------------------------------------------

A security violation has occurred. Please try again later. { 5063 ERROR_SECURITY_VIOLATION (current network address '127.0.0.1' has changed from original network address '0:0:0:0:0:0:0:1') }

--------------------------------------------------------------------

What should I add to my nginx configuration file to fix this?

mwarn...@gmail.com

unread,
Feb 21, 2017, 11:05:07 AM2/21/17
to pwm-general, mwarn...@gmail.com

Figured this one out too. I needed to add:

proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

in my /pwm location block. Hopefully everything runs smoothly from here on out!

liquidp...@gmail.com

unread,
Apr 27, 2017, 1:41:02 PM4/27/17
to pwm-general, mwarn...@gmail.com

Like what? You didn't really explain how you fixed it. I'm stuck on this same error and cannot get past it.

Reply all
Reply to author
Forward
0 new messages