Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't log in (was able to log in previously) #191

Closed
4 tasks done
David41413 opened this issue Nov 4, 2023 · 3 comments
Closed
4 tasks done

Can't log in (was able to log in previously) #191

David41413 opened this issue Nov 4, 2023 · 3 comments
Labels

Comments

@David41413
Copy link

Checklist

  • I am able to reproduce the bug with the latest debug version.
  • I've checked that there is no open or closed issue about this bug.
  • This issue contains only one bug.
  • The title of this issue accurately describes the bug.

Steps to reproduce

  1. Press the login button
  2. Enter username and password
  3. Error appears

Expected behavior

Log in successfully

Actual behavior

Met with error

Screenshots / recordings

No response

Logs

android.os.NetworkOnMainThreadException
at android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode.java:1667)
at com.android.org.conscrypt.Platform.blockGuardOnNetwork(Platform.java:432)
at com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.processDataFromSocket(ConscryptEngineSocket.java:836)
at com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.readUntilDataAvailable(ConscryptEngineSocket.java:824)
at com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.read(ConscryptEngineSocket.java:797)
at okio.InputStreamSource.read(SourceFile:56)
at okio.InputStreamSource.read(SourceFile:133)
at okio.RealBufferedSource.exhausted(Unknown Source:18)
at okhttp3.internal.connection.RealConnection.isHealthy(SourceFile:81)
at okhttp3.internal.connection.ExchangeFinder.findHealthyConnection(SourceFile:326)
at okhttp3.internal.connection.ConnectInterceptor.intercept(SourceFile:60)
at okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:135)
at okhttp3.internal.cache.CacheInterceptor.intercept(SourceFile:122)
at okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:135)
at okhttp3.internal.http.BridgeInterceptor.intercept(SourceFile:141)
at okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:135)
at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(SourceFile:148)
at okhttp3.internal.http.RealInterceptorChain.proceed(SourceFile:135)
at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(SourceFile:96)
at okhttp3.internal.connection.RealCall.execute(SourceFile:44)
at com.toasterofbread.spmp.youtubeapi.YoutubeApiKt.executeResult(SourceFile:15)
at com.toasterofbread.spmp.youtubeapi.impl.youtubemusic.YoutubeMusicApi.performRequest-0E7RQCE(Unknown Source:12)
at com.toasterofbread.spmp.youtubeapi.YoutubeApi$DefaultImpls.performRequest-0E7RQCE$default(Unknown Source:12)
at com.toasterofbread.spmp.youtubeapi.impl.youtubemusic.composable.YTMLoginPage.completeLogin-gIAlu-s(SourceFile:119)
at com.toasterofbread.spmp.youtubeapi.impl.youtubemusic.composable.YTMLoginPage.access$completeLogin-gIAlu-s(Unknown Source:0)
at com.toasterofbread.spmp.youtubeapi.impl.youtubemusic.composable.YTMLoginPage$LoginPage$3$5$1$1.invokeSuspend(SourceFile:39)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(Unknown Source:8)
at kotlinx.coroutines.DispatchedTask.run(Unknown Source:107)
at androidx.compose.ui.platform.AndroidUiDispatcher.access$performTrampolineDispatch(SourceFile:7)
at androidx.compose.ui.platform.AndroidUiDispatcher$dispatchCallback$1.run(SourceFile:3)
at android.os.Handler.handleCallback(Handler.java:942)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8762)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:604)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)

SpMp version

0.2.3

Android version

Android 13

Additional information

I tried downloading SPMP on another phone but I couldn't log in.

@David41413 David41413 added the Bug label Nov 4, 2023
@toasterofbread
Copy link
Owner

I am able to reproduce the bug with the latest debug version

Which build did you try? This should've been fixed a while ago.

@David41413
Copy link
Author

I am able to reproduce the bug with the latest debug version

Which build did you try? This should've been fixed a while ago.

I'm using the universal release version, if that's what you mean.

@toasterofbread
Copy link
Owner

toasterofbread commented Nov 4, 2023

This bug was fixed in bf635b7 (it was only mentioned in a comment on an unrelated issue and didn't have its own issue).

Please don't mark the 'I am able to reproduce the bug with the latest debug version' box if you haven't tested this with the latest debug version.

@toasterofbread toasterofbread closed this as not planned Won't fix, can't repro, duplicate, stale Nov 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants