Sometimes the browser downloads the dashboard's HTML file rather than showing it
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 35/100
- Type d'issue
- Bug
- Clarté
- À clarifier
- Activité
- À l'abandon
- Stack technique
- google-cloud
- Domaine
- cloud
Piste de recherche
Commencez par retracer la manière dont l’index.html du dashboard est publiée sur l’URL Google Cloud Storage indiquée dans le rapport. Comparez les métadonnées stockées pour les réponses application/octet-stream et text/html ; le travail est considéré comme terminé lorsque le dashboard s’affiche systématiquement dans un navigateur avec le type de contenu correct.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Sometimes the browser downloads the dashboard's HTML file rather than showing it
Why?
HTTP headers when there's this problem
suztomo-macbookpro44% curl --output /dev/null -vvv https://storage.googleapis.com/cloud-opensource-java-dashboard/com.google.cloud/libraries-bom/snapshot/index.html
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 142.250.72.112...
* TCP_NODELAY set
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Connected to storage.googleapis.com (142.250.72.112) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/cert.pem
CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [236 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [96 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [2772 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [116 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [37 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-ECDSA-CHACHA20-POLY1305
* ALPN, server accepted to use h2
* Server certificate:
* subject: C=US; ST=California; L=Mountain View; O=Google LLC; CN=*.storage.googleapis.com
* start date: Aug 16 02:55:40 2021 GMT
* expire date: Nov 8 02:55:39 2021 GMT
* subjectAltName: host "storage.googleapis.com" matched cert's "*.googleapis.com"
* issuer: C=US; O=Google Trust Services; CN=GTS CA 1O1
* SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x7ff2b100e800)
> GET /cloud-opensource-java-dashboard/com.google.cloud/libraries-bom/snapshot/index.html HTTP/2
> Host: storage.googleapis.com
> User-Agent: curl/7.64.1
> Accept: */*
>
* Connection state changed (MAX_CONCURRENT_STREAMS == 100)!
< HTTP/2 200
< x-guploader-uploadid: ADPycdv2BTpSFkoujZFeZTXRLmHyygD8slT5TaciF87z3mGnWjBNZMWLP6YdUrHRNxrIb9FbOKPtMeD5JIpxakGGmxuDBPuL8Q
< expires: Fri, 27 Aug 2021 19:35:08 GMT
< date: Fri, 27 Aug 2021 18:35:08 GMT
< last-modified: Thu, 26 Aug 2021 19:43:57 GMT
< etag: "2bf4ae7f7825ba1d6edce3f2b45f1104"
< x-goog-generation: 1630007037320026
< x-goog-metageneration: 1
< x-goog-stored-content-encoding: identity
< x-goog-stored-content-length: 43760
< content-type: application/octet-stream
< x-goog-hash: crc32c=3c9obQ==
< x-goog-hash: md5=K/Suf3gluh1u3OPytF8RBA==
< x-goog-storage-class: MULTI_REGIONAL
< accept-ranges: bytes
< content-length: 43760
< server: UploadServer
< age: 116
< cache-control: public, max-age=3600
< alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
<
{ [1388 bytes data]
100 43760 100 43760 0 0 368k 0 --:--:-- --:--:-- --:--:-- 368k
* Connection #0 to host storage.googleapis.com left intact
* Closing connection 0
It's showing content-type: application/octet-stream.
HTTP headers when it succeeds
suztomo-macbookpro44% curl --output /dev/null -vvv https://storage.googleapis.com/cloud-opensource-java-dashboard/com.google.cloud/libraries-bom/snapshot/index.html
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* Trying 142.250.65.240...
* TCP_NODELAY set
* Connected to storage.googleapis.com (142.250.65.240) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/cert.pem
CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [236 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [96 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [2772 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [115 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [37 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS change cipher, Change cipher spec (1):
{ [1 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-ECDSA-CHACHA20-POLY1305
* ALPN, server accepted to use h2
* Server certificate:
* subject: C=US; ST=California; L=Mountain View; O=Google LLC; CN=*.storage.googleapis.com
* start date: Aug 16 02:55:40 2021 GMT
* expire date: Nov 8 02:55:39 2021 GMT
* subjectAltName: host "storage.googleapis.com" matched cert's "*.googleapis.com"
* issuer: C=US; O=Google Trust Services; CN=GTS CA 1O1
* SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
* Using Stream ID: 1 (easy handle 0x7fa444008200)
> GET /cloud-opensource-java-dashboard/com.google.cloud/libraries-bom/snapshot/index.html HTTP/2
> Host: storage.googleapis.com
> User-Agent: curl/7.64.1
> Accept: */*
>
* Connection state changed (MAX_CONCURRENT_STREAMS == 100)!
< HTTP/2 200
< x-guploader-uploadid: ADPycdvFYKDINevd81oayagsW1gGxjaf1Q6JvUi24cZUE3vo63fKrqgfh0LJBMyiFEwrDK2pkPRLtsDYCqTWz6ZXyGk-I5DkEg
< expires: Thu, 02 Sep 2021 15:36:31 GMT
< date: Thu, 02 Sep 2021 14:36:31 GMT
< last-modified: Wed, 01 Sep 2021 19:48:12 GMT
< etag: "9c1406767725e953a6fd7ffc6da234ed"
< x-goog-generation: 1630525692134068
< x-goog-metageneration: 2
< x-goog-stored-content-encoding: identity
< x-goog-stored-content-length: 43760
< content-type: text/html
< x-goog-hash: crc32c=rZGkcw==
< x-goog-hash: md5=nBQGdncl6VOm/X/8baI07Q==
< x-goog-storage-class: MULTI_REGIONAL
< accept-ranges: bytes
< content-length: 43760
< server: UploadServer
< cache-control: public, max-age=3600
< age: 42
< alt-svc: h3=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-T051=":443"; ma=2592000,h3-Q050=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000,quic=":443"; ma=2592000; v="46,43"
<
{ [1388 bytes data]
100 43760 100 43760 0 0 534k 0 --:--:-- --:--:-- --:--:-- 534k
* Connection #0 to host storage.googleapis.com left intact
* Closing connection 0
It has content-type: text/html.
- Langage dominant
- Java
- Étoiles
- 163
- Forks
- 81
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de GoogleCloudPlatform/cloud-opensource-java
-
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
GoogleCloudPlatform/cloud-opensource-java#2419 · 1 commentaire · 2 réactions ·
-
best practices
Difficulté 1/5 Moins d'une heure Accessibilité débutants 62/100
-
Difficulté 3/5 1-2 jours Accessibilité débutants 55/100
-
JLBP-14 additional reasonOuverte
Difficulté 2/5 1-3 heures Accessibilité débutants 42/100
-
Add a presubmit CI check for LTSPeut-être à nouveau libre @diegomarquezp l’a pris il y a 172 jours, et aucune pull request n’est ouverte. Ouverteenhancement p2
GoogleCloudPlatform/cloud-opensource-java#2468 · 1 commentaire · 1 personne assignée ·
Toutes les issues de GoogleCloudPlatform/cloud-opensource-java
Issues similaires
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
openhab/openhab-core#5847 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
apache/parquet-java#3820 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
beehive-lab/jllm#187 ·