buddycloud/buddycloud-server — Issue #41: anonymous topic channel error
Author: highfellow
Created: 2012-02-12 05:26:02+00:00
State: open

I'm not sure if this is a server or client issue.

When I load `omnomnom@topics.buddycloud.com` as an anonymous user, I get this error:

```
forbidden: Requires affiliation member (you are none)
forbidden: Requires affiliation member (you are none)
```

The channel also appears as private when it's marked as an open channel if you're logged in. I don't know if this is intended or not. Incidentally, the english would read better if the error message just said "Forbidden: you are not a member of this channel".

The first time I tried loading a topic channel anonymously, it was giving a different error:

```
remote-server-not-found: Server-to-server connection failed: policy-violation (Server-to-server communication is not allowed to this host)
```

but this isn't happening any more.

The javascript console output I'm getting at the moment is pasted below. I don't have the console output for the server not found error.

```
app.js:1Collection
app.js:1Model
app.js:1View
app.js:1DEBUG: ["nr of channels in cache: 93"]
app.js:1DEBUG: ["nr of channel andy@highfellow.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel tuomas@buddycloud.org nodes in cache: 5",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel birchwind@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel astro@buddycloud.org nodes in cache: 5",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel kevin@doomsong.co.uk nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel miles@highfellow.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel dave@highfellow.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel simon@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel ralph@highfellow.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel gully@highfellow.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel eschnou@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel nina@highfellow.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel fahrertuer@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel jayteeuk@wyrddreams.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel dodo@buddycloud.org nodes in cache: 5",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel satori@highfellow.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel astro@spaceboyz.net nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel filmgirl@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel julie@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel mrflix@buddycloud.org nodes in cache: 5",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel nightshade07@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel simon@imaginator.com nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel test@highfellow.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel zoe@highfellow.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel isabella@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel kbateman@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel lubey23@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel martin.bnd@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel maxx@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel suw@highfellow.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel andrioid@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel jan@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel jdeisenberg@dsn-test.com nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel testro@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel ba1020@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel abmargb@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel ashward@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel ee_pod@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel ger21@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel johna@buddycloud.org nodes in cache: 5",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel shnifti@spaceboyz.net nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel jamestait@lab.wyrddreams.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel coyo@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel elisa@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel jonathan@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel mch@spaceboyz.net nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel repat@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel whistlewright@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel zeank@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel antic_eye@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel apfelsaft@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel eri!@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel john@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel klobs@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel mike@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel payload@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel poelzi@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel sebseb7@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel white_tiger@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel testuser45@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel dodo@spaceboyz.net nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel der-basti@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel abcabc321@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel bugmenot@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel catman@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel chinmayrane@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel dackel@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel dergigo@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel duck@buddycloud.org nodes in cache: 5",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel edwardhall@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel eljaja13@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel fmarier@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel glymph@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel gregor.hamann@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel gulli@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel hund@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel jdenz@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel 1935dbec-131a-44d9-ab18-0a48072a0bd5@anon.buddycloud.highfellow.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel xmang@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel 790511@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel deadcantdance@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel exel@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel siouxsie@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel edogaa@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel barbasol@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel fritzy@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel schnouki@pouet.im nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel julien@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel cat_content@topics.buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel topics@topics.buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel adam@buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel omnomnom@topics.buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of channel hi_all@topics.buddycloud.org nodes in cache: 4",
Arguments[1]
]
app.js:1DEBUG: ["nr of users in cache: 124"]
app.js:1DEBUG: ["CONNECT", "anon.buddycloud.highfellow.org",
a
]
app.js:1DEBUG: ["connection_event", "connecting"]
app.js:1STROPHE: 1 _connect_cb was called
app.js:1DEBUG: ["connection_event", "authenticating"]
app.js:1STROPHE: 1 SASL authentication succeeded.
app.js:1discover buddycloud.highfellow.org
app.js:1DEBUG: ["discover_channel_server success",
Arguments[1]
]
app.js:1STROPHE: 1 no requests during idle cycle, sending blank request
app.js:1DEBUG: ["[7158] start task"]
app.js:1DEBUG: ["[0a7d] start task"]
app.js:1DEBUG: ["[6ac0] start task"]
app.js:1DEBUG: ["[e6ec] start task"]
app.js:1DEBUG: ["[c26d] start task"]
app.js:1DEBUG: ["[312a] start task"]
app.js:1DEBUG: ["[5f9f] start task"]
app.js:1DEBUG: ["[39f8] start task"]
app.js:1DEBUG: ["[c7ca] start task"]
app.js:1DEBUG: ["[7af3] start task"]
app.js:1DEBUG: ["[6406] start task"]
app.js:1DEBUG: ["[1957] start task"]
app.js:1DEBUG: ["[00ba] start task"]
app.js:1DEBUG: ["connection_event", "connected"]
app.js:1omnomnom@topics.buddycloud.org
a
update_status undefined
app.js:1content [

​…​

​
]
app.js:1update_metadata
a
app.js:1searchbar [

​…​

​
] []
app.js:1DEBUG: ["[1f41] start task"]
app.js:1DEBUG: ["[61ea] start task"]
app.js:1update_metadata
a
app.js:1STROPHE: 1 no requests during idle cycle, sending blank request
app.js:1DEBUG: ["[7158] task done. (14 left)"]
app.js:1DEBUG: ["get_node_posts", "/user/omnomnom@topics.buddycloud.org/status",
Arguments[1]
]
app.js:1DEBUG: ["get_node_posts", "/user/omnomnom@topics.buddycloud.org/posts",
Arguments[1]
]
app.js:1STROPHE: 1 no requests during idle cycle, sending blank request
app.js:1DEBUG: ["[c26d] task done. (13 left)"]
app.js:1DEBUG: ["[6ac0] task done. (12 left)"]
app.js:1DEBUG: ["[e6ec] task done. (11 left)"]
app.js:1set_error
Strophe.StanzaError
app.js:1render error forbidden: Requires affiliation member (you are none) [

​forbidden: Requires affiliation member (you are none)​

​
] [

​…​

​
]
app.js:1DEBUG: ["[0a7d] task done. (10 left)"]
app.js:1set_error
Strophe.StanzaError
app.js:1render error forbidden: Requires affiliation member (you are none) [

​forbidden: Requires affiliation member (you are none)​

​
] [

​…​

​
]
app.js:1DEBUG: ["[1f41] task done. (9 left)"]
app.js:1DEBUG: ["get_node_posts", "/user/omnomnom@topics.buddycloud.org/subscriptions",
Arguments[1]
]
app.js:1DEBUG: ["[312a] task done. (8 left)"]
app.js:1STROPHE: 1 no requests during idle cycle, sending blank request
app.js:1DEBUG: ["get_node_posts", "/user/omnomnom@topics.buddycloud.org/geo/previous",
Arguments[1]
]
app.js:1DEBUG: ["get_node_posts", "/user/omnomnom@topics.buddycloud.org/geo/current",
Arguments[1]
]
app.js:1DEBUG: ["get_node_posts", "/user/omnomnom@topics.buddycloud.org/geo/next",
Arguments[1]
]
app.js:1DEBUG: ["get_node_posts", "/user/omnomnom@topics.buddycloud.org/subscriptions",
Arguments[1]
]
app.js:1DEBUG: ["get_node_metadata", "/user/omnomnom@topics.buddycloud.org/geo/next",
Arguments[1]
]
app.js:1DEBUG: ["get_node_metadata", "/user/omnomnom@topics.buddycloud.org/geo/current",
Arguments[1]
]
app.js:1DEBUG: ["get_node_metadata", "/user/omnomnom@topics.buddycloud.org/geo/previous",
Arguments[1]
]
app.js:1DEBUG: ["get_node_metadata", "/user/omnomnom@topics.buddycloud.org/subscriptions",
Arguments[1]
]
app.js:1DEBUG: ["[39f8] task done. (7 left)"]
app.js:1DEBUG: ["[7af3] task done. (6 left)"]
app.js:1DEBUG: ["[1957] task done. (5 left)"]
app.js:1DEBUG: ["[61ea] task done. (4 left)"]
app.js:1DEBUG: ["[00ba] task done. (3 left)"]
app.js:1STROPHE: 1 no requests during idle cycle, sending blank request
app.js:1DEBUG: ["[6406] task done. (2 left)"]
app.js:1DEBUG: ["[c7ca] task done. (1 left)"]
app.js:1DEBUG: ["[5f9f] task done. (0 left)"]
app.js:1STROPHE: 1 no requests during idle cycle, sending blank request
Resource interpreted as Other but transferred with MIME type undefined.
Resource interpreted as Other but transferred with MIME type undefined.
app.js:1STROPHE: 1 no requests during idle cycle, sending blank request
```