bd808 created this task.
Restricted Application added a subscriber: Aklapper.

TASK DESCRIPTION
  Console error message is `Cross-Origin Request Blocked: The Same Origin 
Policy disallows reading the remote resource at 
https://docker-registry.tools.wmflabs.org/v2/_catalog?n=100000. (Reason: CORS 
request did not succeed).`
  
  The server seems to be sending the expected `Access-Control-Allow-Origin: *` 
header.
  
    $ curl -H "Origin: https://docker-registry.toolforge.org/"; -H 
"Access-Control-Request-Method: GET" -H "Access-Control-Request-Headers: 
X-Requested-With" -X OPTIONS --verbose 
https://docker-registry.tools.wmflabs.org/v2/_catalog?n=100000
    *   Trying 172.16.7.216...
    * TCP_NODELAY set
    * Connected to docker-registry.tools.wmflabs.org (172.16.7.216) port 443 
(#0)
    * ALPN, offering h2
    * ALPN, offering http/1.1
    * Cipher selection: 
ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
    * successfully set certificate verify locations:
    *   CAfile: /etc/ssl/certs/ca-certificates.crt
      CApath: /etc/ssl/certs
    * TLSv1.2 (OUT), TLS header, Certificate Status (22):
    * TLSv1.2 (OUT), TLS handshake, Client hello (1):
    * TLSv1.2 (IN), TLS handshake, Server hello (2):
    * TLSv1.2 (IN), TLS handshake, Certificate (11):
    * TLSv1.2 (IN), TLS handshake, Server key exchange (12):
    * TLSv1.2 (IN), TLS handshake, Server finished (14):
    * TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
    * TLSv1.2 (OUT), TLS change cipher, Client hello (1):
    * TLSv1.2 (OUT), TLS handshake, Finished (20):
    * TLSv1.2 (IN), TLS change cipher, Client hello (1):
    * TLSv1.2 (IN), TLS handshake, Finished (20):
    * SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
    * ALPN, server accepted to use http/1.1
    * Server certificate:
    *  subject: CN=toolforge.org
    *  start date: Jun 22 19:00:15 2020 GMT
    *  expire date: Sep 20 19:00:15 2020 GMT
    *  subjectAltName: host "docker-registry.tools.wmflabs.org" matched cert's 
"*.tools.wmflabs.org"
    *  issuer: C=US; O=Let's Encrypt; CN=Let's Encrypt Authority X3
    *  SSL certificate verify ok.
    > OPTIONS /v2/_catalog?n=100000 HTTP/1.1
    > Host: docker-registry.tools.wmflabs.org
    > User-Agent: curl/7.52.1
    > Accept: */*
    > Origin: https://docker-registry.toolforge.org/
    > Access-Control-Request-Method: GET
    > Access-Control-Request-Headers: X-Requested-With
    >
    < HTTP/1.1 200 OK
    < Server: nginx/1.13.6
    < Date: Tue, 07 Jul 2020 20:26:08 GMT
    < Content-Length: 0
    < Connection: keep-alive
    < Allow: GET
    < Docker-Distribution-Api-Version: registry/2.0
    < Docker-Distribution-Api-Version: registry/2.0
    < Access-Control-Allow-Origin: *
    <
    * Curl_http_done: called premature == 0
    * Connection #0 to host docker-registry.tools.wmflabs.org left intact

TASK DETAIL
  https://phabricator.wikimedia.org/T257365

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: bd808
Cc: Aklapper, #tools, PHID-PROJ-7sul7hj32btacinsnubq, bd808
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to