Comments (22)
This build seems to fix this issue according to some people, in the Discord server, experiencing the same problem. Give it a shot! (Do note, as always, since this is an unsigned build you'll have to right click > open to get past the macOS warning)
from swiftcord.
yep, login works now
from swiftcord.
Leaving this here:
evaluna@Evas-MacBookPro181 ~ % /Applications/Swiftcord.app/Contents/MacOS/Swiftcord
2023-07-26T03:52:37-0400 info RobustWebSocket : version=9 ws=wss://gateway.discord.gg/?v=9&encoding=json&compress=zlib-stream [DiscordKitCore] [CONNECT]
2023-07-26T03:52:37-0400 warning RobustWebSocket : [DiscordKitCore] Reconnection in progress, not reconnecting
2023-07-26T03:52:37-0400 info RobustWebSocket : [DiscordKitCore] [CONNECTED]
2023-07-26T03:52:37-0400 info RobustWebSocket : heartbeat_interval=41250 [DiscordKitCore] [HELLO]
2023-07-26T03:52:37-0400 info RobustWebSocket : intents=nil [DiscordKitCore] [IDENTIFY]
2023-07-26T03:52:38-0400 warning RobustWebSocket : error=dataCorrupted(Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "d", intValue: nil), CodingKeys(stringValue: "user", intValue: nil), CodingKeys(stringValue: "premium_type", intValue: nil)], debugDescription: "Cannot initialize PremiumType from invalid Int value 3", underlyingError: nil)) [DiscordKitCore] Error decoding message
from swiftcord.
Oh, this is a different issue from the other hang on login problem. Looks like this is due to Discord adding a new PremiumType, by any chance do your account(s) have Discord Nitro Basic?
from swiftcord.
Oh, this is a different issue from the other hang on login problem. Looks like this is due to Discord adding a new PremiumType, by any chance do your account(s) have Discord Nitro Basic?
Nope, neither of my accounts have nitro.
from swiftcord.
Oh, this is a different issue from the other hang on login problem. Looks like this is due to Discord adding a new PremiumType, by any chance do your account(s) have Discord Nitro Basic?
Mine does, at least.
from swiftcord.
@crystall1nedev Your issue appears to be a separate one from the OPs. Please open a separate issue (as it is due to unrecognised discord premium types).
from swiftcord.
I have the same issue, but no logs in the directory. I wonder how to debug it?
from swiftcord.
same issue as op here
from swiftcord.
I've got this from debug logging
2023-08-06T22:54:55+0300 info RobustWebSocket : version=9 ws=wss://gateway.discord.gg/?v=9&encoding=json&compress=zlib-stream [DiscordKitCore] [CONNECT]
2023-08-06T22:54:56+0300 debug RobustWebSocket : reason=connection is reachable [DiscordKitCore] Reset backoff
2023-08-06T22:54:56+0300 warning RobustWebSocket : [DiscordKitCore] Reconnection in progress, not reconnecting
2023-08-06T22:54:56+0300 info RobustWebSocket : [DiscordKitCore] [CONNECTED]
2023-08-06T22:54:56+0300 trace DecompressionEngine : decompressed.count=124 original.count=114 [DiscordKitCore] Decompressed data
2023-08-06T22:54:56+0300 debug RobustWebSocket : reason=Hello payload received [DiscordKitCore] Invalidating conn timeout
2023-08-06T22:54:56+0300 info RobustWebSocket : heartbeat_interval=41250 [DiscordKitCore] [HELLO]
2023-08-06T22:54:56+0300 debug RobustWebSocket : interval=41.25 [DiscordKitCore] Start heartbeating
2023-08-06T22:54:56+0300 info RobustWebSocket : intents=nil [DiscordKitCore] [IDENTIFY]
2023-08-06T22:54:56+0300 trace RobustWebSocket : data=GatewayIdentify(token: "*", properties: DiscordKitCore.GatewayConnProperties(os: DiscordKitCore.PropertiesOS.macOS, browser: "Discord Client", device: nil, release_channel: Optional("canary"), client_version: Optional("0.0.283"), os_version: Optional("22.5.0"), os_arch: Optional("arm64"), system_locale: Optional("en-US"), client_build_number: Optional(115689)), compress: Optional(false), large_threshold: nil, shard: nil, presence: Optional(DiscordKitCore.GatewayPresenceUpdate(since: 0, activities: [], status: DiscordKitCore.PresenceStatus.online, afk: false)), client_state: Optional(DiscordKitCore.ClientState(guild_hashes: DiscordKitCore.GuildHashes(), highest_last_message_id: "0", read_state_version: 0, user_guild_settings_version: -1, user_settings_version: -1)), capabilities: Optional(1021), intents: nil) opcode=identify seq=-1 [DiscordKitCore] Outgoing Payload
2023-08-06T22:54:57+0300 trace DecompressionEngine : decompressed.count=2916079 original.count=453598 [DiscordKitCore] Decompressed data
2023-08-06T22:54:57+0300 warning RobustWebSocket : error=keyNotFound(CodingKeys(stringValue: "application", intValue: nil), Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "d", intValue: nil)], debugDescription: "No value associated with key CodingKeys(stringValue: \"application\", intValue: nil) (\"application\").", underlyingError: nil)) [DiscordKitCore] Error decoding message
from swiftcord.
Same problem here. Infinite loading after login / qr code scan on just bought macbook m1
from swiftcord.
Same problem too
from swiftcord.
same.
from swiftcord.
Ditto
from swiftcord.
Same, both phone number and email don't work. Strangely, it knows my account's using two-factor auth, but it doesn't load after entering the code.
from swiftcord.
@Blind-Joe @aljustiet @randompea @zeronullempty @RWCoding58 could you guys try out this nightly build? It contains fixes which might resolve your issue. The build is also available through Swiftcord's Discord server, so do join that for the latest updates and faster support.
from swiftcord.
@Blind-Joe @aljustiet @randompea @zeronullempty @RWCoding58 could you guys try out this nightly build? It contains fixes which might resolve your issue. The build is also available through Swiftcord's Discord server, so do join that for the latest updates and faster support.
nope, still stuck for me
from swiftcord.
@Blind-Joe @aljustiet @randompea @zeronullempty @RWCoding58 could you guys try out this nightly build? It contains fixes which might resolve your issue. The build is also available through Swiftcord's Discord server, so do join that for the latest updates and faster support.
This does fix some issues, but I still can't log in. If I use CMD+, I can enter settings, and my account name and details show up though!
from swiftcord.
Leaving this here:
evaluna@Evas-MacBookPro181 ~ % /Applications/Swiftcord.app/Contents/MacOS/Swiftcord 2023-07-26T03:52:37-0400 info RobustWebSocket : version=9 ws=wss://gateway.discord.gg/?v=9&encoding=json&compress=zlib-stream [DiscordKitCore] [CONNECT] 2023-07-26T03:52:37-0400 warning RobustWebSocket : [DiscordKitCore] Reconnection in progress, not reconnecting 2023-07-26T03:52:37-0400 info RobustWebSocket : [DiscordKitCore] [CONNECTED] 2023-07-26T03:52:37-0400 info RobustWebSocket : heartbeat_interval=41250 [DiscordKitCore] [HELLO] 2023-07-26T03:52:37-0400 info RobustWebSocket : intents=nil [DiscordKitCore] [IDENTIFY] 2023-07-26T03:52:38-0400 warning RobustWebSocket : error=dataCorrupted(Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "d", intValue: nil), CodingKeys(stringValue: "user", intValue: nil), CodingKeys(stringValue: "premium_type", intValue: nil)], debugDescription: "Cannot initialize PremiumType from invalid Int value 3", underlyingError: nil)) [DiscordKitCore] Error decoding message
@crystall1nedev Could you check if the issue #170 is relevant to your issue? The build linked in the previous comment should also help.
from swiftcord.
This build seems to fix this issue according to some people, in the Discord server, experiencing the same problem. Give it a shot! (Do note, as always, since this is an unsigned build you'll have to right click > open to get past the macOS warning)
Yess! This build fixes all the issues mentioned in this post. Thanks for your help!
from swiftcord.
Alright, thats great, hope this also resolves #170!
from swiftcord.
It is not resolved for me. Tried latest release version from releases and attached zip from here on Air M1 Ventura.
I am getting these errors after logging in by scanning qr. I don't have anything premium. All free.
2023-10-11T15:00:37+0530 warning RobustWebSocket : [DiscordKitCore] Already reconnecting, not reconnecting
rerender server
rerender server
rerender server
2023-10-11T15:00:43+0530 info RobustWebSocket : version=9 ws=wss://gateway.discord.gg/?v=9&encoding=json&compress=zlib-stream [DiscordKitCore] [CONNECT]
2023-10-11T15:00:44+0530 info RobustWebSocket : [DiscordKitCore] [CONNECTED]
2023-10-11T15:00:44+0530 warning RobustWebSocket : error=The data couldn’t be read because it isn’t in the correct format. [DiscordKitCore] Error decoding message
It keeps repeating.
What could be the issue ?
from swiftcord.
Related Issues (20)
- [Bug]: Opening Settings crashes Swiftcord HOT 1
- [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
- [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]: Won't load HOT 13
- [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
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.