Friday, October 02, 2020
grimoire@muc.metronome.im
October
Mon Tue Wed Thu Fri Sat Sun
      1
2
3
4
5 6
7
8
9
10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26
27
28 29 30 31
 
             
Metronome IM "cook" book room | Support and Dev talk about the Metronome XMPP server.

Latest stable version build is: 4.0.3

For more information you can visit: https://metronome.im

Room logs can be found here: https://muc.metronome.im/logs/grimoire/

* Links *
<==========================================================>
- Building & Installation:
https://metronome.im/building
- Documentation:
https://metronome.im/documentation
- Issues Tracker:
https://github.com/maranda/metronome/issues
<==========================================================>

[07:36:42] <Maranda> local _ssl = { key = "...", certificate = "..." }
Host "..."
ssl = _ssl
...
Component "..."
ssl = _ssl
...

[08:25:30] <guigo> Hey maranda, your patch works fine, thanks. But push notifications don't still work. I don't know where it comes from (Metronome or tigase) : https://gist.github.com/70df7317581276859d29e9e52bf22c52.git
[08:39:31] <Maranda> guigo their PUSH Server looks broken.
[08:39:59] <Maranda> Beside that Siskin doesn't even set a secret
[08:41:45] <Maranda> can you show me the correspondant log to the push enable request by Siskin?
[08:59:19] <guigo> Yes, here it is : https://gist.github.com/guigot/ad315ae14b0a7d16dd66907dc9f3eb6f
[09:06:25] <Maranda> guigo, I see it working:
Oct 01 15:58:41 www.example.com:push debug PUSH App Server handled aa8c8282-8d65-4a91-a0d3-515d6c0a249d
[09:07:24] <Maranda> It looks like their push server expires nodes after a little though
[09:10:24] <massimiliano> Grazie mille Maranda
[09:19:41] <Maranda> massimiliano, np
[09:22:15] <Maranda> guigo, alas, Metronome sends the notification to their PUSH service and the PUSH service handles 'em, what gets done after that is beyond Metronome's scope.
[09:39:04] <guigo> I see. I'll try to look into this with the dev of Siskin
[09:39:08] <guigo> thanks for your time
[10:10:05] <guigo> maranda, did you see the error "item-not-found" on the last line ? maybe it's related to this problem
[10:25:28] <Maranda> guigo, yes, that's because the pubsub node got expired
[10:25:53] <Maranda> Metronome removes the PUSH entry when it receives an error from the remote entity
[10:31:35] <guigo> ok, i understood it as the server tigase don't understand what Metronome sent him
[10:51:46] <Maranda> Nope item-not-found means the device's node isn't existent a.k.a. got removed
[16:28:05] <guigo> Maranda, a dev of Siskin looked at my last log and suggested a thing about the implementation of Push notification in metronome : https://github.com/tigase/siskin-im/issues/39
[16:29:16] <guigo> Sorry to be just a messenger here, i'm not an expert of XMPP or something !
[16:32:59] <Maranda> guigo Metronome adds the fields elements if there's anything to add
[16:38:29] <Maranda> And it doesn't support sending dataforms into notifications neither does it sends those
[16:39:12] <Maranda> Since for GDPR compliance only sends the message count
[16:39:20] <Maranda> By default
[16:44:47] <Maranda> But nm, I think he's actually right I'm missing the x data element anyways
[16:45:16] <Maranda> I'll look into it laters
[17:55:36] <massimiliano> Ciao Maranda
[17:58:13] <massimiliano> Sorry to bother you again.
i need to use https_ssl =
for two different compoenets muc and bosh
where bosh uses the main domain
and pastebin that works on component muc on domain muc.domain.com
[17:58:56] <massimiliano> so the 2 components uses the http module but work on different domain
[17:59:59] <massimiliano> in alternative for me is not a problem if pastebin would use the main domain but i don't know how.
[18:34:51] <massimiliano> i also see that your pastebin shows all in one line while i wrote multiple lines
[18:46:00] <Maranda> That's because of Gajim probably converting newlines
[18:51:13] <massimiliano> That is a possible explaination :)
[18:52:37] <massimiliano> Do you also now how i can configure http_ssl so that it works on domain.com and muc.domain.com?
[22:18:28] <Echo1> maranda committed --
mod_push: add missing dataform enclosure for notifications.
-> https://github.com/maranda/metronome/commit/840a73ea651969c6234c6efc60e0bbdde3e3ca90