mojira.dev

Scott Harman

Assigned

No issues.

Reported

WEB-5335 Unable to download or access bedrock downloads from linux Awaiting Response

Comments

Using lynx to access minecraft.net - I can see it successfully directing - then halting on HTTP Request send; waiting for response.

 

Same happens with w3m

 

GET / HTTP/1.0
User-Agent: w3m/0.5.3+git20210102
Accept: text/html, text/*;q=0.5, image/*, application/*, x-scheme-handler/*
Accept-Encoding: gzip, compress, bzip, bzip2, deflate
Accept-Language: en;q=1.0
Host: minecraft.net
HTTP/1.1 301 Moved Permanently
Server: CloudFront
Date: Sat, 23 Oct 2021 12:02:22 GMT
Content-Type: text/html
Content-Length: 183
Connection: close
Location: https://minecraft.net/
X-Cache: Redirect from cloudfront
Via: 1.1 a69a77599a4d18f525519907a15548e3.cloudfront.net (CloudFront)
X-Amz-Cf-Pop: DUB2-C1
X-Amz-Cf-Id: dZT5uW3Vpu8vgOgb7KWaSTG4XV7EyekIjPlrwyO3UGEW2j2XKbnH9g==
HTTPS: request via SSL
GET / HTTP/1.0
User-Agent: w3m/0.5.3+git20210102
Accept: text/html, text/*;q=0.5, image/*, application/*, x-scheme-handler/*
Accept-Encoding: gzip, compress, bzip, bzip2, deflate
Accept-Language: en;q=1.0
Host: minecraft.net
HTTP/1.1 302 Moved Temporarily
Content-Type: text/html
Content-Length: 146
Connection: close
Date: Sat, 23 Oct 2021 12:02:23 GMT
Server: nginx/1.19.10
Location: https://www.minecraft.net/
Strict-Transport-Security: max-age=31536000
X-Cache: Miss from cloudfront
Via: 1.1 491e4ee0c618c1e29ada300867161d75.cloudfront.net (CloudFront)
X-Amz-Cf-Pop: DUB2-C1
X-Amz-Cf-Id: yTC7rd70d-wHjAjxrovVJYzfdZdtwcsC_KP1r_bOwQAPZgqNlEY5Cg==
HTTPS: request via SSL
GET / HTTP/1.0
User-Agent: w3m/0.5.3+git20210102
Accept: text/html, text/*;q=0.5, image/*, application/*, x-scheme-handler/*
Accept-Encoding: gzip, compress, bzip, bzip2, deflate
Accept-Language: en;q=1.0
Host: www.minecraft.net

 

 

I have a trace files from lynx with more info as well - but no content ever comes back.  If I try more than 10 times, then I get a 401 error

[media]

If you are using Curl or powershell to try and access the website via commandline (so you can script upgrades ) this solution fails as well

An access denied error is thrown directly.

PS /home/mc> curl -v "https://www.minecraft.net/"
*   Trying 23.55.58.97:443...
* Connected to www.minecraft.net (23.55.58.97) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*  CAfile: /etc/ssl/certs/ca-certificates.crt
*  CApath: /etc/ssl/certs
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
* TLSv1.3 (IN), TLS handshake, Certificate (11):
* TLSv1.3 (IN), TLS handshake, CERT verify (15):
* TLSv1.3 (IN), TLS handshake, Finished (20):
* TLSv1.3 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.3 (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384
* ALPN, server accepted to use h2
* Server certificate:
*  subject: CN=*.minecraft.net
*  start date: Sep  7 00:00:00 2021 GMT
*  expire date: Sep  6 23:59:59 2022 GMT
*  subjectAltName: host "www.minecraft.net" matched cert's "*.minecraft.net"
*  issuer: C=US; O=DigiCert Inc; CN=RapidSSL TLS DV RSA Mixed SHA256 2020 CA-1
*  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 0x55c0e263b7b0)
> GET / HTTP/2
> Host: www.minecraft.net
> user-agent: curl/7.74.0
> accept: */*
>
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* TLSv1.3 (IN), TLS handshake, Newsession Ticket (4):
* old SSL session ID is stale, removing
* Connection state changed (MAX_CONCURRENT_STREAMS == 100)!
< HTTP/2 403
< server: AkamaiGHost
< mime-version: 1.0
< content-type: text/html
< content-length: 267
< expires: Mon, 04 Oct 2021 09:18:16 GMT
< date: Mon, 04 Oct 2021 09:18:16 GMT
< server-timing: cdn-cache; desc=HIT
< server-timing: edge; dur=1
<
<HTML><HEAD>
<TITLE>Access Denied</TITLE>
</HEAD><BODY>
<H1>Access Denied</H1>You don't have permission to access "http&#58;&#47;&#47;www&#46;minecraft&#46;net&#47;" on this server.<P>
Reference&#32;&#35;18&#46;5d3a3717&#46;1633339096&#46;159ed665
</BODY>
</HTML>
* Connection #0 to host www.minecraft.net left intact

 

Same issue occurs with Curl and Invoke-Webrequest in Powershell.