# Error page appears repeatedly after you try accessing a private page

**URL:** https://meta.discourse.org/t/error-page-appears-repeatedly-after-you-try-accessing-a-private-page/170557
**Category:** Bug
**Created:** [November 19, 2020, 12:07am UTC](https://meta.discourse.org/t/error-page-appears-repeatedly-after-you-try-accessing-a-private-page/170557 "2020-11-19T00:07:58Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![WooleyWool](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wooleywool/32/198454_2.png) [@WooleyWool](https://meta.discourse.org/u/WooleyWool)
#### Post date: [November 19, 2020, 12:07am UTC](https://meta.discourse.org/t/error-page-appears-repeatedly-after-you-try-accessing-a-private-page/170557/1 "2020-11-19T00:07:58Z")

</div>

Hi, so I was just browsing through the forums and one of the posts had a link to the lounge. I tapped it and of course, it’ll take me to the oops page. What’s odd is when I try to the home page by pressing the logo, the oops page appears again. Even going to another post, it does the same thing. Unfortunately, I can’t post a video about it but it’s easy to replicate. For instance, try going to #lounge but you’re a new member.

Note: This happens on every site, not just this one. I can confirm that I can replicate this repeatedly and the only real way of fixing this is to open a new tab and go to the forum.

I’d just like to note that this is my first time trying to post a bug, I’m sorry if there are any inconsistencies in my post but I noticed this bug and would like to get this addressed.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [November 19, 2020, 12:41am UTC](https://meta.discourse.org/t/error-page-appears-repeatedly-after-you-try-accessing-a-private-page/170557/2 "2020-11-19T00:41:59Z")

</div>

Can we repro this @tshenry?

---

<div class="post-metadata">

### Author: ![WooleyWool](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wooleywool/32/198454_2.png) [@WooleyWool](https://meta.discourse.org/u/WooleyWool)
#### Post date: [November 19, 2020, 12:54am UTC](https://meta.discourse.org/t/error-page-appears-repeatedly-after-you-try-accessing-a-private-page/170557/3 "2020-11-19T00:54:19Z")

</div>

Ok, I’m glad I am not the only one having this issue because I was a little skeptical at first.

---

<div class="post-metadata">

### Author: ![tshenry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tshenry/32/119495_2.png) [@tshenry](https://meta.discourse.org/u/tshenry)
#### Post date: [November 19, 2020, 1:00am UTC](https://meta.discourse.org/t/error-page-appears-repeatedly-after-you-try-accessing-a-private-page/170557/4 "2020-11-19T01:00:37Z")

</div>

I can, indeed, as an anon user. It looks like the routing breaks down in certain places and you get left in a weird state:

Noting that I can successfully click through to the Popular/Recent topics, but as you can see some category-related routes in the hamburger menu don’t seem to function correctly. ~~Interestingly, I don’t see anything in the console or error logs.~~ I was wrong, there is an initial error when clicking on the category link, but I think that’s to be expected:

![Screen Shot 2020-11-18 at 5.18.20 PM](https://global.discourse-cdn.com/meta/optimized/3X/4/6/460287b03a09b23175cb666adb378cd3eee7a06a_2_690x22.png)

---

<div class="post-metadata">

### Author: ![WooleyWool](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/wooleywool/32/198454_2.png) [@WooleyWool](https://meta.discourse.org/u/WooleyWool)
#### Post date: [November 19, 2020, 1:02am UTC](https://meta.discourse.org/t/error-page-appears-repeatedly-after-you-try-accessing-a-private-page/170557/5 "2020-11-19T01:02:18Z")

</div>

The only way to fixing this currently is refreshing the page or just opening a new tab. It occurs even when looking at another topic and clicking the home icon.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [November 19, 2020, 3:00am UTC](https://meta.discourse.org/t/error-page-appears-repeatedly-after-you-try-accessing-a-private-page/170557/7 "2020-11-19T03:00:11Z")

</div>

Usually this has to do with hitting a non-Ember page, but that’s typically difficult to do.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [November 29, 2020, 2:10am UTC](https://meta.discourse.org/t/error-page-appears-repeatedly-after-you-try-accessing-a-private-page/170557/8 "2020-11-29T02:10:04Z")

</div>

@eviltrout can you assign this for a post-release fix next week?

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [December 7, 2020, 10:03pm UTC](https://meta.discourse.org/t/error-page-appears-repeatedly-after-you-try-accessing-a-private-page/170557/11 "2020-12-07T22:03:37Z")

</div>

Got a fix here! Ember really doesn’t like it when you reject from `Route.model`, it seems.

[https://github.com/discourse/discourse/pull/11424](https://github.com/discourse/discourse/pull/11424)

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [December 7, 2020, 10:48pm UTC](https://meta.discourse.org/t/error-page-appears-repeatedly-after-you-try-accessing-a-private-page/170557/12 "2020-12-07T22:48:57Z")

</div>

Update: This is actually caused by overriding the `error` action, which has the correct implementation at the top level `routes/application.js`.

Follow-up commit to fix this properly:

[https://github.com/discourse/discourse/pull/11425/files](https://github.com/discourse/discourse/pull/11425/files)

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [December 10, 2020, 8:00am UTC](https://meta.discourse.org/t/error-page-appears-repeatedly-after-you-try-accessing-a-private-page/170557/14 "2020-12-10T08:00:13Z")

</div>

This topic was automatically closed after 2 days. New replies are no longer allowed.
