cyfronet-fid / marketplace

Marketplace is a place where you can find services you need for your research
https://marketplace.eosc-portal.eu
GNU General Public License v3.0
21 stars 6 forks source link

Missing resource logotype in MP, invalid images extensions of providers #1843

Closed lukasz-korzeniowski closed 3 years ago

lukasz-korzeniowski commented 3 years ago

Instance: https://marketplace.eosc-portal.eu

URLs to reproduce https://marketplace.eosc-portal.eu/services/pdb-tools-web https://marketplace.eosc-portal.eu/services/pan-learning-org-is-a-e-learning-platform-specifically-designed-to-provide-training-for-users-of-photon-and-neutron-sources https://marketplace.eosc-portal.eu/services/amber-based-portal-server-for-nmr-structures-amps-nmr https://marketplace.eosc-portal.eu/services/auto-rickshaw https://marketplace.eosc-portal.eu/services/d4science-spatial-data-repository https://marketplace.eosc-portal.eu/services/perfsonar-real-time-multi-domain-performance-monitoring https://marketplace.eosc-portal.eu/services/edumeet-webbased-videoconferencing-platform https://marketplace.eosc-portal.eu/services/eduvpn-access-your-institute-s-network-or-the-internet-using-an-encrypted-connection

What has happened? Images don't display correctly.

What should happened? Images should display from active directory.

Additional context Providers images have incorrect extensions (are missing). It may be related with special chars in file names or too long active records path.

Example: Page: https://marketplace.eosc-portal.eu/services/pdb-tools-web Image src: https://marketplace.eosc-portal.eu/.../wenmr.pdb-tools_web Image name: wenmr.pdb-tools_web Missing image extension

image


Some resource logos in MP are not uploaded on the website:

kmarszalek commented 3 years ago

local with no db with import from prod PROD: 290 Local All: 288

  1. http://localhost:5000/services/datacite-doi-registration-service URL: https://support.datacite.org/docs/datacite-logo -> problem
  2. http://localhost:5000/services/data-stewardship-wizard URL: https://purl.org/ds-wizard/logo/full.png ERROR - there was a unexpected problem processing image for ds-wizard.data_stewardship_wizard https://purl.org/ds-wizard/logo/full.png: redirection forbidden: https://purl.org/ds-wizard/logo/full.png -> http://suchanek.cloud/img/dsw_full_logo.png
  3. http://localhost:5000/services/d4science-spatial-data-repository URL:https://thredds.d4science.org/thredds/threddsIcon.gif No errors -> row in db in content_type has image/vnd.microsoft.icon
  4. http://localhost:5000/services/jelastic-platform-as-a-service URL: https://jelastic.com/wp-content/themes/salient/img/logo.svg ERROR - there was a unexpected problem processing image for jelastic.platform-as-a-service https://jelastic.com/wp-content/themes/salient/img/logo.svg: magick convert -background none -density 1200 -resize 800x800 /var/folders/qh/p9jr88n16t39t44t7brb4dq00000gn/T/mini_magick20210521-14803-14rt1o7[0] /var/folders/qh/p9jr88n16t39t44t7brb4dq00000gn/T/mini_magick20210521-14803-13yzuay.png failed with error: convert: non-conforming drawing primitive definition c.72-.89' @ error/draw.c/TracePath/6585. convert: non-conforming drawing primitive definitionpath' @ error/draw.c/RenderMVGContent/4469.
  5. http://localhost:5000/services/operas-certification-doab URL: https://www.doabooks.org/doabImages/doab.png -> bad address ERROR - there was a unexpected problem processing image for doabf.operas_certification https://www.doabooks.org/doabImages/doab.png: magick identify /var/folders/qh/p9jr88n16t39t44t7brb4dq00000gn/T/mini_magick20210521-14803-i2uhyt failed with error: identify: no decode delegate for this image format `' @ error/constitute.c/ReadImage/572.
  6. http://localhost:5000/services/operas-research-for-society-hypotheses URL: https://scontent.fath4-2.fna.fbcdn.net/v/t1.0-1/p148x148/10236_482652571768389_1603636776_n.png?_nc_cat=106&_nc_sid=1eb0c7&_nc_ohc=MeIGbJA7Vo0AX995khl&_nc_ht=scontent.fath4-2.fna&oh=3d45f085ee43a957bb06e4f06b38b08a&oe=5F9650DC ERROR - there was a problem processing image for openedition.operas_research_for_society https://scontent.fath4-2.fna.fbcdn.net/v/t1.0-1/p148x148/10236_482652571768389_1603636776_n.png?_nc_cat=106&_nc_sid=1eb0c7&_nc_ohc=MeIGbJA7Vo0AX995khl&_nc_ht=scontent.fath4-2.fna&oh=3d45f085ee43a957bb06e4f06b38b08a&oe=5F9650DC: 403 Forbidden
  7. http://localhost:5000/services/openaire-graph-access-api URL: http://api.openaire.eu/assets/Logo_Horizontal.png ERROR - there was a problem processing image for openaire.graph http://api.openaire.eu/assets/Logo_Horizontal.png: 404 Not Found
  8. http://localhost:5000/services/openaire-mining-service URL: http://api.openaire.eu/assets/Logo_Horizontal.png ERROR - there was a problem processing image for openaire.graph http://api.openaire.eu/assets/Logo_Horizontal.png: 404 Not Found
  9. http://localhost:5000/services/protein-crystallisation-construct-designer URL:https://auth.west-life.eu/templates/westlife/images/west-life.png ERROR - there was a problem processing image for west-life.protein_crystallisation_construct_designer https://auth.west-life.eu/templates/westlife/images/west-life.png: Failed to open TCP connection to auth.west-life.eu:443 (getaddrinfo: nodename nor servname provided, or not known)
  10. http://localhost:5000/services/transkribus URL:https://transkribus.eu/Transkribus/img/wolpertinger.jpg ERROR - there was a unexpected problem processing image for readcoop.transkribus https://transkribus.eu/Transkribus/img/wolpertinger.jpg: magick identify /var/folders/qh/p9jr88n16t39t44t7brb4dq00000gn/T/mini_magick20210521-14803-1hc8dq failed with error: identify: no decode delegate for this image format `' @ error/constitute.c/ReadImage/572.

Summary:

  1. wrong URL -> URL to page with diff types of logo, not actual file
  2. wrong URL -> redirect to actually logo
  3. problem with content-type -> image/vnd.microsoft.icon
  4. problem with svg conversion
  5. wrong URL -> redirect to main page
  6. wrong URL -> URL signature expired
  7. wrong URL -> not found
  8. wrong URL -> not found
  9. no logo under URL -> DNS_PROBE_FINISHED_NXDOMAIN
  10. no logo under URL -> redirect to main page
danielkryska commented 3 years ago

After going through all provider's pages any errors have occurred. @Marcelinna could you please make double-check?

danielkryska commented 3 years ago

On production only affected service was: https://marketplace.eosc-portal.eu/services/gbif-spain-spatial-portal