# CSRF token verification failed

**URL:** <https://community.zammad.org/t/csrf-token-verification-failed/3562>\
**Category:** Technical assistance\
**Created:** [December 4, 2019, 8:30am UTC](https://community.zammad.org/t/csrf-token-verification-failed/3562 "2019-12-04T08:30:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![oschmidt](https://community.zammad.org/letter_avatar_proxy/v4/letter/o/a698b9/32.png) [@oschmidt](https://community.zammad.org/u/oschmidt)\
**Post date:** [December 4, 2019, 8:30am UTC](https://community.zammad.org/t/csrf-token-verification-failed/3562/1 "2019-12-04T08:30:53Z")

</div>

- Used Zammad version: 3.2
- Used Zammad installation source: package
- Operating system: ubuntu 16.04.6
- Browser + version: Chrome/Firefox

### Actual behavior:

On login I get the error:

# CSRF token verification failed

Since this night I’m not able to login into my Zammad installation.

Since 01:37 this morning there are a lot of the following erros in my log file:

> **error log**
>
> [Wed Dec 04 01:37:08.223377 2019] [proxy:error] [pid 14708] (111)Connection refused: AH00957: WS: attempt to connect to 127.0.0.1:6042 (localhost) failed  
> [Wed Dec 04 01:37:08.223583 2019] [proxy:error] [pid 14708] AH00959: ap\_proxy\_connect\_backend disabling worker for (localhost) for 60s  
> [Wed Dec 04 01:37:08.223596 2019] [proxy\_wstunnel:error] [pid 14708] [client 79.192.201.109:39696] AH02452: failed to make connection to backend: localhost  
> [Wed Dec 04 01:37:08.223811 2019] [proxy:error] [pid 14708] (111)Connection refused: AH00957: HTTP: attempt to connect to 127.0.0.1:3000 (localhost) failed  
> [Wed Dec 04 01:37:08.223820 2019] [proxy:error] [pid 14708] AH00959: ap\_proxy\_connect\_backend disabling worker for (localhost) for 60s  
> [Wed Dec 04 01:37:08.223824 2019] [proxy\_http:error] [pid 14708] [client 79.192.201.109:39696] AH01114: HTTP: failed to make connection to backend: localhost  
> [Wed Dec 04 01:37:13.156531 2019] [proxy:error] [pid 16623] (111)Connection refused: AH00957: WS: attempt to connect to 127.0.0.1:6042 (localhost) failed

Any idea what could be wrong? It worked for weeks without any problems…

---

<div class="post-metadata">

**Author:** ![MrGeneration](https://community.zammad.org/user_avatar/community.zammad.org/mrgeneration/32/9260_2.png) [@MrGeneration](https://community.zammad.org/u/MrGeneration)\
**Post date:** [December 4, 2019, 8:32am UTC](https://community.zammad.org/t/csrf-token-verification-failed/3562/2 "2019-12-04T08:32:50Z")

</div>

Please take a look at this thread which is quite current:

> [@Fresh install 3.2.x: CSRF token verification failed](https://community.zammad.org/t/fresh-install-3-2-x-csrf-token-verification-failed/3080):
>
> Hi, on a fresh install of Zammad 3.2.x (source installation on ubuntu 18.04 lts) I get “CSRF token verification failed!” on all logins after the initial configuration step (initial setup of an admin user was successful). I can not find any documentation/FAQ with infos on this and the logfile is also not very informative. Any ideas how to debug? Thx, Thommie

---

<div class="post-metadata">

**Author:** ![MrGeneration](https://community.zammad.org/user_avatar/community.zammad.org/mrgeneration/32/9260_2.png) [@MrGeneration](https://community.zammad.org/u/MrGeneration)\
**Post date:** [December 4, 2019, 8:33am UTC](https://community.zammad.org/t/csrf-token-verification-failed/3562/3 "2019-12-04T08:33:22Z")

</div>

By the way, connection refused has nothing to do witgh CSRF and means that Zammad proberbly doesn’t run.

---

<div class="post-metadata">

**Author:** ![oschmidt](https://community.zammad.org/letter_avatar_proxy/v4/letter/o/a698b9/32.png) [@oschmidt](https://community.zammad.org/u/oschmidt)\
**Post date:** [December 4, 2019, 8:40am UTC](https://community.zammad.org/t/csrf-token-verification-failed/3562/4 "2019-12-04T08:40:06Z")

</div>

Oh, gosh…  
I saw/read the topic but didn’t saw the last posts.  
Thanks a lot your solution worked for my.

---

<div class="post-metadata">

**Author:** ![system](https://community.zammad.org/uploads/default/original/1X/5c5afaea2d23f811dbec33cd4edb02fa29d3262f.png) [@system](https://community.zammad.org/u/system)\
**Post date:** [April 2, 2020, 8:40am UTC](https://community.zammad.org/t/csrf-token-verification-failed/3562/5 "2020-04-02T08:40:08Z")

</div>

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.
