artifacthub / hub

Find, install and publish Cloud Native packages
https://artifacthub.io
Apache License 2.0
1.71k stars 233 forks source link

Bitnami Helm charts do not display the app icon correctly in the hub #1873

Closed jotamartos closed 2 years ago

jotamartos commented 2 years ago

Describe the bug When you look for the Bitnami charts in the Artifact Hub, you can see that there are some Bitnami solutions that do not include the icon we configure in the Chart.yaml

To Reproduce Steps to reproduce the behavior:

  1. Go to https://artifacthub.io/
  2. Look for the Bitnami charts
  3. See that some Bitnami solutions include a generic icon

Expected behavior All Bitnami solutions show the expected icon

Screenshots In the past, I found WordPress

image

I just found keycloak and minio with wrong icons now

image

Desktop (please complete the following information):

Additional context All Bitnami charts have a valid icon configured in the Chart.yaml file. For example, keycloak has this icon which is a valid png file.

tegioz commented 2 years ago

Hi @jotamartos 👋

We've been observing this issue every now and then with some Bitnami charts since the early days of Artifact Hub, but I don't think it's a problem with Artifact Hub itself.

Sometimes, when fetching icons hosted on bitnami.com, the requests time out. Sometimes, they work fine though. Below you can see some recent errors from the logs (they should match the ones in your screenshots):

@timestamp,repo,error
2022-04-03 11:00:36.492,bitnami,"error getting logo image https://bitnami.com/assets/stacks/keycloak/img/keycloak-stack-220x234.png: Get ""https://bitnami.com/assets/stacks/keycloak/img/keycloak-stack-220x234.png"": context deadline exceeded (Client.Timeout exceeded while awaiting headers) (package: keycloak version: 7.1.12)"
2022-04-03 03:30:35.585,bitnami,"error getting logo image https://bitnami.com/assets/stacks/minio/img/minio-stack-220x234.png: Get ""https://bitnami.com/assets/stacks/minio/img/minio-stack-220x234.png"": dial tcp 50.17.235.25:443: i/o timeout (Client.Timeout exceeded while awaiting headers) (package: minio version: 11.2.5)"
2022-04-02 12:00:35.266,bitnami,"error getting logo image https://bitnami.com/assets/stacks/postgresql/img/postgresql-stack-220x234.png: Get ""https://bitnami.com/assets/stacks/postgresql/img/postgresql-stack-220x234.png"": context deadline exceeded (Client.Timeout exceeded while awaiting headers) (package: postgresql version: 11.1.14)"
2022-04-02 00:30:35.314,bitnami,"error getting logo image https://bitnami.com/assets/stacks/ghost/img/ghost-stack-220x234.png: Get ""https://bitnami.com/assets/stacks/ghost/img/ghost-stack-220x234.png"": context deadline exceeded (Client.Timeout exceeded while awaiting headers) (package: ghost version: 16.3.5)"
2022-04-01 04:00:35.502,bitnami,"error getting logo image https://bitnami.com/assets/stacks/mediawiki/img/mediawiki-stack-220x234.png: Get ""https://bitnami.com/assets/stacks/mediawiki/img/mediawiki-stack-220x234.png"": context deadline exceeded (Client.Timeout exceeded while awaiting headers) (package: mediawiki version: 13.0.16)"
2022-03-30 23:30:34.561,bitnami,"error getting logo image https://bitnami.com/assets/stacks/wordpress/img/wordpress-stack-220x234.png: Get ""https://bitnami.com/assets/stacks/wordpress/img/wordpress-stack-220x234.png"": dial tcp 50.17.235.25:443: i/o timeout (Client.Timeout exceeded while awaiting headers) (package: wordpress-intel version: 0.1.24)"
2022-03-30 23:30:34.561,bitnami,"error getting logo image https://bitnami.com/assets/stacks/wordpress/img/wordpress-stack-220x234.png: Get ""https://bitnami.com/assets/stacks/wordpress/img/wordpress-stack-220x234.png"": dial tcp 50.17.235.25:443: i/o timeout (Client.Timeout exceeded while awaiting headers) (package: wordpress version: 13.1.11)"
2022-03-30 13:00:38.782,bitnami,"error getting logo image https://bitnami.com/assets/stacks/mysql/img/mysql-stack-220x234.png: Get ""https://bitnami.com/assets/stacks/mysql/img/mysql-stack-220x234.png"": context deadline exceeded (Client.Timeout exceeded while awaiting headers) (package: mysql version: 8.8.30)"
2022-03-30 10:00:36.960,bitnami,"error getting logo image https://bitnami.com/assets/stacks/influxdb/img/influxdb-stack-220x234.png: Get ""https://bitnami.com/assets/stacks/influxdb/img/influxdb-stack-220x234.png"": context deadline exceeded (Client.Timeout exceeded while awaiting headers) (package: influxdb version: 4.0.6)"
2022-03-30 10:00:36.927,bitnami,"error getting logo image https://bitnami.com/assets/stacks/oauth2-proxy/img/oauth2-proxy-stack-220x234.png: Get ""https://bitnami.com/assets/stacks/oauth2-proxy/img/oauth2-proxy-stack-220x234.png"": context deadline exceeded (Client.Timeout exceeded while awaiting headers) (package: oauth2-proxy version: 2.0.13)"
2022-03-29 00:00:35.943,bitnami,"error getting logo image https://bitnami.com/assets/stacks/redmine/img/redmine-stack-220x234.png: Get ""https://bitnami.com/assets/stacks/redmine/img/redmine-stack-220x234.png"": context deadline exceeded (Client.Timeout exceeded while awaiting headers) (package: redmine version: 18.1.7)"
2022-03-28 16:00:34.441,bitnami,"error getting logo image https://bitnami.com/assets/stacks/prestashop/img/prestashop-stack-220x234.png: Get ""https://bitnami.com/assets/stacks/prestashop/img/prestashop-stack-220x234.png"": context deadline exceeded (Client.Timeout exceeded while awaiting headers) (package: prestashop version: 14.0.17)"

Not sure if there could be some sort of rate limit on your end (we do a lot of requests sometimes), etc.

Happy to help with anything I can 🙂

tegioz commented 2 years ago

Will close this issue for now, please feel free to reopen it if needed.

jotamartos commented 2 years ago

Hi @tegioz,

Sorry for the late response and thank you for the information. I'm going to review this with the team and will reopen this issue if necessary.

tegioz commented 2 years ago

Cool, no worries 👍

josvazg commented 2 years ago

Hi again @tegioz,

We were checking the URLs and all seem to be working at the moment. We noticed that most have been fixed on the artifact hub side, so they show up correctly. Unfortunately some are still not fixed, like this nginx one: https://bitnami.com/assets/stacks/nginx/img/nginx-stack-220x234.png But as you can see that URL is working.

Is there a way for us to force the hub to reload the icon somehow?

tegioz commented 2 years ago

Hi @josvazg 👋

You can force it by releasing a new version of the package, or updating the latest one so that its digest changes. I've just forced the nginx package for you though 🙂

Just in case it happens again (as the problem used to be intermittent), please note that tracking errors like the ones I shared above are available from the control panel in the UI. The members of the Bitnami org in Artifact Hub should also receive them by email unless you've opted out from email notifications.

josvazg commented 2 years ago

Thanks a lot @tegioz !