Comments (13)
from swiftcord.
Thanks everyone, sorry I had not been able to partake in this discussion as my schedule was quite messed up the past few month. I will be publishing an official release to GitHub soon, containing a fix for this issue. Once again apologies this took so long!
from swiftcord.
Same Here :(
I was pretty excited to try it but it won't work 😢
from swiftcord.
I've never built with xCode before but I've managed to fix the bug causing this.. it's only a temporary fix as I've disabled stream compression and Swiftcord will run a lot slower than usual, but nevertheless it's still a fix.
If you'd like to fix the bug yourself and build it, follow these steps: (otherwise at the bottom of this comment you can find my built version).
- Download both Swiftcord and DiscordKit from Github
- Open the Swiftcord project in xCode and drag your local DiscordKit into the project navigator
- Find
DiscordKit > Sources > DiscordKitCore > DiscordKitConfig
and modify line 182 fromstreamCompression: Bool = true
tostreamCompression: Bool = false
- Build for your mac
Let me know if the below binary works!
Swiftcord.zip
from swiftcord.
@khurshid-alam Another update - a proper fix has been pushed to the DiscordKit
repo and a full fix will be on the way shortly according to @cryptoAlgorithm in the Discord.
Make sure to switch over to the proper version instead of mine because it sounds like it'll run a lot faster.
from swiftcord.
there is currently an updated package on the discord server
https://cdn.discordapp.com/attachments/964741354339057689/1162599122365337620/Swiftcord_2.zip?ex=653c85ce&is=652a10ce&hm=3f995664004fdfbb026fd1a7189b9c7a8d5895fd1c584cd063b284c5521ab03b&
from swiftcord.
Hi everyone, https://github.com/SwiftcordApp/Swiftcord/releases/tag/v0.7.1 I've made a release incorporating this patch, as well as some other fixes I had previously worked on. Hope this works, feel free to reopen if there are any related concerns!
from swiftcord.
I met this issue, too.
from swiftcord.
Same here. It seems it is broken on Ventura.
from swiftcord.
I am encountering this error both on 0.6.1 and 0.7.0. This is the CLI output for 0.6.1:
2023-10-12T13:36:43+0200 warning RobustWebSocket : error=dataCorrupted(Swift.DecodingError.Context(codingPath: [], debugDescription: "The given data was not valid JSON.", underlyingError: Optional(Error Domain=NSCocoaErrorDomain Code=3840 "Unexpected character '' around line 1, column 1." UserInfo={NSDebugDescription=Unexpected character '' around line 1, column 1., NSJSONSerializationErrorIndex=0}))) [DiscordKitCore] Error decoding message
2023-10-12T13:36:47+0200 warning RobustWebSocket : timeout=4.0 [DiscordKitCore] Connection timed out
2023-10-12T13:36:47+0200 warning RobustWebSocket : [DiscordKitCore] Forcibly closing connection
2023-10-12T13:36:47+0200 info RobustWebSocket : [DiscordKitCore] [RECONNECT] Preemptively attempting reconnection
2023-10-12T13:36:47+0200 info RobustWebSocket : attempt=1 connectIn=3.8000000000000003 [DiscordKitCore] Retrying connection
2023-10-12T13:36:47+0200 warning RobustWebSocket : [DiscordKitCore] Already reconnecting, not reconnecting
2023-10-12T13:36:47+0200 warning RobustWebSocket : [DiscordKitCore] [WS CLOSED] closeCode: 1006
2023-10-12T13:36:47+0200 error RobustWebSocket : [DiscordKitCore] [WS CLOSED] closed with error: no error description
2023-10-12T13:36:47+0200 warning RobustWebSocket : [DiscordKitCore] Already reconnecting, not reconnecting
2023-10-12T13:36:51+0200 info RobustWebSocket : version=9 ws=wss://gateway.discord.gg/?v=9&encoding=json&compress=zlib-stream [DiscordKitCore] [CONNECT]
2023-10-12T13:36:51+0200 info RobustWebSocket : [DiscordKitCore] [CONNECTED]```
from swiftcord.
Yes!. That seems to work. Logged in now. Thanks.
from swiftcord.
from swiftcord.
Swiftcord 2.zip
here's a more permanent copy of that since discord is killing off permanent cdn links soon (i.e. making it temporary which makes it expire after 24 hours)
from swiftcord.
Related Issues (20)
- [Bug]: Drag and Drop doesn't work HOT 1
- [Enhancement]: Clean cache feature in Settings HOT 4
- [Bug]: Channel list scrollbar too large HOT 1
- [Bug]: in app update doesn't find latest release HOT 3
- [Bug]: Uploads above 8MB not accepted HOT 1
- [Enhancement]: Option to display server name alongside the icon HOT 7
- [Bug] Folder popover opening cancels server mask animation HOT 4
- [Bug]: Settings icons and search bar are cut-off HOT 5
- [Bug]: the <New> red line in DM's pops up when I message. HOT 2
- [Enhancement]: Render Mentions HOT 2
- [Bug]: Stuck logging in HOT 22
- [Enhancement]: missing shift+enter functionality HOT 1
- [Bug]: Stuck after login - Nitro Basic HOT 3
- [Enhancement]: iOS port HOT 2
- [Bug]: Having UI layout overlaps HOT 1
- [Bug]: Window caption bar layout broken HOT 5
- [Bug]: Loads infinitely after logging in HOT 27
- [Enhancement]: Make the "(edited)" text not be possible to copy
- [Enhancement]: Discord server icon in the background of the "close" button or something
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 swiftcord.