Flow.Launcher icon indicating copy to clipboard operation
Flow.Launcher copied to clipboard

BUG: Icons hosted by CDNs do not appear in the plugin store or installed plugins list

Open SuperAnt220 opened this issue 5 months ago • 7 comments

Checks

  • [X] I have checked that this issue has not already been reported.

  • [X] I am using the latest version of Flow Launcher.

Problem Description

Plugin store doesn't have icons for any plugin. A couple months ago everything was fine. Plugins, that use cdn.jsdelivr for their icons and not the local path, also doesn't have an icon in the installed plugins list. I've tried:

  • Restarting the flow launcher
  • Reloading plugin data
  • Restarting my computer
  • Reinstalling the flow launcher
  • Exiting the flow launcher, deleting everything in %APPDATA%/FlowLauncher/Cache and launching the flow again

executing ping cdn.jsdelivr.net in cmd gives this result:

Pinging cdn.jsdelivr.net.cdn.cloudflare.net [104.16.87.20] with 32 bytes of data:
Reply from 104.16.87.20: bytes=32 time=18ms TTL=56
Reply from 104.16.87.20: bytes=32 time=3ms TTL=56
Reply from 104.16.87.20: bytes=32 time=3ms TTL=56
Reply from 104.16.87.20: bytes=32 time=13ms TTL=56

Ping statistics for 104.16.87.20:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 3ms, Maximum = 18ms, Average = 9ms

executing curl https://cdn.jsdelivr.net/gh/IsaacTay/Flow.Launcher.Plugin.FendCalculator@main/Images/calculator.png in powershell terminal gives this result:

StatusCode        : 200
StatusDescription : OK
Content           : {137, 80, 78, 71...}
RawContent        : HTTP/1.1 200 OK
                    Connection: keep-alive
                    Access-Control-Allow-Origin: *
                    Access-Control-Expose-Headers: *
                    Timing-Allow-Origin: *
                    Cross-Origin-Resource-Policy: cross-origin
                    X-Content-Type-Options: n...
Headers           : {[Connection, keep-alive], [Access-Control-Allow-Origin, *], [Access-Control-Expose-Headers, *], [Timing-Allow-Origin
                    , *]...}                                                                                                -Allow-Origin 
RawContentLength  : 6401

executing curl https://cdn.jsdelivr.net/gh/IsaacTay/Flow.Launcher.Plugin.FendCalculator@main/Images/calculator.png in cmd gives this result:

curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092012) - ??????? ?????? ?? ?????? ?????????? ???????? ?????? ??? ???????????.

To Reproduce

I don't know how to reproduce it. It just happened at some time in the past 1-2 months, I don't remember the exact day because I wasn't paying attention.

Screenshots

image image

Flow Launcher Version

1.16.2

Windows Build Number

10.0.18363.778

Error Log

I don't think this log contains any errors regarding this problem, but anyway: 2024-01-11.txt

SuperAnt220 avatar Jan 11 '24 11:01 SuperAnt220

well I think it is cdn issue, which doesn't seem something we can fix

taooceros avatar Jan 14 '24 05:01 taooceros

Based on the error it seems to be a local environment error. Consider updating curl and root CA certificates.

It doesn't seem to be a CDN issue

jimaek avatar Jan 14 '24 10:01 jimaek

Based on the error it seems to be a local environment error. Consider updating curl and root CA certificates.

It doesn't seem to be a CDN issue

we just use the default Image loading from wpf to load the images.

taooceros avatar Jan 14 '24 18:01 taooceros

Can you still install plugins?

Garulf avatar Jan 14 '24 19:01 Garulf

Yes, I can. Everything works fine except these icons

SuperAnt220 avatar Jan 15 '24 21:01 SuperAnt220

@SuperAnt220 https://learn.microsoft.com/en-us/uwp/api/windows.ui.xaml.controls.image.source?view=winrt-22621#using-files-from-a-network this is how we do it.

taooceros avatar Jan 15 '24 22:01 taooceros

Given that in the original issue everything works properly in Powershell and breaks in CMD this means its an env problem, not CDN issue. next InitializeSecurityContext failed: Unknown error (0x80092012) points to some kind of incorrect configuration of certificates.

Incorrect paths, broken binaries, incorrect permissions, anything could affect it

jimaek avatar Jan 16 '24 13:01 jimaek

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 60 days.\n\nAlternatively this issue can be kept open by adding one of the following labels:\nkeep-fresh

github-actions[bot] avatar Mar 17 '24 01:03 github-actions[bot]

This issue was closed because it has been stale for 7 days with no activity. If you feel this issue still needs attention please feel free to reopen.

github-actions[bot] avatar Mar 24 '24 01:03 github-actions[bot]