[Priority] Chat not working on https://smart-toulouse.happy-dev.fr
The chat is not loading on https://smart-toulouse.happy-dev.fr.
In the console, I see :
storeMixin.ts:19 Uncaught (in promise) TypeError: Cannot read property '@id' of undefined
at componentConstructor.callback (storeMixin.ts:19)
That's the priority of the day I think.
Link issues together to show that they're related. Learn more.
Activity
- Ghost User changed milestone to %Projects part I
changed milestone to %Projects part I
By Alexandre on 2019-11-21T11:18:34 (imported from GitLab project)
- Owner
Is fixed:
- Username with special chars
- Manually changed jids to test-paris
- Manually suffixed jid with -smarttoulouse to avoid conflicts with test-paris
- Added subscriptions
- Re-deploy client with the right branch. I don't know what was published, but that's not the current smart-toulouse branch
- packages.yml - jabberid settings are wrong
- Client name on config.json (Currently Sib App)
- As circles jid is managed by the server, I can't fix Circles without fixing packages.yml
By the way, @alexandre we still can't configure them with their own jid? Because, when they'll migrate to, they'll lose all their chat history & will have to change every users jids manually then recreate circles.
Edited by Jean-Baptiste Pasquier - Please register or sign in to reply
- Author Contributor
@jbpasquier Roger. Can you synchronize with @plup regarding re-deploy on the relevant branch? I actually told him to deploy staging, I forgot a dedicated branch was needed here.
Regarding dedicated jid domain name, we are hoping @MattJ sticks his head above water soon but so far, he is not responding :) I had closed that one https://git.happy-dev.fr/startinblox/applications/sib-app/issues/286, but you're right that it should ideally been taken care of. It all depends on our good friend's availability here :)
By Alexandre on 2019-11-21T13:30:14 (imported from GitLab project)
- Author Contributor
You've set up new domains without my help before - is there anything you specifically need from me? I can hopefully look at stuff tomorrow, but I don't want you guys blocked on me if it's just trivial stuff.
By Matthew Wild on 2019-11-21T14:01:34 (imported from GitLab project)
- Author Contributor
@MattJ : We used to have Pierre helping on that. He isn't any more. At the moment you are the only one in charge of XMPP stuff. I believe that's enough, one day a week sounds good enough for our need at the moment I'd say.
For those "trivial stuff", might be smart indeed that you document somewhere how to do it, so that @plup or @jbpasquier or @christophehenry or @calummackervoy can also take care of it.
By Alexandre on 2019-11-21T14:04:19 (imported from GitLab project)
- Owner
Everything is setup correctly now.
In need of https://git.happy-dev.fr/startinblox/applications/sib-app/issues/286
- Author Contributor
@MattJ ?
By Alexandre on 2019-11-26T09:36:52 (imported from GitLab project)
- Author Contributor
Can anyone tell me what the number means in this line?
test-paris,196656,/check-user,
By Matthew Wild on 2019-11-26T14:07:53 (imported from GitLab project)
- Author Contributor
Sorry for double-post. Looks like it's called a "client id" - what is the appropriate client id for smart-toulouse?
By Matthew Wild on 2019-11-26T14:00:32 (imported from GitLab project)
- Author Contributor
@MattJ: I believe we don't make use of that number any more. Can you try without and tell us you it blocks you?
By Alexandre on 2019-11-26T14:07:53 (imported from GitLab project)
- Author Contributor
Ok, I activated the host with a client_id
000000
(it looks like it is used for OAuth). Let me know how it looks.By Matthew Wild on 2019-11-26T14:12:04 (imported from GitLab project)
- Owner
I've a working one-to-one chat. :)
But I get no MUC chat, does this talk to you?
ERROR: <iq type="error" to="jbpasquier@smart-toulouse.happy-dev.fr/converse.js-80024437" from="87x0wsbncujl@smart-toulouse.happy-dev.fr" id="626a0272-ebb3-45a6-9a24-3ed5a84d75ad:sendIQ" xmlns="jabber:client"><error type="cancel"><service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></iq>
- Author Contributor
Maybe there is a configuration issue on your end? If that is related to MUC, it should be communicating with
conference.smart-toulouse.happy-dev.fr
.So one-to-one chats (i.e. user accounts) are on
smart-toulouse.happy-dev.fr
and MUCs are onconference.smart-toulouse.happy-dev.fr
.By Matthew Wild on 2019-11-26T16:58:38 (imported from GitLab project)
- Owner
I updated subscription, you were right they were still on test-paris.
Anyway, it does not the job, still no working MUC with the same error.
It seems that we have the same problem on test-paris.
Is there any errors on subscriptions on
https://jabber.happy-dev.fr/conference.smart-toulouse.happy-dev.fr/happydev_muc_admin
orhttps://jabber.happy-dev.fr/conference.test-paris.happy-dev.fr/happydev_muc_admin
?If no, I will need @dele to get more information on what's wrong.
- Author Contributor
Hi @jbpasquier I think i've broken the chat again... As i've seen it worked i assume all of it was fixed, so i've done some cosmetic change in usernames form boriss to Boris-S for exemple. As "-" is in the list of accepted caracters I wasn't worried...
But now it's impossible to acces cirles. I've an error in the console on GET. I've change the user name again to boriss but it appear that it still try to load form the previous id (Boris-S)
See screenshot below
By Boris Séguy on 2019-11-27T12:29:07 (imported from GitLab project)
- Author Contributor
@jbpasquier, @MattJ: Solving that one should be the priority. I'm available to help testing or anything else I can help you guys with.
By Alexandre on 2019-11-27T12:29:06 (imported from GitLab project)
- Author Contributor
Not sure what I can offer on Boris's issue. I see a user called 'boriss' on Prosody with the URL
https://api.smart-toulouse.happy-dev.fr/users/boriss/
By Matthew Wild on 2019-11-27T13:59:14 (imported from GitLab project)
- Owner
@MattJ Could you take a look there: https://git.happy-dev.fr/startinblox/applications/sib-app/issues/305#note_55355 Thanks!
@BorisSeguy You are right, it seems that Django overrides allowed chars on usernames, it seams that I also lost access to the admin, I'll get a look at as soon as possible.
- Author Contributor
Try now, but you may need to re-notify Prosody about the circles.
It seems this is yet another bug related to https://git.happy-dev.fr/startinblox/components/sib-chat/issues/120#note_52143 - as mentioned in that comment the code is in a bad shape and needs to be cleaned up, but I don't know if it should take priority over other things.
This issue was the thread getting stuck if you sent an invalid JID. In this case "invalid" means either the JID of the circle was null, or it did not end with
@conference.smart-toulouse.happy-dev.fr
This error was returned to the original request made to Prosody. Subsequent requests to update smart-toulouse circles would fail.
I fixed the issue, added some logging (so we can see what the invalid JID is) and I reloaded the module.
By Matthew Wild on 2019-11-27T17:25:00 (imported from GitLab project)
- Owner
Fixed! It works fine, test-paris & smart-toulouse works on MUC & one-to-one. :)
Thanks!