Error XSRF at the start up application
Asked by Eduardo Bascur:

*** ** * ** ***

**ATLASSIAN-CONFLUENCE.LOG**

*** ** * ** ***

2022-10-04 09:27:08,888 WARN \[http-nio-8090-exec-9\] \[common.security.jersey.XsrfResourceFilter\] passesAdditionalBrowserChecks Additional XSRF checks failed for request: <http://confluence.domain.cl/rest/troubleshooting/1.0/check/process/> , origin: [http://10.1.1.35:8090](http://10.1.1.35:8090/) , referrer: <http://10.1.1.35:8090/plugins/servlet/troubleshooting/view/> , credentials in request: true , allowed via CORS: false -- referer: <http://10.1.1.35:8090/plugins/servlet/troubleshooting/view/> \| url: /rest/troubleshooting/1.0/check/process/ \| traceId: bf85b190f52cdc45 \| userName: admin

*** ** * ** ***

**CONFIGURATION SERVER.XML**

*** ** * ** ***

\<Server port="8000" shutdown="SHUTDOWN"\> \<Service name="Tomcat-Standalone"\>

**\<Connector port="8090" connectionTimeout="20000" redirectPort="8443" maxThreads="48" maxPostSize="16777216" minSpareThreads="10" enableLookups="false" acceptCount="10" URIEncoding="UTF-8" protocol="org.apache.coyote.http11.Http11NioProtocol" scheme="http" proxyName="confluence.domain.cl" proxyPort="80"/\>**

\<Engine name="Standalone" defaultHost="localhost"\> \<Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="false" startStopThreads="4"\> \<Context path="" docBase="../confluence" reloadable="false" useHttpOnly="true"\> \<!-- Logging configuration for Confluence is specified in confluence/WEB-INF/classes/log4j.properties --\> \<Manager pathname=""/\> \<Valve className="org.apache.catalina.valves.StuckThreadDetectionValve" threshold="60"/\> \<!-- <http://tomcat.apache.org/tomcat-9.0-doc/config/valve.html#Access_Log_Valve> --\> \<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" maxDays="30" pattern="%t %{X-AUSERNAME}o %I %h %r %s %Dms %b %{Referer}i %{User-Agent}i" prefix="conf_access_log" requestAttributesEnabled="true" rotatable="true" suffix=".log" /\> \<!-- <http://tomcat.apache.org/tomcat-9.0-doc/config/valve.html#Remote_IP_Valve> --\> \<Valve className="org.apache.catalina.valves.RemoteIpValve" /\> \</Context\> \<Context path="${confluence.context.path}/synchrony-proxy" docBase="../synchrony-proxy" reloadable="false" useHttpOnly="true"\> \<Valve className="org.apache.catalina.valves.StuckThreadDetectionValve" threshold="60"/\> \</Context\> \</Host\> \</Engine\> \</Service\> \</Server\>

*** ** * ** ***

I have tried to configure confluence to start under the url confluence.domain.cl on port 80, however it has not been possible. When reviewing the log, an error "XSRF checks failed for request" is observed. I have made the configurations that atlassian indicates in its documentation, however the error continues to appear. Do you know where else I should set the hostname? Or someone will know how to solve the problem, I've been trying for days to get this to work, without success.

I have other instances of JIRA (business, service desk and software), I have had no problems with the configurations, however it seems that in confluence you have to configure the name somewhere else besides the server.xml file

Thanks in advance.


Answers:
author: Eduardo Bascur
body: Hi, someone who can help me? I'm still stuck with this problem

thx.


author: Eduardo Bascur
body: any idea?

Thx


Tags: confluence-server

server