Giter VIP home page Giter VIP logo

Comments (4)

scrogson avatar scrogson commented on July 22, 2024

Seems like the output is cut off...can you paste the output with more data?

from romeo.

iamucil avatar iamucil commented on July 22, 2024

I tried login using xmpp client with this credential too and succeed. Did I missing something? Thanks

05:59:54.445 [debug] [52eeea5d43f2@radiumchat.net][INCOMING] "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<stream:stream xmlns='jabber:client' xmlns:stream='http://etherx.jabber.org/streams' version='1.0' xml:lang='en' id='0G8bGranS2Gj4SDdUe9hGQ' from='radiumchat.net'>\n<stream:features><mechanisms xmlns=\"urn:ietf:params:xml:ns:xmpp-sasl\"><mechanism>PLAIN</mechanism></mechanisms></stream:features>\n<iq xmlns=\"jabber:client\" id=\"iq-1\" type=\"get\" from=\"radiumchat.net\" to=\"\"><query xmlns='jabber:iq:version'/></iq>"
 
05:59:54.454 [info]  Authenticating with PLAIN
 
05:59:54.498 [debug] [52eeea5d43f2@radiumchat.net][OUTGOING] "<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='PLAIN'>ADUyZWVlZTVkNDNmMgBleUpoYkdjaU9pSlNVekkxTmlJc0ltdHBaQ0k2SWpjeU5UYzVNakkzWm1GaVLtSTVOV1ZqTVRGbU5qUXpNR1E0TWpBeE1XVTJORE16WVdNMU1ETWlMQ0owZVhBaU9pSktWMVFpZlEuZXlKcFlYUWlPakUxTXpVd09ETTFNRE1zSW5OMVlpSTZJalV5WldWbFpuVmtORE5tTWlJc0luUmxjbTFwYm1Gc0lqb2lZamczWTJFNE5qQXpNR1JtSW4wLlFuTDllTWNnVVBYZ1Zqb216V2Q0Y0VvSzhOajMyUThVSW9aZUdJR2o5Ym1KaFl3Yjc0cjNmSk5HcXhlUlZ4eW1iNG1nMXM0U3B4MVp0RUEwSVFxX21keFg3N1B1Mi1TdVpJb0p4THNkYjdXTFVSWlFtYXE3YWNqeDFLNDV1VmJZV3l5WGdodjhVT3Q3azJRVVJqNmVVTjFEcdr5AzBjYW1acnd4MlJEVTRyUQ==</auth>"
 
05:59:54.520 [error] GenServer #PID<0.191.0> terminating
** (CaseClauseError) no case clause matching: "iq"
    (romeo) lib/romeo/auth.ex:92: anonymous fn/2 in Romeo.Auth.success?/1
    (romeo) lib/romeo/auth.ex:62: Romeo.Auth.do_authenticate/2
    (romeo) lib/romeo/transports/tcp.ex:108: Romeo.Transports.TCP.authenticate/1
    (romeo) lib/romeo/transports/tcp.ex:65: Romeo.Transports.TCP.start_protocol/1
    (romeo) lib/romeo/connection.ex:90: Romeo.Connection.connect/2
    (connection) lib/connection.ex:622: Connection.enter_connect/5
    (stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: nil
State: %Romeo.Connection{component: false, features: %Romeo.Connection.Features{amp?: false, compression?: false, mechanisms: [], registration?: false, stream_management?: false, tls?: false}, host: "xmpp.dev.radiumchat.net", jid: "[email protected]", legacy_tls: false, nickname: "", owner: #PID<0.185.0>, parser: nil, password: "eyJhbGciOiJSUzI1NiIsImtpZCI6IjcyNTc5MjI3ZmFiYmI5NWVjMTFmNjQzMGQ4MjAxMWU2NDMzYWM1MDMiLCJ0eXAiOiJKV1QifQ.eyJpYXQiOjE1MzUwODM1MDMsInN1YiI6IjUyZWVlZTVkNDNmMiIsInRlcm1pbmFsIjoiYjg3Y2E4NjAzMGRmIn0.QnL9eMcgUPXgVjomzWd4cEoK8Nj32Q8UIoZeGIGj9bmJhYwb74r3ffNGqxeRVxymb4mg1s4Spx1ZtEA0IQq_mdxX77Pu2-SuZIoJxLsdb7WLURZQmaq7acjx1K45uVbYWyyXghv8UOt7k2QURj6eUN1Dp4Rk0camZrwx2RDU4rQ", port: nil, preferred_auth_mechanisms: [], require_tls: false, resource: "", rooms: [], socket: nil, socket_opts: [], ssl_opts: [], stream_id: nil, timeout: 5000, transport: Romeo.Transports.TCP}
** (EXIT from #PID<0.185.0>) shell process exited with reason: an exception was raised:
    ** (CaseClauseError) no case clause matching: "iq"
        (romeo) lib/romeo/auth.ex:92: anonymous fn/2 in Romeo.Auth.success?/1
        (romeo) lib/romeo/auth.ex:62: Romeo.Auth.do_authenticate/2
        (romeo) lib/romeo/transports/tcp.ex:108: Romeo.Transports.TCP.authenticate/1
        (romeo) lib/romeo/transports/tcp.ex:65: Romeo.Transports.TCP.start_protocol/1
        (romeo) lib/romeo/connection.ex:90: Romeo.Connection.connect/2
        (connection) lib/connection.ex:622: Connection.enter_connect/5
        (stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3

from romeo.

scrogson avatar scrogson commented on July 22, 2024

What server are you connecting to?

from romeo.

iamucil avatar iamucil commented on July 22, 2024

using ejabberd 18.03 with custom authentication. case closed 😄
Thanks

from romeo.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.