Comments (5)
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.
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.
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.
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.
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)
- [FEATURE] HOT 2
- Add variable auto_join_whitelist ?
- discord - Login error: Connection timeout HOT 2
- Https links appear in the wrong query HOT 1
- Embeds not showing
- Using CFLAGS and LDFLAGS on command line to find bitlbee includes and libs HOT 6
- Threads support HOT 3
- Backlog fetching blocks Discord websocket heartbeat, Bitlbee response to PING HOT 5
- Login in is broken with glib2 >2.68 HOT 11
- Failed to switch to websocket mode HOT 2
- token location described in README out of date HOT 3
- Status aliases broken - "/away DND - some text" works, "/away Busy - some text" does not HOT 4
- Will bitlbee-discord work with a big account? HOT 3
- No incoming messages HOT 7
- Provide way to manually request backlog HOT 3
- Seeing own messages after change to new usernames HOT 1
- joining a discord channel doesn't show anyone else messages HOT 1
- Crashes on discord_parse_message
- discord - Login error: Failed to switch to websocket mode (and 400 bad request from cloudflare) HOT 3
- Add support for turning custom stickers into URLs (e.g. larger custom emoji)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bitlbee-discord.