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

App immediately closes upon attempting login #100

Open
Jambopaul opened this issue Nov 19, 2023 · 7 comments
Open

App immediately closes upon attempting login #100

Jambopaul opened this issue Nov 19, 2023 · 7 comments

Comments

@Jambopaul
Copy link

I am unable to use the app because every time I try to put in my login information, the app completely closes. It even disappears from my system tray within a few seconds. Additionally, attempting to login through a browser doesn't work for me either. It just results in an endlessly loading page.

@Ombrelin
Copy link
Owner

Hello, thank you for your feedback,
Could you post your logs ? They can be found on the `.plexrichpresence` folder in your user directory.

@Jambopaul
Copy link
Author

Jambopaul commented Nov 21, 2023

Here are my logs
logs2023111822.txt
logs2023111823.txt

@DuckersMcQuack
Copy link

Same issue here.

2024-05-31 22:59:34.258 +02:00 [FTL] Application crashed
System.Net.Http.HttpRequestException: The requested name is valid, but no data of the requested type was found. (secure.gravatar.com:443)
---> System.Net.Sockets.SocketException (11004): The requested name is valid, but no data of the requested type was found.
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token)
at System.Net.Sockets.Socket.g__WaitForConnectWithCancellation|277_0(AwaitableSocketAsyncEventArgs saea, ValueTask connectTask, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
--- End of inner exception stack trace ---
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(String host, Int32 port, HttpRequestMessage initialRequest, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
at System.Net.Http.HttpConnectionPool.AddHttp11ConnectionAsync(HttpRequestMessage request)
at System.Threading.Tasks.TaskCompletionSourceWithCancellation1.WaitWithCancellationAsync(CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.GetHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) at PlexRichPresence.UI.Avalonia.Views.ServersPage.<>c__DisplayClass0_0.<<-ctor>b__0>d.MoveNext() in D:\a\plex-rich-presence\plex-rich-presence\src\PlexRichPresence.UI.Avalonia\Views\ServersPage.axaml.cs:line 23 --- End of stack trace from previous location --- at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state) at Avalonia.Threading.AvaloniaSynchronizationContext.<>c__DisplayClass5_0.<Post>b__0() in /_/src/Avalonia.Base/Threading/AvaloniaSynchronizationContext.cs:line 33 at Avalonia.Threading.JobRunner.Job.Avalonia.Threading.JobRunner.IJob.Run() in /_/src/Avalonia.Base/Threading/JobRunner.cs:line 181 at Avalonia.Threading.JobRunner.RunJobs(Nullable1 priority) in //src/Avalonia.Base/Threading/JobRunner.cs:line 37
at Avalonia.Win32.Win32Platform.WndProc(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam) in /
/src/Windows/Avalonia.Win32/Win32Platform.cs:line 263
at Avalonia.Win32.Interop.UnmanagedMethods.DispatchMessage(MSG& lpmsg)
at Avalonia.Win32.Win32Platform.RunLoop(CancellationToken cancellationToken) in //src/Windows/Avalonia.Win32/Win32Platform.cs:line 210
at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken) in /
/src/Avalonia.Base/Threading/Dispatcher.cs:line 65
at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.Start(String[] args) in //src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs:line 120
at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime[T](T builder, String[] args, ShutdownMode shutdownMode) in /
/src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs:line 209
at PlexRichPresence.UI.Avalonia.Program.Main(String[] args) in D:\a\plex-rich-presence\plex-rich-presence\src\PlexRichPresence.UI.Avalonia\Program.cs:line 19

@KristapsD
Copy link

For anyone having this issue:
For me deleting the following folder on windows worked - C:\Users\xxx\AppData\Roaming\PlexRichPresence\SecretCache

It does obviously ask you to re-authenticate.

@DuckersMcQuack
Copy link

For anyone having this issue: For me deleting the following folder on windows worked - C:\Users\xxx\AppData\Roaming\PlexRichPresence\SecretCache

It does obviously ask you to re-authenticate.

Doesn't work. It'll repeat the same issue for me when i log in through browser.

@Ombrelin
Copy link
Owner

Ombrelin commented Nov 4, 2024

Hi @DuckersMcQuack, did a bit of digging, and it seems like this error might be related to something wrong to either your system's DNS or the domain name of your server :

https://stackoverflow.com/questions/29531253/the-requested-name-is-valid-but-no-data-of-the-requested-type-was-found-when

@Ombrelin
Copy link
Owner

Ombrelin commented Nov 9, 2024

@Jambopaul based on your logs it seems you auth session expired.
Are you user or admin account of your plex server ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants