ios-sdk icon indicating copy to clipboard operation
ios-sdk copied to clipboard

Error connecting using appRemote.connect()

Open addy239 opened this issue 1 year ago • 0 comments

It only works after the app jump using authorizeAndPlay, and not if Spotify is quit once, and opened later, attempting to reconnect throws an error, and does not connect.

Error Domain=com.spotify.app-remote Code=-1000 "Connection attempt failed." UserInfo={NSLocalizedDescription=Connection attempt failed., NSUnderlyingError=0x301325710 {Error Domain=com.spotify.app-remote.transport Code=-2000 "Stream error." UserInfo={NSLocalizedDescription=Stream error., NSUnderlyingError=0x301324b40 {Error Domain=NSPOSIXErrorDomain Code=61 "Connection refused" UserInfo={_kCFStreamErrorCodeKey=61, _kCFStreamErrorDomainKey=1}}, NSLocalizedRecoverySuggestion=Reconnect the transport to the Spotify app., NSLocalizedFailureReason=A stream error has occured in the transport.}}, NSLocalizedRecoverySuggestion=Ensure the Spotify app is installed, and try to reconnect., NSLocalizedFailureReason=Could not connect to the Spotify app.}

Spotify iOS SDK 3.0.0 iOS 18.0.1 Spofity 8.9.82

addy239 avatar Oct 20 '24 07:10 addy239