bot doesn't recognize MUC owners #19

Open
opened 2024-10-12 00:07:32 +02:00 by roughnecks · 8 comments

I can start a session if I'm admin, but not if I'm owner of the MUC

image

Also notice how it repeats the message 3 times, plus the last one.

I can start a session if I'm admin, but not if I'm owner of the MUC ![image](/attachments/c552cee7-bfff-489d-8a15-844954443537) Also notice how it repeats the message 3 times, plus the last one.
Author

Now this popped out:

Oct 12 00:43:50 pandora.woodpeckersnest.eu kaikout[216493]: [2024-10-12 00:43:50,803] ERROR: kaikout.xmpp.muc: KaikOut has failed to query the server for a list of Jabber IDs with the affiliation "owner" for groupchat status@chat.woodpeckersnest.space
Oct 12 00:43:50 pandora.woodpeckersnest.eu kaikout[216493]: ERROR    KaikOut has failed to query the server for a list of Jabber IDs with the affiliation "owner" for groupchat status@chat.woodpeckersnest.space
Oct 12 00:43:50 pandora.woodpeckersnest.eu kaikout[216493]: [2024-10-12 00:43:50,804] ERROR: kaikout.xmpp.muc: <iq type="error" to="heimdall@woodpeckersnest.space/heimdall" from="status@chat.woodpeckersnest.space" id="eb85d01128db484881b1a93236eafa88"><error type="auth"><forbidden xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>
Oct 12 00:43:50 pandora.woodpeckersnest.eu kaikout[216493]: ERROR    <iq type="error" to="heimdall@woodpeckersnest.space/heimdall" from="status@chat.woodpeckersnest.space" id="eb85d01128db484881b1a93236eafa88"><error type="auth"><forbidden xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq>
Now this popped out: ``` Oct 12 00:43:50 pandora.woodpeckersnest.eu kaikout[216493]: [2024-10-12 00:43:50,803] ERROR: kaikout.xmpp.muc: KaikOut has failed to query the server for a list of Jabber IDs with the affiliation "owner" for groupchat status@chat.woodpeckersnest.space Oct 12 00:43:50 pandora.woodpeckersnest.eu kaikout[216493]: ERROR KaikOut has failed to query the server for a list of Jabber IDs with the affiliation "owner" for groupchat status@chat.woodpeckersnest.space Oct 12 00:43:50 pandora.woodpeckersnest.eu kaikout[216493]: [2024-10-12 00:43:50,804] ERROR: kaikout.xmpp.muc: <iq type="error" to="heimdall@woodpeckersnest.space/heimdall" from="status@chat.woodpeckersnest.space" id="eb85d01128db484881b1a93236eafa88"><error type="auth"><forbidden xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq> Oct 12 00:43:50 pandora.woodpeckersnest.eu kaikout[216493]: ERROR <iq type="error" to="heimdall@woodpeckersnest.space/heimdall" from="status@chat.woodpeckersnest.space" id="eb85d01128db484881b1a93236eafa88"><error type="auth"><forbidden xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /></error></iq> ```
Owner

Was the bot an "owner" or an "admin" in the group chat?

If the bot was an "admin" and you were an "owner", were you present in the group chat when you have contacted with the bot?


If the bot is an "admin", it will not be able to recognize any "owner" that is not present oin the group chat, because it requires to read the group chat settings, and as an "admin" the bot can not see any JID of any "owner" from settings.


I suppose, that, in this situation:

  • The bot was an "admin" and you were an "owner";
  • You were not present in the group chat;
  • Because the bot was no an "owner", it has failed to find your JID, and therefore it did not accept to open a session.
Was the bot an "owner" or an "admin" in the group chat? If the bot was an "admin" and you were an "owner", were you present in the group chat when you have contacted with the bot? --- If the bot is an "admin", it will not be able to recognize any "owner" that is not present oin the group chat, because it requires to read the group chat settings, and as an "admin" the bot can not see any JID of any "owner" from settings. --- I suppose, that, in this situation: - The bot was an "admin" and you were an "owner"; - You were not present in the group chat; - Because the bot was no an "owner", it has failed to find your JID, and therefore it did not accept to open a session.
Owner

Questions

  • Please, specifiy whether the three messages of "an unothorized attempt..." were sent to you when you were or were not in group chat.
  • Please, specify whether the message "you are not authorized..." was sent to you when you were or were not in group chat.
Questions - Please, specifiy whether the three messages of "an unothorized attempt..." were sent to you when you were or were not in group chat. - Please, specify whether the message "you are not authorized..." was sent to you when you were or were not in group chat.
Author

I am owner and bot is admin, but I was always online (and in group chat) when doing such tests.

Same for the messages it sent to me. I was in the group chat.

I am owner and bot is admin, but I was always online (and in group chat) when doing such tests. Same for the messages it sent to me. I was in the group chat.
Author

I just tried again, after fixing the bot's alias by removing the bookmark, and I got the same exact result.

If I am owner I cannot establish a session, with the messages posted earlier.

I just tried again, after fixing the bot's alias by removing the bookmark, and I got the same exact result. If I am owner I cannot establish a session, with the messages posted earlier.
Author

The other account of mine, which is admin, receives this:

An unauthorized attempt to establish a session for groupchat status@chat.woodpeckersnest.space has been made by roughnecks@woodpeckersnest.space

The other account of mine, which is admin, receives this: An unauthorized attempt to establish a session for groupchat status@chat.woodpeckersnest.space has been made by roughnecks@woodpeckersnest.space
Owner

When an "owner" is present in group chat, then the bot should see the "owner" by reading the group chat roster.

Please. Keep the state of things as they are; you and I will examine it.

When an "owner" is present in group chat, then the bot should see the "owner" by reading the group chat roster. Please. Keep the state of things as they are; you and I will examine it.
Author

Similar issues in a groupchat at xmpp-it.net
I, as owner, was able to start a session
A friend who I made admin, tried and I got this message from the bot:

An unauthorized attempt to establish a session for groupchat lozibaldone@conference.xmpp-it.net has been made by lozibaldone@conference.xmpp-it.net

Instead of the person's jid I got the name of the group..
Asked if he was whispering to the bot instead of a proper 1:1 chat, they said "no".

Similar issues in a groupchat at xmpp-it.net I, as owner, was able to start a session A friend who I made admin, tried and I got this message from the bot: `An unauthorized attempt to establish a session for groupchat lozibaldone@conference.xmpp-it.net has been made by lozibaldone@conference.xmpp-it.net` Instead of the person's jid I got the name of the group.. Asked if he was whispering to the bot instead of a proper 1:1 chat, they said "no".
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: sch/KaikOut#19
No description provided.