mojira.dev
WEB-5529

Cannot automatically update bedrock due to 503

curl -L https://www.minecraft.net/en-us/download/server/bedrock
<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;en&#45;us&#47;download&#47;server&#47;bedrock" on this server.<P>
Reference&#32;&#35;18&#46;27a2c017&#46;1639575472&#46;68c5ba1
</BODY>
</HTML>

 

 

 

This error occurs when trying to automatically get the latest version of Bedrock via a script.

 

 

e.g.

https://github.com/HuJK/Minecraft-Bedrock-server-updater/blob/master/mcUpdater.py

 

 

def getDWurl():
    #get minecraft bedrock server dounload URL
    MCurl = requests.get('https://www.minecraft.net/en-us/download/server/bedrock').text
    MCSoup =  BeautifulSoup(MCurl, 'html.parser')
    for dwbtn in MCSoup.findAll("a",{"class":"btn btn-disabled-outline mt-4 downloadlink"}):
        if  dwbtn['data-platform'] == 'serverBedrockLinux':
            return dwbtn['href']

 

 

No longer works.

Comments 1

Hi there!

Does this issue still occur to you?

This ticket will automatically reopen when you reply.

Aidan Taylor

web

minecraft.net

Retrieved