1
0
-1

I got following problem. Can someone help me to fix it?

Sorry, access is forbidden for security reasons.
Please refresh the previous form before submitting it.

Security Violation (Code 403)

    CommentAdd your comment...

    2 answers

    1.  
      2
      1
      0

      Check if the database connection URL, port and other database credentials are correct in the configuration file.

      Also verify if you are using correct JDBC driver.

      1. Manjeet

        I am using the default database connection. It was working yesterday . Here are the configuration settings if you want to look: 

        workflowDriver=com.mysql.cj.jdbc.Driver
        workflowUrl=jdbc\:mysql\://localhost\:3307/jwdb?characterEncoding\=UTF-8&useSSL\=false&allowPublicKeyRetrieval\=true&serverTimezone\=UTC
        workflowUser=root
        profileName=
        workflowPassword=

      2. Subhasis Haldar

        Check if you can access the port 3307 from appserver.

        Is this database jwdb up and running? Are you able to connect with this database?

      3. Manjeet

        Even I can't connect to the database.

      CommentAdd your comment...
    2.  
      1
      0
      -1

      Anything in the server log that shows up?

      You might be missing CSRF token. Make sure the form is loaded completely before submitting it.

      1. Manjeet

        How to get that CSRF token?

        This is what I got in server log:

        ERROR 04 Mar. 2021 10:31:29 org.joget.commons.spring.web.CustomContextLoaderListener - ===== Error initializing WebApplicationContext =====

      CommentAdd your comment...