In JogetDX from AWS Marketplace can't save application changes

Confluence User - 26 May, 2022

I have set up JogetDX on Windows from AWS Marketplace. I have succeeded in getting it set up with a certificate behind an AWS Load Balancer and can always log in securely. I can run Joget applications that I have uploaded from another instance of JogetDX and forms in those applications save fine. However, when I try to make changes to those applications I get errors. When I try to add items to the Userview it hangs on the second yellow save popup. And when I try to add a new form I get "Sorry, access is forbidden for security reasons. Please refresh the previous form before submitting it." Please advise how I can fix this. Thanks! Bill

server;userviews;forms

3


28 May, 2022
confluenceUser
confluenceUser

For the benefit of anyone else dealing with this, my short term fix was to go into C:\Joget\apache-tomcat-8.5.78\webapps\jw\WEB-INF\classes\Owasp.CsrfGuard.overlay.properties and then set org.owasp.crfguard.Enabled from = true to = false. Apparently this was because of the effects of the load balancer. It appeared that there were more complicated but better ways to accomplish the same thing in a more secure way but I got lost on those.

28 May, 2022
confluenceUser
confluenceUser

What is the error in the Joget log when you hit "Sorry, access is forbidden for security reasons"?

If you enable HTTPS on Load Balancer, then maybe you need to a new Tomcat connector with different port and a https scheme,  and the Load Balancer points to this port.

28 May, 2022
confluenceUser
confluenceUser

I spent the entire day debugging this problem.

I'm running Joget inside Kubernetes and behind the Nginx Ingress Controller with SSL termination.

It turns out the simple fix is to proxy to port 9090 instead of 8080.

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print