# 403 Forbidden on Logins (started after update to latest version)

**URL:** <https://meta.discourse.org/t/403-forbidden-on-logins-started-after-update-to-latest-version/52800>\
**Category:** Product Support\
**Created:** [2016 年11 月 11 日 13:26 UTC](https://meta.discourse.org/t/403-forbidden-on-logins-started-after-update-to-latest-version/52800 "2016-11-11T13:26:13Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

作者： ![Squirrel](https://avatars.discourse-cdn.com/v4/letter/s/96bed5/32.png) [@Squirrel](https://meta.discourse.org/u/Squirrel)\
发布日期： [2016 年11 月 11 日 13:26 UTC](https://meta.discourse.org/t/403-forbidden-on-logins-started-after-update-to-latest-version/52800/1 "2016-11-11T13:26:13Z")

</div>

as i wanted to try out the new android app i also thought it to be a great idea to update the board to the latest version. v1.7.0.beta7 +83. andi also updated to the latest docker\_manager version.

 ![](https://global.discourse-cdn.com/meta/original/3X/9/5/95e0bca66cefd147b5d75faa0004f7c3c04e11db.png)

the android client worked nicely, great work guys 👍

but then i started to realize some odd behaviors. other users confirmed the problems.

✅ chrome (linux): i can still post and do everything (i won’t logout tho, it’s my last working login)  
⛔ opera (linux): couldn’t post anymore (403 forbidden). after logout, can’t login again (403 forbidden aka unknown error as seen below)  
⛔ firefox (linux): never used before to access the board, can’t login  
⛔ chrome (android): i’m still able to browse the board but i can’t post anymore

as i mentioned, other users experience the same strange behavior on their systems (mobile and workstations). with windows and IE as well.

**the error message on the login page:**

 ![](https://global.discourse-cdn.com/meta/original/3X/2/f/2f954ca47b862aae31100ee8018008193fc80113.png)

in the opera network console i can only see the 403 being returned, nothing else of helpful info there.

the log from logs/production.log

```
Started POST "/session" for MYIP at 2016-11-11 12:27:18 +0000
Processing by SessionController#create as */*
  Parameters: {"login"=>"MYUSERNAME", "password"=>"[FILTERED]"}
Can't verify CSRF token authenticity
  Rendered text template (0.0ms)
Filter chain halted as :verify_authenticity_token rendered or redirected
Completed 403 Forbidden in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)

```

i deleted all cookies and cleared the cache, didn’t help. i rebuilt the docker container and restarted my server, didn’t help.

i found those topics which seem related but also didn’t help:

- [Login - Can't verify CSRF token authenticity](https://meta.discourse.org/t/login-cant-verify-csrf-token-authenticity/41181)
- [https://meta.discourse.org/t/vagrant-login-fails-with-unknown-error-caused-by-csrf/23913](https://meta.discourse.org/t/vagrant-login-fails-with-unknown-error-caused-by-csrf/23913)
- [https://meta.discourse.org/t/error-403-forbidden/32039](https://meta.discourse.org/t/error-403-forbidden/32039)

i also tried incognito windows but also no success to login.

this instance of discourse runs for three years now i and i migrated it to docker when it was time to do so and it always worked more or less smoothly. it runs on a ubuntu 1404. it is not open to public so i cannot provide a URL to test for others.

anyone experienced anything similar? help would really be appreciated.

the only other thing i changed since yesterday is i generated a master api key and later on revoked it. this just as an additional info as i’m not sure if it could have any side effects.

---

_[View the full topic](https://meta.discourse.org/t/403-forbidden-on-logins-started-after-update-to-latest-version/52800)._
