Rocket.chat: Channel permalinks don't work when not logged-out

Created on 15 Oct 2019  路  19Comments  路  Source: RocketChat/Rocket.Chat

Description:

When opening a channel permalink, e.g. https://aragon.chat/channel/dev the page hangs on the loading animation.

This is not a problem when you're logged in.

Of course, when simply going to https://aragon.chat/ the chat works and the channel can be selected.

This bug isn't unique to us. I noticed it also for https://basicattentiontoken.rocket.chat/channel/brave-browser.

Steps to reproduce:

  1. Go to https://aragon.chat/channel/dev

Expected behavior:

Channel loading

Actual behavior:

Loading animation

No apparent errors in the console.

Server Setup Information:

  • Version of Rocket.Chat Server: 1.3.1
  • Operating System: Linux
  • Deployment Method: Docker
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version:
  • MongoDB Version: docker.io/bitnami/mongodb:4.0.12-debian-9-r5
anonymity / privacy stale uux

Most helpful comment

@engelgabriel - fast track candidate

All 19 comments

This is most likely due to your proxy or server configuration.

Please test on https://open.rocket.chat

Redirects to the login page perfectly there, and on both my instances.

I think there might have been a misunderstanding.

We have Allow Anonymous Read enabled so when opening Go to https://aragon.chat/channel/[ANYCHANNELNAME] it doesn't work. But if you go home without logging in you can navigate to the channel and it will load.

We have Allow Anonymous Read enabled so when opening Go to https://aragon.chat/channel/[ANYCHANNELNAME] it doesn't work. But if you go home without logging in you can navigate to the channel and it will load.

Ahhh. That sort of little detail can make a big difference......

Have you tested this on latest - things may well have been fixed already so you need to test.

https://rocketchat.github.io/docs/contributing/reporting-issues/

Make sure you are running the latest version of Rocket.Chat. It鈥檚 very likely simply updating will resolve your issue.

OK, so you don't have to update, but you can easily spin up a test VM to check this sport of thing.

I'm seeing this issue on Version 2.3.1
It is weird, because on the surface getting from home to a channel seems to be just following a link, but clearly some hidden state involved(?)

BTW the title of this issue should be "... not logged IN"

You can see it at e.g. https://chat.nzoss.nz/channel/general

Sorry, you can't see it any more, we turned off "Allow Anonymous Read" at least for now.

Note. This is the same as #15391

I see this in 2.4.0 as well. You are also unable to read replies/discussions directly by clicking on them.

I also tested it on the latest bits. Can confirm, still broken.

This is not fixed in 3.0.0

Still not fixed in 3.0.3

Just tested it on the latest version and still not fixed in 3.0.4.

Does someone know a fork where this is fixed?

@engelgabriel - fast track candidate

I've just tested it with master and it works like a charm. I couldn't see if the "accidental" :D fix was introduced in 3.0.5 or 3.0.6.

Anyway awesome and thanks a lot folks!

Could any of the others that had it broke on 3.x also try and confirm with the latest patch? That would be great if it was

To my surprise, I was a little fast in saying that it works because I was so excited about it :P. Sorry about that!

It works in the dev environment using meteor run. Later I upgraded the Digital Ocean One Click droplet to version 3.0.6 and it didn't work. Maybe someone else could crosscheck this behavior.

I really love Rocket.Chat. Nonetheless, since we want to use it for public chats where people not necessarily should have an account to (at least) read chats and channels are precreated and based on location, this bug renders the use of it pretty much impossible.

We updated the RocketChat we use at our project to 3.1.1 and now direct links to channels work fine :tada: Have a look at https://community.serlo.org/channel/general Thank's for fixing it :smile:

Awesome. Just tested and it works with the latest version now 馃憤

@ggazzo same as #15391 ?

I can verify this is bug is fixed in 3.3.0, at least.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Was this page helpful?
0 / 5 - 0 ratings