Menu

#167 [Bug]: Stuck right after login.

open
nobody
2023-08-29
2023-07-23
Anonymous
No

Originally created by: AstralNexus25

Describe the Bug

Bug Description
I enter my username and password, click Log In, and it keeps loading. I've tried different macOS versions (Sonoma dev beta and Ventura), tried different Swiftcord versions, even reinstalled macOS altogether. (dw I backed it up)
I tried a different user account and it turns out that works. That account was inactive for a long time, and I had not updated the username to the latest non-#xxxx format. It is possible that that was the issue, but it really shouldn't be.

Actual Behaviour
Entered username, password, click Log In, stuck on spinning discord logo.

Expected Behavior
It.. loads?

Reproducing the Bug

1... Log In
2...Wait..
3...Wait...
... Log out ig

Version

0.6.1

Category

Login

Relevant Log Output

No response

Screenshots

Start screen
SCR-20230723-rets
Login
SCR-20230723-rewz-2
Loading screen
SCR-20230723-rfau
Eventually the "This is taking a while, want to log out?" button appears
SCR-20230723-rfco
It crashes after a while (like 5 minutes)
SCR-20230723-rgtv

Additional Info

I did try a different legacy username account (by legacy I mean it still had the #xxxx ending), and surprisingly it logged in fine. This probably isn't useful since it is (hopefully) really unlikely that this is an issue, but just wanted to put that out. Thanks!

Edit: Attaching the Problem Details and System Configuration log that shows up in the "Swiftcord quit unexpectedly" message if that helps.

Problem Details and System Configuration.txt

Related

Tickets: #155
Tickets: #170

Discussion

  • Anonymous

    Anonymous - 2023-07-26

    Originally posted by: crystall1nedev

    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
    
     
  • Anonymous

    Anonymous - 2023-07-27

    Originally posted by: cryptoAlgorithm

    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?

     
  • Anonymous

    Anonymous - 2023-07-28

    Originally posted by: AstralNexus25

    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.

     
  • Anonymous

    Anonymous - 2023-07-28

    Ticket changed by: AstralNexus25

    • status: open --> closed
     
  • Anonymous

    Anonymous - 2023-07-28

    Ticket changed by: AstralNexus25

    • status: closed --> open
     
  • Anonymous

    Anonymous - 2023-07-29

    Originally posted by: crystall1nedev

    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.

     
  • Anonymous

    Anonymous - 2023-07-29

    Ticket changed by: AstralNexus25

    • status: open --> closed
     
  • Anonymous

    Anonymous - 2023-07-29

    Ticket changed by: AstralNexus25

    • status: closed --> open
     
  • Anonymous

    Anonymous - 2023-07-31

    Originally posted by: cryptoAlgorithm

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

     
  • Anonymous

    Anonymous - 2023-08-04

    Originally posted by: egor-ryashin

    I have the same issue, but no logs in the directory. I wonder how to debug it?

     
  • Anonymous

    Anonymous - 2023-08-06

    Originally posted by: therealhubbit

    same issue as op here

     
  • Anonymous

    Anonymous - 2023-08-06

    Originally posted by: egor-ryashin

    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
    
     
  • Anonymous

    Anonymous - 2023-08-07

    Originally posted by: Blind-Joe

    Same problem here. Infinite loading after login / qr code scan on just bought macbook m1

     
  • Anonymous

    Anonymous - 2023-08-11

    Originally posted by: aljustiet

    Same problem too

     
  • Anonymous

    Anonymous - 2023-08-13

    Originally posted by: randompea

    same.

     
  • Anonymous

    Anonymous - 2023-08-22

    Originally posted by: zeronullempty

    Ditto

     
  • Anonymous

    Anonymous - 2023-08-27

    Originally posted by: RWCoding58

    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.

     
  • Anonymous

    Anonymous - 2023-08-27

    Originally posted by: cryptoAlgorithm

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

     
  • Anonymous

    Anonymous - 2023-08-28

    Originally posted by: RWCoding58

    @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

     
  • Anonymous

    Anonymous - 2023-08-29

    Originally posted by: AstralNexus25

    @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!
    SCR-20230829-sqee-2

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.