GithubHelp home page GithubHelp logo

Comments (5)

sm00th avatar sm00th commented on July 19, 2024

Looks like you stumbled upon something interesting. Might be some unexpected discord "server" configuration. Can you try getting a backtrace as described here? (you don't have to rebuild bitlbee in this case)

from bitlbee-discord.

rookiejet avatar rookiejet commented on July 19, 2024

Similar issue, libwebsockets compiled from git

#0 0x00007fffe7e3f7ab in ?? () from /usr/lib/bitlbee/discord.so
#1 0x00007fffe7c28d1c in lws_create_vhost () from /usr/lib/libwebsockets.so.7
#2 0x00007fffe7c29391 in lws_create_context ()
from /usr/lib/libwebsockets.so.7
#3 0x00007fffe7e3fad6 in discord_ws_init () from /usr/lib/bitlbee/discord.so
#4 0x00007fffe7e3e636 in ?? () from /usr/lib/bitlbee/discord.so
#5 0x000055555557a2ef in ?? ()
#6 0x00005555555790e5 in ?? ()
#7 0x00007ffff760bc3a in g_main_context_dispatch ()
from /usr/lib/libglib-2.0.so.0
#8 0x00007ffff760bfe0 in ?? () from /usr/lib/libglib-2.0.so.0
#9 0x00007ffff760c302 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#10 0x0000555555563e87 in main ()

from bitlbee-discord.

sm00th avatar sm00th commented on July 19, 2024

Found a couple of problems in this area:

  • Discord now reports gate without the trailing "/" so it upsets libwebsockets, fixed by 83167e3
  • Current libwebsockets seem to has ssl connections broken.

@rookiejet, although none of the above seem to be related to your backtrace, can you try to build a stable version of libwebsockets (1.7.5 seems to work, you can check it out by running git checkout v1.7.5) and then pull the fix and rebuild bitlbee-discord?

from bitlbee-discord.

rookiejet avatar rookiejet commented on July 19, 2024

It does seem to work with libwebsockets v1.7.5, it no longer segfaults. Thanks for the help! It logs this on successful connection though, I don't know how meaningful it is:

discord_ws_callback: unknown rsn=22

But it is working fine so far.

from bitlbee-discord.

sm00th avatar sm00th commented on July 19, 2024

discord_ws_callback: unknown rsn=22

That is just a debug message and is normal.

Closing this issue for now, @JohnnyWarpzone if you still experience problems with connecting you can reopen it.

from bitlbee-discord.

Related Issues (20)

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.