Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Sep 22 16:42
    ortuman closed #172
  • Sep 22 16:40
    ortuman labeled #177
  • Sep 22 16:40
    ortuman assigned #177
  • Sep 22 16:40
    ortuman opened #177
  • Sep 22 16:30

    ortuman on 167

    add cached repository support (compare)

  • Sep 22 16:11

    ortuman on 167

    add cached repository support (compare)

  • Sep 22 16:10

    ortuman on 167

    add cached repository support (compare)

  • Sep 22 16:04
    Neustradamus opened #176
  • Sep 21 16:44

    ortuman on 167

    add cached repository support (compare)

  • Sep 20 17:54

    ortuman on 167

    add cached repository support (compare)

  • Sep 20 07:11

    ortuman on master

    typo fix (#166) (compare)

  • Sep 20 07:11
    ortuman closed #166
  • Sep 20 07:07
    ortuman commented #166
  • Sep 19 14:14

    ortuman on 167

    add cached repository support (compare)

  • Sep 19 10:11

    ortuman on 167

    add cached repository support (compare)

  • Sep 18 15:39
    ortuman labeled #175
  • Sep 18 15:39
    ortuman labeled #175
  • Sep 18 15:39
    ortuman opened #175
  • Sep 18 15:38
    ortuman labeled #174
  • Sep 18 15:38
    ortuman opened #174
mint
@they:mint.lgbt
[m]
hi i'm having issues starting up jackal
here's the log
{"level":"warn","ts":"2021-04-10T04:18:49.048Z","caller":"clientv3/retry_interceptor.go:62","msg":"retrying
2021-04-10 04:18:49.049156 I | context deadline exceeded
Miguel Ángel Ortuño
@ortuman
:wave: hi @they:mint.lgbt !
From what I see in the logs, seems jackal is not being able to correctly connect to the etcd instance. Have you previously installed etcd on your system? If so, make sure that the host address is correctly defined in the configuration file in the cluster section
mint
@they:mint.lgbt
[m]
ok
thanks
i'll see if it works
Russell Hernández Ruíz
@qrpnxz_gitlab
hey guys, where can i find docs for config.yaml
Miguel Ángel Ortuño
@ortuman
Unfortunately there's no config documentation available yet, but in the absence of something better you can use the example file. Most of the available options are defined or well commented in there. If you have any questions, don't hesitate to make me know and I'll try to clarify it ASAP. And of course, any kind of feedback will be welcome. :smiley:
vlike
@vlike:matrix.org
[m]
how large number of online users can jackal hosting in a single server?
Miguel Ángel Ortuño
@ortuman
:wave: Hi @vlike:matrix.org !
Well, I'd say that it all depends on the capacity of that single instance. Unlucky for us, current implementation does not support async socket io, forcing us to have an alive goroutine for each incoming connection. Since each goroutine may require a minimum of 2k of memory, this inevitably turns memory into our main bottle neck. However my guess (I don't have any benchmarks to prove it yet) is that actual limit of maximum concurrent connections is way below that theoretical limit (~ 20k-30k), mainly due to os limitations.
Miguel Ángel Ortuño
@ortuman
:wave: Hi you all again!
Glad to announce that jackal v0.54.0 has officially been released
as always, any feedback/suggestion is always welcome :smiley:
vlike
@vlike:matrix.org
[m]
good 👍️,and thank you very much to @ortuman bring us such great product
rimse01
@rimse01
Please help, I have almost lost my mind with a configuration. I have run docker-compose, added user with 'jackalctl user add'. Now I'm trying to connect to jackal with Gajim client and always got an "authentification failed" message. I have verified user/password a hundreds times, check configs, but can't login. Meanwhile, bring an openfire and login succesfully in 2 minutes...
And yes, the big problem of the project that there is no workable solution which can be used out of box...
rimse01
@rimse01
There is one section I added to default compose config:
hosts:
  • domain: my.domain
    tls:
    privkey_file: "/jackal/jackal.key"
    cert_file: "/jackal/jackal.pem"
Miguel Ángel Ortuño
@ortuman
:wave: Hi @rimse01! Could you please send me service log traces so that I can better figure out what's going on? Thanks! :raised_hands:
rimse01
@rimse01
How can I get them? config file has logger level: debug, and thats all that I can get:
{"level":"info","ts":"2021-06-11T05:19:11Z","msg":"Registered C2S stream","instance_id":"4c3b26df-ccd0-49ba-b853-3b22511a76ca","id":"c2s:1"}
{"level":"info","ts":"2021-06-11T05:19:11Z","msg":"Secured C2S stream","instance_id":"4c3b26df-ccd0-49ba-b853-3b22511a76ca","id":"c2s:1"}
{"level":"info","ts":"2021-06-11T05:19:14Z","msg":"Unregistered C2S stream","instance_id":"4c3b26df-ccd0-49ba-b853-3b22511a76ca","id":"c2s:1"}
Miguel Ángel Ortuño
@ortuman
try setting JACKAL_LOG_STANZAS env var to on
e.g: env JACKAL_LOG_STANZAS=on ./jackal (or use environment option in your dockerfile)
Miguel Ángel Ortuño
@ortuman
btw, when creating the user, are you only specifying qualified username (not the full JID)?
rimse01
@rimse01
Hi. I have removed hosts directive from config and trying with localhost now.
I have tried add user:pass, user@localhost:pass
rimse01
@rimse01
{"level":"info","ts":"2021-06-11T07:17:58Z","msg":"Received C2S incoming connection at :5222","instance_id":"dd5b8ef8-b782-4711-9516-9b07bd283229","remote_address":"172.23.0.1:59054"}
{"level":"info","ts":"2021-06-11T07:17:58Z","msg":"Registered C2S stream","instance_id":"dd5b8ef8-b782-4711-9516-9b07bd283229","id":"c2s:4"}
{"level":"debug","ts":"2021-06-11T07:17:58Z","msg":"RECV(c2s:4): <stream:stream xmlns=\"jabber:client\" version=\"1.0\" xmlns:stream=\"http://etherx.jabber.org/streams\" to=\"localhost\" xml:lang=\"en\"/>","instance_id":"dd5b8ef8-b782-4711-9516-9b07bd283229"}
{"level":"debug","ts":"2021-06-11T07:17:58Z","msg":"SEND(c2s:4): <?xml version=\"1.0\"?><stream:stream xmlns=\"jabber:client\" xmlns:stream=\"http://etherx.jabber.org/streams\" id=\"c9a58c0c-8652-47b4-bf24-f8f7ee9d028e\" version=\"1.0\"><stream:features xmlns:stream=\"http://etherx.jabber.org/streams\" version=\"1.0\"><starttls xmlns=\"urn:ietf:params:xml:ns:xmpp-tls\"><required/></starttls></stream:features>","instance_id":"dd5b8ef8-b782-4711-9516-9b07bd283229"}
{"level":"debug","ts":"2021-06-11T07:17:58Z","msg":"RECV(c2s:4): <starttls xmlns=\"urn:ietf:params:xml:ns:xmpp-tls\"/>","instance_id":"dd5b8ef8-b782-4711-9516-9b07bd283229"}
{"level":"debug","ts":"2021-06-11T07:17:58Z","msg":"SEND(c2s:4): <proceed xmlns=\"urn:ietf:params:xml:ns:xmpp-tls\"/>","instance_id":"dd5b8ef8-b782-4711-9516-9b07bd283229"}
{"level":"info","ts":"2021-06-11T07:17:58Z","msg":"Secured C2S stream","instance_id":"dd5b8ef8-b782-4711-9516-9b07bd283229","id":"c2s:4"}
{"level":"debug","ts":"2021-06-11T07:17:58Z","msg":"RECV(c2s:4): <stream:stream xmlns=\"jabber:client\" version=\"1.0\" xmlns:stream=\"http://etherx.jabber.org/streams\" to=\"localhost\" xml:lang=\"en\"/>","instance_id":"dd5b8ef8-b782-4711-9516-9b07bd283229"}
{"level":"debug","ts":"2021-06-11T07:17:58Z","msg":"SEND(c2s:4): <?xml version=\"1.0\"?><stream:stream xmlns=\"jabber:client\" xmlns:stream=\"http://etherx.jabber.org/streams\" id=\"d393104d-cc0a-491f-9e6c-7a7e3287da04\" version=\"1.0\"><stream:features xmlns:stream=\"http://etherx.jabber.org/streams\" version=\"1.0\"><mechanisms xmlns=\"urn:ietf:params:xml:ns:xmpp-sasl\"><mechanism>SCRAM-SHA-1</mechanism><mechanism>SCRAM-SHA-1-PLUS</mechanism><mechanism>SCRAM-SHA-256</mechanism><mechanism>SCRAM-SHA-256-PLUS</mechanism><mechanism>SCRAM-SHA-512</mechanism><mechanism>SCRAM-SHA-512-PLUS</mechanism><mechanism>SCRAM-SHA3-512</mechanism><mechanism>SCRAM-SHA3-512-PLUS</mechanism></mechanisms></stream:features>","instance_id":"dd5b8ef8-b782-4711-9516-9b07bd283229"}
{"level":"debug","ts":"2021-06-11T07:18:00Z","msg":"RECV(c2s:4): <auth xmlns=\"urn:ietf:params:xml:ns:xmpp-sasl\" mechanism=\"SCRAM-SHA-1-PLUS\">cD10bHMtdW5pcXVlLCxuPWRlcmVrLHI9Yzc5YjdmMGRjYTY2YjdmN2JmNDNjYzkyYjQ4M2UzNWQwODJiODRhM2UyNjZjOTA5</auth>","instance_id":"dd5b8ef8-b782-4711-9516-9b07bd283229"}
{"level":"debug","ts":"2021-06-11T07:18:00Z","msg":"SEND(c2s:4): <challenge xmlns=\"urn:ietf:params:xml:ns:xmpp-sasl\">cj1jNzliN2YwZGNhNjZiN2Y3YmY0M2NjOTJiNDgzZTM1ZDA4MmI4NGEzZTI2NmM5MDktYWFiZWFjZTgtODY4Mi00YzhmLWE0MzMtMzFiMDY3NTM5MTM0LHM9UDRsb0taNHAvbHR4NHdLRUNaVmxUdzExUUtCSWhzWW9JbzJxRFRMNnpjcEJRVUZCUVVGQlFVRkJRVUZCUVVGQlFVRkJRVUZCUVVFPSxpPTEwMDAwMA==</challenge>","instance_id":"dd5b8ef8-b782-4711-9516-9b07bd283229"}
{"level":"debug","ts":"2021-06-11T07:18:01Z","msg":"RECV(c2s:4): <response xmlns=\"urn:ietf:params:xml:ns:xmpp-sasl\">Yz1jRDEwYkhNdGRXNXBjWFZsTEN4c2laQVUxUEFvQ2VIeUlaSGowMis4d2VZbnloTDhiNm13K2FzUUhSRFMzbC9xY0dBS3ptcnFRYnprb3dyRnI1WT0scj1jNzliN2YwZGNhNjZiN2Y3YmY0M2NjOTJiNDgzZTM1ZDA4MmI4NGEzZTI2NmM5MDktYWFiZWFjZTgtODY4Mi00YzhmLWE0MzMtMzFiMDY3NTM5MTM0LHA9c1kzNkZ2Q0gzc0lHRHNqbEtBb0RUWktGSEVnPQ==</response>","instance_id":"dd5b8ef8-b782-4711-9516-9b07bd283229"}
{"level":"debug","ts":"2021-06-11T07:18:01Z","msg":"SEND(c2s:4): <failure xmlns=\"urn:ietf:params:xml:ns:xmpp-sasl\"><not-authorized/></failure>","instance_id":"dd5b8ef8-b782-4711-9516-9b07bd283229"}
{"level":"info","ts":"2021-06-11T07:18:01Z","msg":"Unregistered C2S stream","instance_id":"dd5b8ef8-b782-4711-9516-9b07bd283229","id"
rimse01
@rimse01
Actually, it's an easy to reproduce. Run docker-compose from your repository, join to jackal container and create user, then try to connect to it with some client like Gajim.
Miguel Ángel Ortuño
@ortuman
I have tried add user:pass, user@localhost:pass
Try better with jackalctl user add user:pass
and then connect using user@localhost JID
rimse01
@rimse01
root@286dcb1a14c1:/jackal# jackalctl user add user:pass
User user created
From Gajim:
Authentication failed with "localhost". Please check your login and password for correctness.
Already tried dozen of variants...
Miguel Ángel Ortuño
@ortuman
and which version of Gajim are you using? @rimse01
rimse01
@rimse01
latest
Miguel Ángel Ortuño
@ortuman
yep, finally I've been able to successfully reproduce this bug
i'll try to fix it and make available a patch asap
thanks for reporting this issue @rimse01
Miguel Ángel Ortuño
@ortuman
:wave: Hi again @rimse01!
seems like I've finally been able to track down the issue... 🎉
apparently the iteration count used during the SCRAM authorization process in Gajim is limited by some reason, causing a mismatch between the received and expected response values. There's already a fix available at ortuman/minor-fixes branch. Could you please try it and confirm if it went away? Before retrying REMEMBER TO UPDATE YOUR PASSWORD (jackalctl user passwd <username>) in your dockercompose instance. Hope it works, and thank you very much for your time! :raised_hands:
Miguel Ángel Ortuño
@ortuman
Also, if it is easier for you, I have enabled a docker image with which you can do the test: ortuman/jackal:v0.54.1
rimse01
@rimse01
Yes, it's working now as expected with ortuman/jackal:v0.54.1. Thank you.
Miguel Ángel Ortuño
@ortuman
🎉
Jan Jacobs
@jhjacobs81
oh! look how nice :)
Jan Jacobs
@jhjacobs81
has anyone succeded in running jackal on docker? because i havent :(