DiekoMA / Flow.Launcher.Plugin.Anilist

An Anilist plugin for FlowLauncher
4 stars 1 forks source link

Error: Failed to respond #2

Open Shouri14 opened 4 days ago

Shouri14 commented 4 days ago

Some context:

Log File : 2024-11-14.txt

Flow Launcher version: 1.19.4 OS Version: 22621.4317 IntPtr Length: 8 x64: True

Python Path: F:\Portable_Or_Interested_Programs\Scoop\apps\Flow-Launcher\current\app-1.19.4\UserData\Environments\Python\PythonEmbeddable-v3.11.4\pythonw.exe Node Path: Date: 11/14/2024 00:57:28 Exception: Anilist Exception: Websites: https://github.com/DiekoMA/Flow.Launcher.Plugin.Anilist Author: DiekoMA Version: 1.0.3 Flow.Launcher.Core.ExternalPlugins.FlowPluginException: One or more errors occurred. (The requested address is not valid in its context. (graphql.anilist.co:443)) ---> System.AggregateException: One or more errors occurred. (The requested address is not valid in its context. (graphql.anilist.co:443)) ---> System.Net.Http.HttpRequestException: The requested address is not valid in its context. (graphql.anilist.co:443) ---> System .Net.Sockets.SocketException (10049): The requested address is not valid in its context. 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.gWaitForConnectWithCancellation|281_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(QueueItem queueItem) at System.Threading.Tasks.TaskCompletionSourceWithCancellation1.WaitWithCancellationAsync(CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken) 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.g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) at AniListNet.AniClient.PostRequestAsync(GqlSelection selection, Boolean isMutation) at AniListNet.AniClient.SearchMediaAsync(SearchMediaFilter filter, AniPaginationOptions options) --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification) at Flow.Launcher.Plugin.Anilist.Anilist.Query(Query query) at System.Threading.Tasks.Task1.InnerInvoke() at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at Flow.Launcher.Core.Plugin.PluginManager.<>cDisplayClass28_0.<b0>d.MoveNext() in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 248 --- End of stack trace from previous location --- at Flow.Launcher.Infrastructure.Stopwatch.DebugAsync(String message, Func`1 action) in C:\projects\flow-launcher\Flow.Launcher.Infrastructure\Stopwatch.cs:line 40 at Flow.Launcher.Core.Plugin.PluginManager.QueryForPluginAsync(PluginPair pair, Query query, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 282 --- End of inner exception stack trace --- at Flow.Launcher.Core.Plugin.PluginManager.<>cDisplayClass28_1.b1(ActionContext ) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 276 at Flow.Launcher.Plugin.Result.ExecuteAsync(ActionContext context) in //Flow.Launcher.Plugin/Result.cs:line 246 at Flow.Launcher.ViewModel.MainViewModel.OpenResultAsync(String index) in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 389 at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask) at System.Threading.Tasks.Task.<>c.b128_0(Object state) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

DiekoMA commented 3 days ago

That's a mistake on my part, the AnilistSettingsView.xaml should not be there in the release, all you need are the contents of the zip file

Please try reinstalling the plug-in with just the contents of the zip file.

Shouri14 commented 2 days ago

That's a mistake on my part, the AnilistSettingsView.xaml should not be there in the release, all you need are the contents of the zip file

Please try reinstalling the plug-in with just the contents of the zip file.

I uninstalled and installed again only using the zip. Still seeing same issue,

Flow Launcher version: 1.19.4 OS Version: 22621.4317 IntPtr Length: 8 x64: True

Python Path: F:\Portable_Or_Interested_Programs\Scoop\apps\Flow-Launcher\current\app-1.19.4\UserData\Environments\Python\PythonEmbeddable-v3.11.4\pythonw.exe Node Path: Date: 11/15/2024 17:16:17 Exception: Anilist Exception: Websites: https://github.com/DiekoMA/Flow.Launcher.Plugin.Anilist Author: DiekoMA Version: 1.0.3 Flow.Launcher.Core.ExternalPlugins.FlowPluginException: One or more errors occurred. (The requested address is not valid in its context. (graphql.anilist.co:443)) ---> System.AggregateException: One or more errors occurred. (The requested address is not valid in its context. (graphql.anilist.co:443)) ---> System.Net.Http.HttpRequestException: The requested address is not valid in its context. (graphql.anilist.co:443) ---> System.Net.Sockets.SocketException (10049): The requested address is not valid in its context. 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.gWaitForConnectWithCancellation|281_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(QueueItem queueItem) at System.Threading.Tasks.TaskCompletionSourceWithCancellation1.WaitWithCancellationAsync(CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.HttpConnectionWaiter1.WaitForConnectionAsync(Boolean async, CancellationToken requestCancellationToken) 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.g__Core|83_0(HttpRequestMessage request, HttpCompletionOption completionOption, CancellationTokenSource cts, Boolean disposeCts, CancellationTokenSource pendingRequestsCts, CancellationToken originalCancellationToken) at AniListNet.AniClient.PostRequestAsync(GqlSelection selection, Boolean isMutation) at AniListNet.AniClient.SearchMediaAsync(SearchMediaFilter filter, AniPaginationOptions options) --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification) at Flow.Launcher.Plugin.Anilist.Anilist.Query(Query query) at Flow.Launcher.Plugin.IPlugin.<>cDisplayClass3_0.b0() in /_/Flow.Launcher.Plugin/Interfaces/IPlugin.cs:line 35 at System.Threading.Tasks.Task`1.InnerInvoke() at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at Flow.Launcher.Core.Plugin.PluginManager.<>c__DisplayClass28_0.<b0>d.MoveNext() in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 248 --- End of stack trace from previous location --- at Flow.Launcher.Infrastructure.Stopwatch.DebugAsync(String message, Func`1 action) in C:\projects\flow-launcher\Flow.Launcher.Infrastructure\Stopwatch.cs:line 34 at Flow.Launcher.Core.Plugin.PluginManager.QueryForPluginAsync(PluginPair pair, Query query, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 247 --- End of inner exception stack trace --- at Flow.Launcher.Core.Plugin.PluginManager.<>c__DisplayClass28_1.b1(ActionContext ) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 276 at Flow.Launcher.Plugin.Result.ExecuteAsync(ActionContext context) in //Flow.Launcher.Plugin/Result.cs:line 246 at Flow.Launcher.ViewModel.MainViewModel.OpenResultAsync(String index) in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 389 at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask) at System.Threading.Tasks.Task.<>c.b128_0(Object state) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

DiekoMA commented 2 days ago

Have you set your access token in the plug-in settings page ?

Shouri14 commented 1 day ago

Have you set your access token in the plug-in settings page ?

Yes.

image

In my Anilist account, image

DiekoMA commented 1 day ago

Ok could you go to the flow launcher user data folder -> settings and find the plug-in settings for Anilist to confirm it's saving your token ?

Shouri14 commented 1 day ago

I see the token field populated in the plugin settings

DiekoMA commented 4 hours ago

I see the token field populated in the plugin settings

I'll check and see what the problem is on my side and push an update this week