how to fix 403 error?

Confluence User - 04 Mar, 2021

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)

403

6


04 Mar, 2021
confluenceUser
confluenceUser

Anything in the server log that shows up?

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

04 Mar, 2021
confluenceUser
confluenceUser

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 =====

04 Mar, 2021
confluenceUser
confluenceUser

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.

04 Mar, 2021
confluenceUser
confluenceUser

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=

04 Mar, 2021
confluenceUser
confluenceUser

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?

04 Mar, 2021
confluenceUser
confluenceUser

Even I can't connect to the database.

RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print