Code Monkey home page Code Monkey logo

Comments (13)

CRT-HAO avatar CRT-HAO commented on May 24, 2024 6
Screenshot 2023-10-10 at 12 34 26 AM Same here.

from swiftcord.

cryptoAlgorithm avatar cryptoAlgorithm commented on May 24, 2024 3

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.

thuvasooriya avatar thuvasooriya commented on May 24, 2024 1
drawing drawing

Same Here :(
I was pretty excited to try it but it won't work 😢

from swiftcord.

nnzo avatar nnzo commented on May 24, 2024 1

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).

  1. Download both Swiftcord and DiscordKit from Github
  2. Open the Swiftcord project in xCode and drag your local DiscordKit into the project navigator
  3. Find DiscordKit > Sources > DiscordKitCore > DiscordKitConfig and modify line 182 from streamCompression: Bool = true to streamCompression: Bool = false
  4. Build for your mac

Let me know if the below binary works!
Swiftcord.zip

from swiftcord.

nnzo avatar nnzo commented on May 24, 2024 1

@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.

Duskiee avatar Duskiee commented on May 24, 2024 1

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.

cryptoAlgorithm avatar cryptoAlgorithm commented on May 24, 2024 1

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.

ShikiSuen avatar ShikiSuen commented on May 24, 2024

I met this issue, too.

from swiftcord.

khurshid-alam avatar khurshid-alam commented on May 24, 2024

Same here. It seems it is broken on Ventura.

from swiftcord.

mgidding avatar mgidding commented on May 24, 2024

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.

khurshid-alam avatar khurshid-alam commented on May 24, 2024

@nnzo

Yes!. That seems to work. Logged in now. Thanks.

from swiftcord.

toshmukhamedov avatar toshmukhamedov commented on May 24, 2024

+1
image

from swiftcord.

Kusanalee avatar Kusanalee commented on May 24, 2024

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)

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.