Getting an "Session expired" error while saving a page
Asked by Marc Rink:

Upon trying to save a newly created page, i receive an error:

![Screenshot-2018-1-30 test - Rink Marc - IDS Logistik GmbH - Confluence.png](/t5/image/serverpage/image-id/13573i862CDD366EFD21D8/image-size/large?v=v2&px=999 "Screenshot-2018-1-30 test - Rink Marc - IDS Logistik GmbH - Confluence.png")

We have jira \& confluence hosted on the same host:

\* jira runs on external interface with https://jira...

\* confluence runs on internal interface with <http://confluence.../confluence>


Answers:
author: Shannon S
body: Hi Marc,

I would start by having a look at the following:

* [Logging into another Atlassian application logs me out of Confluence](https://confluence.atlassian.com/confkb/logging-into-another-atlassian-application-logs-me-out-of-confluence-268043930.html?_gac=1.14793476.1516875507.CI2P1-XurM8CFUK4GwodnowM2w&_ga=2.236712449.1457620748.1517219041-306096126.1516091163)
* [Configuring XSRF Protection](https://confluence.atlassian.com/doc/configuring-xsrf-protection-218276695.html?_gac=1.14793476.1516875507.CI2P1-XurM8CFUK4GwodnowM2w&_ga=2.236712449.1457620748.1517219041-306096126.1516091163)

Can you confirm if you access via the IP you have the same issue?

If the above also do not help, the next step would be to review your Confluence Server Logs at the time you try to save. You should see an error message there that will give us some hint as to what might be occurring.

Regards,

Shannon

comments: author: Marc Rink
body: Hi Shannon,

the two links you sent me did not help and using the plain ip address doesn't help either...

Here is the logging line appearing when trying to save a newly created page:

```
2018-01-30 16:07:02,967 WARN [http-nio-8090-exec-19] [common.security.jersey.XsrfResourceFilter] passesAdditionalBrowserChecks Additional XSRF checks failed for request: https://confluence.ids-logistik.de/confluence/rest/analytics/1.0/publish/bulk , origin: null , referrer: http://confluence.ids.net/confluence/pages/createpage.action , credentials in request: true , allowed via CORS: false
?-- referer: http://confluence.ids.net/confluence/pages/createpage.action?spaceKey=~mrink | url: /confluence/rest/analytics/1.0/publish/bulk | traceId: f6f63afceaf61cd5 | userName: mrink
```

Thanks for help!

Marc


author: Shannon S
body: Hi Marc,

This is just a warning, but seems related to [Cross Site Request Forgery (CSRF) protection changes in Atlassian REST](https://confluence.atlassian.com/kb/cross-site-request-forgery-csrf-protection-changes-in-atlassian-rest-779294918.html).

Do you happen to see any other lines in the logs that are error messages? They will start with ERROR instead of WARN and finish with a Caused by: statement.

Regards,

Shannon


author: Marc Rink
body: Hi Shannon,

sorry - no other log messages indicate an ERROR/WARN messages in the log.

Do you have any other idea?

thank you for your help and regards

Marc


author: Shannon S
body: In that case, I will direct your question to the support team, because we will need to review your Support Zip which will have further relevant information for us.

Please check your email in about 5 minutes for those details.

Thank you!

Shannon


author: Shannon S
body: Hi Marc,

Thank you for providing your full error logs on the support zip.

My colleague was able to look through your logs there, and we believe it's related to this bug:

* [CONFSERVER-52393](https://jira.atlassian.com/browse/CONFSERVER-52393)

As he mentioned in the case, this should be resolved as of 6.2.1, so please feel free to test this in a staging environment running 6.2.1 and let us know if the issue continues.

Regards,

Shannon


author: Marc Rink
body: Hi Shannon,

trying to create a docker-instance of confluence and restoring the backup yields the following:

![Unbenannt.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/13864iAEA8C1976C09A3C5/image-size/large?v=v2&px=999 "Unbenannt.PNG")

Currently stalling. the backup.zip file was about 400 MB in size and has been put into the restore directory. Is there a faster possibility to recreate our realtively small instance?

thank you \& best regards

Marc


author: Shannon S
body: Hi Marc,

Could you let me know if you're using the XML backup as a method to perform the upgrade that was recommended by my colleague in order to eliminate the bug?

If so, please note that our [Upgrading Confluence](https://confluence.atlassian.com/doc/upgrading-confluence-4578.html) documentation:
> XML backups should **not** be used to upgrade Confluence.

Please be sure to follow the above documentation for the recommended upgrade procedure.

Regards,

Shannon