[10:55:35]
<Maranda (Aria Network)> !giphy test
[10:57:22]
<Giphy> https://services.aria-net.org/_matrix/media/v1/download/services.aria-net.org/WYsQYSYElbVauNndFMvBiQyt
[18:19:09]
<Salar Rahmanian> Hi There, I have just started usig metronome via installing yunohost
[18:21:10]
<Salar Rahmanian> Do I need to do anything extra to get push notifications to work? I have edited my cfg file and added `push` to the modules_enabled section and when my ios app tries to enable it I get this error logged on server:
[18:22:20]
<Salar Rahmanian> https://paste.yunohost.org/oxiroxinok.pas
[18:27:31]
<Maranda (Aria Network)> Salar Rahmanian: I think there's a patched bug in mod_push code that didn't go upstream yet
[18:27:40]
<Maranda (Aria Network)> what version of YuNoHost is it?
[18:29:18]
<Salar Rahmanian> yunohost:
repo: stable
version: 4.1.6
yunohost-admin:
repo: stable
version: 4.1.4
moulinette:
repo: stable
version: 4.1.4
ssowat:
repo: stable
version: 4.1.3
[18:31:41]
<guigo> Hi, i reported the same error a few months ago
[18:32:25]
<Salar Rahmanian> Good to know I am not doing anything wrong by the sound of it
[18:33:03]
<Salar Rahmanian> Maranda: I posted the yunohost version above
[18:33:04]
<guigo> I forgot to talk you about it, Maranda. I tried your fix with Siskin client app and it didn't work neither. With the app Monal, it worked fine... without your fix.
[18:34:05]
<guigo> I runned Metronome with your fix and with not and Monal app's friend received push notifications on both cases
[18:34:07]
<Salar Rahmanian> aw I tried siskin on IOS should I switch to monal? Also what macos app is everyone using these days? I am typing this on good old adium but it doesn't look like actively developed
[18:34:24]
<Salar Rahmanian> got the error via siskin ios
[18:35:00]
<Maranda (Aria Network)> Salar Rahmanian: fix for that traceback should be is into Metronome's master you need to patch your mod_push.lua
[18:35:13]
<Maranda (Aria Network)> with this one https://raw.githubusercontent.com/maranda/metronome/master/plugins/mod_push.lua
[18:35:54]
<Maranda (Aria Network)> > <@_bifrost_guigo=40projections.lightwitch.org:services.aria-net.org> I forgot to talk you about it, Maranda. I tried your fix with Siskin client app and it didn't work neither. With the app Monal, it worked fine... without your fix.
Did you patch mod_push.lua with the above?
[18:36:04]
<guigo> I have not strong knowledges about push notifications but maybe it's siskin push notification server's fault. Try with Monal, it works well since 3 months
[18:36:15]
<guigo> yes
[18:36:20]
<Maranda (Aria Network)> And restart Metronome?
[18:37:39]
<Maranda (Aria Network)> guigo: well I fixed the bug and added what was missing, which the siskin devs asked me about.
[18:38:10]
<Maranda (Aria Network)> it was missing a x element enclosing the dataform.
[18:38:16]
<Maranda (Aria Network)> which was added.
[18:39:01]
<Maranda (Aria Network)> guigo: please checkout that you're using the module from metronome's master and not the one shipping with YuNoHost.
[18:40:10]
<guigo> I'm pretty sure I restarted when i tried your patch with Siskin months ago and I had same problems with push notifications
[18:41:24]
<guigo> Currently it's the one shipping with Yunohost and push notifications work with Monal so I'm fine
[18:42:58]
<Maranda (Aria Network)> guigo, well I dunno what to say I worked together with the Siskin devs, and with the changes they said push notifications worked. 🤔
[18:45:36]
<Maranda (Aria Network)> guigo, see https://github.com/tigase/siskin-im/issues/39
[18:46:20]
<guigo> I dunnot what to say neither :D Maybe it was another problem and not the Metronome's fault. btw, thanks for your work, everything is working great for my use case
[18:47:25]
<Salar Rahmanian> Just tried the patch and did not get the error using siskin IM IOS looking good so far thank you both
[18:47:43]
<Salar Rahmanian> which client do you recommend on macos if any opinion?
[18:49:26]
<Maranda (Aria Network)> and just found another bug
[18:50:07]
<Maranda (Aria Network)> actually I think I missed that in my last code scrutiny
[18:50:31]
<Maranda (Aria Network)> > <@_bifrost_salarrahmanian=40projections.lightwitch.org:services.aria-net.org> which client do you recommend on macos if any opinion?
Good question.
[18:53:11]
<guigo> Monal has a MacOS version but i didn't test it
[18:53:32]
<guigo> Maybe this list will help you : https://xmpp.org/software/clients.html
[18:58:21]
<Salar Rahmanian> Maranda: I spoke too soon , enabling push didn't work with siskin
[18:58:38]
<Maranda (Aria Network)> Any error?
[18:58:59]
<Salar Rahmanian> oddly no error in the .err file let me look at normal log
[18:59:18]
<Salar Rahmanian> even in siskin app didn't give me error just returned to being disabled
[19:00:48]
<Salar Rahmanian> nothing in .log other than a success auth
[19:07:57]
<Maranda> Salar Rahmanian, do you have debug logs enabled?
[19:11:00]
<Salar> Trying a different client
[19:11:28]
<Salar Rahmanian> I don't think I have
[19:13:59]
<Salar Rahmanian> push with chatsecure ios app works
[19:14:14]
<Salar Rahmanian> but it thinks I am a differnent user to the one I am using on desktop
[19:15:02]
<Github [@maranda:aria-net.org]> [maranda/metronome] linkmauve opened issue #529: <not-authorized/> on valid password containing non-ASCII Unicode characters [open] - https://github.com/maranda/metronome/issues/529
[19:22:10]
<Github [@maranda:aria-net.org]> [maranda/metronome] maranda assigned issue #529: <not-authorized/> on valid password containing non-ASCII Unicode characters [open] - https://github.com/maranda/metronome/issues/529
[19:22:50]
<Github [@maranda:aria-net.org]> [maranda/metronome] maranda labeled [bug] to issue #529: <not-authorized/> on valid password containing non-ASCII Unicode characters [open] to maranda - https://github.com/maranda/metronome/issues/529
[19:22:51]
<Github [@maranda:aria-net.org]> [maranda/metronome] maranda labeled [need more info] to issue #529: <not-authorized/> on valid password containing non-ASCII Unicode characters [open] to maranda - https://github.com/maranda/metronome/issues/529
[19:22:54]
<Github [@maranda:aria-net.org]> [maranda/metronome] maranda milestoned issue #529: <not-authorized/> on valid password containing non-ASCII Unicode characters [open] to maranda - https://github.com/maranda/metronome/issues/529
[19:23:38]
<Salar Rahmanian> Maranda: thanks for your help so far so good with new ios client though it seems to create extra sessions
[19:24:13]
<Maranda (Aria Network)> If you use multiple clients at the same time that's normal
[19:24:36]
<Maranda (Aria Network)> Anyways to troubleshot actual PUSH problems you need to enable debug log
[19:25:27]
<Maranda (Aria Network)> You can do it by adding:
[19:26:05]
<Maranda (Aria Network)> `log = { { levels = { min = "error" }, to = "file", filename = "/var/log/metronome/metronome.err" }, { levels = { "info", "warn", "debug" }, to = "file", filename = "/var/log/metronome/metronome.log" } }`
In the global section of the config.
[19:26:46]
<Maranda> Remove quotes when copying that line it's got markdown from Matrix :(