Skip to content

Empty screen when jumping to channel by URL anonymously #16756

Closed

Description

@rasos

We want to allow to show some channels for anonymous users with a direct link to that channel, e.g. https://fairchat.net/channel/fairmove-label - and it should be possible to embed that channel in web pages (and use it as a forum with threading).

In Account settings, Anonymous Reading is on.

Actual behaviour

Channel loads endlessly, only 3 dots are shown
Bildschirmfoto_2020-03-30_17-02-01

Expected behaviour

Channel is shown with link on bottom to sign-in.

The expected behaviour can be triggered once, when changing in the Account settings, Anonymous Reading to off and to on again.

Version and logs

This used to work fine in RC 0.74. It seems to have stopped working after upgrading to RC 3.0 (in several steps). Also tested on a RC 2.4.2 fresh install - same behavior.

Here is the log: first load channel without success, then switch off and on setting, then page loads and one message is shown, but channel loads only once.

 I20200229-10:54:47.916(0) server.js:204 Meteor ➔ publish null -> userId: null, arguments: [] 
I20200229-10:54:47.923(0) server.js:204 Meteor ➔ method loadLocale -> userId: null, arguments: ["de"] 
I20200229-10:54:47.929(0) server.js:204 Meteor ➔ method loadLocale -> userId: null, arguments: ["de"] 
I20200229-10:54:48.021(0) server.js:204 Meteor ➔ method rooms/get -> userId: null, arguments: [{}] 
I20200229-10:54:48.134(0) server.js:204 Meteor ➔ method public-settings/get -> userId: null, arguments: [{}] 
I20200229-10:54:53.857(0) server.js:204 Meteor ➔ method saveSettings -> userId: 7K8CWu6D7mhws4y2j, arguments: [{"0":{"_id":"Accounts_AllowAnonymousRead","value":false}}] 
I20200229-10:54:54.244(0) server.js:204 Meteor ➔ method loadHistory -> userId: null, arguments: ["2nkazrutDgv3a5LGK",{},50,{}] 
I20200229-10:54:54.253(0) server.js:204 Meteor ➔ method canAccessRoom -> userId: null, arguments: ["2nkazrutDgv3a5LGK",{},null] 
I20200229-10:54:54.505(0) server.js:204 Meteor ➔ method loadLocale -> userId: null, arguments: ["de-IN"] 
I20200229-10:54:55.482(0) server.js:204 Meteor ➔ method loadLocale -> userId: null, arguments: ["de-IN"] 
I20200229-10:55:00.460(0) server.js:204 Meteor ➔ method saveSettings -> userId: 7K8CWu6D7mhws4y2j, arguments: [{"0":{"_id":"Accounts_AllowAnonymousRead","value":true}}] 
I20200229-10:55:00.606(0) server.js:204 Meteor ➔ method getRoomRoles -> userId: null, arguments: ["2nkazrutDgv3a5LGK"] 
I20200229-10:55:00.617(0) server.js:204 Meteor ➔ method getRoomByTypeAndName -> userId: null, arguments: ["c","dorfuni"] 
I20200229-10:55:00.631(0) server.js:204 Meteor ➔ method canAccessRoom -> userId: null, arguments: ["5nTCR9gJ4J67GAcuY",{}] 
I20200229-10:55:00.792(0) server.js:204 Meteor ➔ method rooms/get -> userId: null, arguments: [{}] 
I20200229-10:55:00.908(0) server.js:204 Meteor ➔ method rooms/get -> userId: null, arguments: [{}] 
I20200229-10:55:01.032(0) server.js:204 Meteor ➔ method loadHistory -> userId: null, arguments: ["5nTCR9gJ4J67GAcuY",{},50,{}] 
I20200229-10:55:01.047(0) server.js:204 Meteor ➔ method canAccessRoom -> userId: null, arguments: ["5nTCR9gJ4J67GAcuY",{}] 
I20200229-10:55:01.062(0) server.js:204 Meteor ➔ method canAccessRoom -> userId: null, arguments: ["5nTCR9gJ4J67GAcuY",{},null] 
I20200229-10:55:01.084(0) server.js:204 Meteor ➔ method getRoomRoles -> userId: null, arguments: ["5nTCR9gJ4J67GAcuY"] 
I20200229-10:55:01.486(0) server.js:204 Meteor ➔ method rooms/get -> userId: null, arguments: [{}] 
I20200229-10:55:01.896(0) server.js:204 Meteor ➔ method rooms/get -> userId: null, arguments: [{}] 
I20200229-10:55:01.906(0) server.js:204 Meteor ➔ method rooms/get -> userId: null, arguments: [{}] 
I20200229-10:55:01.916(0) server.js:204 Meteor ➔ method rooms/get -> userId: null, arguments: [{}] 
I20200229-10:55:02.491(0) server.js:204 Meteor ➔ method rooms/get -> userId: null, arguments: [{}] 
I20200229-10:55:02.577(0) server.js:204 Meteor ➔ method readMessages -> userId: NyX8AScf35XABbeCg, arguments: ["9aYj4ciTJnBsbJGhn"]  

Activity

  1. changed the title [-]Anonymous reading only works once when changing setting[/-] [+]Empty screen when jumping to channel by URL anonymously[/+] on Mar 30, 2020
  2. github-actions commented on Jul 4, 2020

    @github-actions
    Contributor

    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.

  3. added
    stale
    on Jul 4, 2020
  4. rasos commented on Jul 5, 2020

    @rasos
    ContributorAuthor

    The issue is still open on a RC 3.0.0. Scheduling upgrade to RC 3.4 and will test again.

  5. removed
    stale
    on Jul 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions