Swiftcord icon indicating copy to clipboard operation
Swiftcord copied to clipboard

[Bug]: Loads infinitely after logging in

Open rmvdesign opened this issue 7 months ago • 29 comments

Describe the Bug

Bug Description

When logging in through the login mask, both through User/Pass and the QR code, Swiftcord just loads infinitely.

Actual Behaviour

Swiftcord spins and loads forever.

Expected Behavior

Swiftcord should log me in and proceed to its main view.

Reproducing the Bug

  1. Log in
  2. Wait

Version

0.7.1

Category

Login

Relevant Log Output

No response

Screenshots

Screenshot 2023-11-19 at 15 52 02

Additional Info

MacBook Pro 13, M1, macOS 14.0

rmvdesign avatar Nov 19 '23 14:11 rmvdesign

Facing this issue too on macOS 14, M2 Pro

QuixThe2nd avatar Nov 26 '23 18:11 QuixThe2nd

Also experiencing this issue, not sure if its related to #170, #176 and quite a number of other similar ones

RWCoding58 avatar Nov 29 '23 04:11 RWCoding58

Same issue

aljustiet avatar Nov 30 '23 19:11 aljustiet

Facing the same issue

BearTS avatar Dec 01 '23 20:12 BearTS

Same here

Bewinxed avatar Dec 06 '23 16:12 Bewinxed

Can't get in either

vmstan avatar Dec 15 '23 20:12 vmstan

Facing this issue as well. M2 MacBook Air on macOS Sonoma 14.2

HadesButGithub avatar Dec 19 '23 00:12 HadesButGithub

Same issue on macOS Sonoma 14.1 with M2 Pro

appleshoops avatar Dec 20 '23 06:12 appleshoops

Same here. MacBook Air M2, Sonoma 14.2.1

honeybyhomo avatar Dec 26 '23 23:12 honeybyhomo

macOS 14.2.1 on 0.7.1

bnwa avatar Jan 07 '24 03:01 bnwa

same issue, MacBook Air M1, Sonoma 14.2.1, maybe it's because of Sonoma?

jurifm2406 avatar Jan 11 '24 22:01 jurifm2406

14.2.1 Mac mini M2, same issue.

Christmaswreath avatar Jan 12 '24 22:01 Christmaswreath

MacBook Air M2, Sonoma 14.2.1, same issue

isamirivers avatar Jan 17 '24 08:01 isamirivers

same issue M2 MacBook Air on Ventura 13.4.1

tikagan avatar Jan 17 '24 14:01 tikagan

Same issue on MacBook Air M2, Sonoma 14.2.1

lg2it avatar Jan 22 '24 05:01 lg2it

Same issue on MacBook Pro M3 Pro, Sonoma 14.3

bpluhar avatar Jan 31 '24 16:01 bpluhar

Same here +1

CleanShot 2024-01-31 at 10 20 24@2x

aubreypwd avatar Jan 31 '24 17:01 aubreypwd

Same here :( M2 Max, Sonoma

EDIT: This was on the homebrew version.

Manually installing 0.7.1 from https://github.com/SwiftcordApp/Swiftcord/releases/download/v0.7.1/Swiftcord.zip fixed it for me

arcataroger avatar Feb 02 '24 01:02 arcataroger

Sonoma 14.3 2020 Macbook pro, same issue on all released versions, even manual installation of version above had infinite login loop

lm011 avatar Feb 06 '24 03:02 lm011

I have the same issue

r00bit1984 avatar Feb 07 '24 19:02 r00bit1984

same for me, mbp 13" intel 2020, latest mac os, installed from homebrew

OmerWow avatar Feb 12 '24 21:02 OmerWow

Same for me Macbook Pro 2022 m2 14.0 (23A344)

Maplerxyz avatar Feb 26 '24 05:02 Maplerxyz

I am also experiencing the same issue, on both Homebrew and GitHub release.

Zackery avatar Feb 27 '24 05:02 Zackery

Same thing on my end

lily-ku avatar Mar 02 '24 04:03 lily-ku

Same thing here on M1 macbook air on latest macOS

FormalSnake avatar Mar 03 '24 19:03 FormalSnake

For other people that have the same problem, please just add a  👍 to the first post. Otherwise everyone that subscribed to this thread gets a notification, which isn't very helpful.

timpulver avatar Mar 04 '24 10:03 timpulver

I attempted to build the latest version from source, but am having the same issue. I've basically tried on both Macos Sonoma and Ventura. I've got some logs which may be useful. Happy to help figure out where the issue is. I believe it to be part of discordKit:

Logs
Error Domain=NSCocoaErrorDomain Code=513 "“TemporaryItems” couldn’t be removed because you don’t have permission to access it." UserInfo={NSUserStringVariant=(
    Remove
), NSFilePath=/var/folders/mb/3yck9l0s0wg8jlq2rt0xm2nc0000gn/T/io.cryptoalgo.swiftcord/TemporaryItems, NSUnderlyingError=0x600001a63c30 {Error Domain=NSPOSIXErrorDomain Code=1 "Operation not permitted"}}
[AppCenter] DEBUG: -[MSACDelegateForwarder setEnabledFromPlistForKey:]_block_invoke/278 Delegate forwarder for info.plist key 'AppCenterAppDelegateForwarderEnabled' enabled. It may use swizzling.
Tracking event <impression_user_login>: <private>
[AppCenter] DEBUG: -[MSACSessionContext init]/42 2 session(s) in the history.
[AppCenter] ERROR: -[MSACServiceAbstract canBeUsed]/58 Analytics service hasn't been started. You need to call [MSACAppCenter start:YOUR_APP_SECRET withServices:LIST_OF_SERVICES] first.
WebContent process (0x1130684f0) took 1.167585 seconds to launch
Navigation to https://discord.com/login allowed
Error acquiring assertion: <Error Domain=RBSServiceErrorDomain Code=1 "target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit" UserInfo={NSLocalizedFailureReason=target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit}>
0x11301c4e0 - ProcessAssertion::acquireSync Failed to acquire RBS assertion 'XPCConnectionTerminationWatchdog' for process with PID=75968, error: Error Domain=RBSServiceErrorDomain Code=1 "target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit" UserInfo={NSLocalizedFailureReason=target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit}
Navigation to about:blank cancelled
didFinishNavigation
Navigation to about:blank cancelled
2024-04-20T19:50:32+1000 info RobustWebSocket : version=9 ws=wss://gateway.discord.gg/?v=9&encoding=json&compress=zlib-stream [DiscordKitCore] [CONNECT]
rerender server
2024-04-20T19:50:32+1000 debug RobustWebSocket : reason=connection is reachable [DiscordKitCore] Reset backoff
2024-04-20T19:50:32+1000 warning RobustWebSocket : [DiscordKitCore] Reconnection in progress, not reconnecting
rerender server
rerender server
2024-04-20T19:50:33+1000 info RobustWebSocket : [DiscordKitCore] [CONNECTED]
2024-04-20T19:50:33+1000 trace DecompressionEngine : decompressed.count=124 original.count=115 [DiscordKitCore] Decompressed data
2024-04-20T19:50:33+1000 debug RobustWebSocket : reason=Hello payload received [DiscordKitCore] Invalidating conn timeout
2024-04-20T19:50:33+1000 info RobustWebSocket : heartbeat_interval=41250 [DiscordKitCore] [HELLO]
2024-04-20T19:50:33+1000 debug RobustWebSocket : interval=41.25 [DiscordKitCore] Start heartbeating
2024-04-20T19:50:33+1000 info RobustWebSocket : intents=nil [DiscordKitCore] [IDENTIFY]
2024-04-20T19:50:33+1000 trace RobustWebSocket : data=nil opcode=identify seq=-1 [DiscordKitCore] Outgoing Payload
2024-04-20T19:50:34+1000 trace DecompressionEngine : decompressed.count=3283172 original.count=496844 [DiscordKitCore] Decompressed data
2024-04-20T19:50:34+1000 warning RobustWebSocket : error=The data couldn’t be read because it is missing. [DiscordKitCore] Error decoding message
2024-04-20T19:50:34+1000 trace DecompressionEngine : decompressed.count=106255 original.count=15270 [DiscordKitCore] Decompressed data
2024-04-20T19:50:34+1000 trace DecompressionEngine : decompressed.count=626 original.count=248 [DiscordKitCore] Decompressed data
2024-04-20T19:50:34+1000 trace DiscordGateway : [DiscordKit] [EVENT] Dispatched event
rerender server
rerender server
2024-04-20T19:50:34+1000 trace DiscordGateway : [DiscordKit] [EVENT] Dispatched event

2024-04-20T19:50:35+1000 trace DecompressionEngine : decompressed.count=850 original.count=62 [DiscordKitCore] Decompressed data
2024-04-20T19:50:35+1000 trace DiscordGateway : [DiscordKit] [EVENT] Dispatched event

2024-04-20T19:50:36+1000 trace DecompressionEngine : decompressed.count=9550 original.count=2977 [DiscordKitCore] Decompressed data
2024-04-20T19:50:36+1000 warning RobustWebSocket : error=The data couldn’t be read because it isn’t in the correct format. [DiscordKitCore] Error decoding message

Error acquiring assertion: <Error Domain=RBSServiceErrorDomain Code=1 "target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit" UserInfo={NSLocalizedFailureReason=target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit}>
0x11301d7a0 - ProcessAssertion::acquireSync Failed to acquire RBS assertion 'XPCConnectionTerminationWatchdog' for process with PID=75983, error: Error Domain=RBSServiceErrorDomain Code=1 "target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit" UserInfo={NSLocalizedFailureReason=target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit}

SethBurkart123 avatar Apr 20 '24 09:04 SethBurkart123