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

Flow Crashed because of HA Comander #41

Closed
ghost opened this issue Feb 19, 2023 · 7 comments · Fixed by #42
Closed

Flow Crashed because of HA Comander #41

ghost opened this issue Feb 19, 2023 · 7 comments · Fixed by #42

Comments

@ghost
Copy link

ghost commented Feb 19, 2023

Hi, the Flow Launcher crashed and it told me to open a new issue here

  1. copy below exception message

Flow Launcher version: 1.13.0
OS Version: Microsoft Windows NT 10.0.19045.0
IntPtr Length: 8
x64: True

Python Path: C:\Users\krona\AppData\Roaming\FlowLauncher\Environments\Python\PythonEmbeddable-v3.8.9\pythonw.exe
Node Path: C:\Users\krona\AppData\Roaming\FlowLauncher\Environments\Node.js\Node-v16.18.0\node-v16.18.0-win-x64\node.exe
Date: 02/19/2023 23:30:54
Exception:
HA-Commander Exception:
Websites: https://github.com/Garulf/HA-Commander
Author: Garulf
Version: 5.0.1
Flow.Launcher.Core.ExternalPlugins.FlowPluginException: C:\Users\krona\AppData\Roaming\FlowLauncher\Plugins\HA-Commander-5.0.1\lib\urllib3\connectionpool.py:1045: InsecureRequestWarning: Unverified HTTPS request is being made to host '******.duckdns.org'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
warnings.warn(

---> System.IO.InvalidDataException: C:\Users\krona\AppData\Roaming\FlowLauncher\Plugins\HA-Commander-5.0.1\lib\urllib3\connectionpool.py:1045: InsecureRequestWarning: Unverified HTTPS request is being made to host '*****.duckdns.org'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
warnings.warn(

at Flow.Launcher.Core.Plugin.JsonRPCPlugin.ExecuteAsync(ProcessStartInfo startInfo, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 294
at Flow.Launcher.Core.Plugin.JsonRPCPlugin.ExecuteAsync(ProcessStartInfo startInfo, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 299
at Flow.Launcher.Core.Plugin.JsonRPCPlugin.QueryAsync(Query query, CancellationToken token) in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\JsonRPCPlugin.cs:line 314
at Flow.Launcher.Core.Plugin.PluginManager.<>c__DisplayClass22_0.<b__0>d.MoveNext() in C:\projects\flow-launcher\Flow.Launcher.Core\Plugin\PluginManager.cs:line 191
--- 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 190
--- End of inner exception stack trace ---
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 210
at Flow.Launcher.ViewModel.MainViewModel.<>c__DisplayClass135_0.<g__QueryTask|2>d.MoveNext() in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 811
--- End of stack trace from previous location ---
at Flow.Launcher.ViewModel.MainViewModel.QueryResults() in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 785
at System.Threading.Tasks.Task.<>c.b__128_0(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.
2023-02-19.txt
ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

@Garulf
Copy link
Owner

Garulf commented Feb 21, 2023

Do you have an invalid SSL certificate? While not recommended you can have the plugin skip certificate verification in the plugin settings.

If it works with verification off you should make sure your certificate is correctly applied.

@ghost
Copy link
Author

ghost commented Feb 21, 2023

No I should have a valid SSL certificate, but where could I find that out?

@Garulf
Copy link
Owner

Garulf commented Feb 21, 2023

Try going to the address in your browser and see if any errors appear. You should be able to check the certificate by clicking the padlock icon in most browsers.

@ghost
Copy link
Author

ghost commented Feb 22, 2023

My certificate is valid and my connection is secure.

@Garulf
Copy link
Owner

Garulf commented Feb 22, 2023

My certificate is valid and my connection is secure.

I apologize, I read the error log incorrectly. You do have a valid certificate. The plugin is warning that it is not verifying if a certificate is valid or not (sometimes this is okay if on a local connection).

To fix this please go into your Launcher settings and locate HA Commander's plugin settings. Make sure you have `Verify SSL' turned on and this error will go away. See picture below for an example:

image

@ghost
Copy link
Author

ghost commented Feb 22, 2023

Yes thank you I did that and now its working, ty very much

@ghost ghost closed this as completed Feb 22, 2023
@Garulf
Copy link
Owner

Garulf commented Feb 22, 2023

Glad its working now! Also thanks for bringing this to my attention as I thought I had this fixed before but must have reverted it.

Should be fixed in a few moments.

This issue was closed.
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

Successfully merging a pull request may close this issue.

1 participant