llama3 icon indicating copy to clipboard operation
llama3 copied to clipboard

Why always 403 forbidden when download the weights?

Open grandY0uzzx opened this issue 10 months ago • 16 comments

when I run the download.sh file, and input the URL, chose the model to download, there is always a 403 forbidden error..?

grandY0uzzx avatar Apr 19 '24 02:04 grandY0uzzx

same

LCmoon0126 avatar Apr 19 '24 02:04 LCmoon0126

same issue... any idea to solve it?

homzer avatar Apr 19 '24 03:04 homzer

@samuelselvan - can you look into this?

jspisak avatar Apr 19 '24 03:04 jspisak

same

tian969 avatar Apr 19 '24 03:04 tian969

same

JackeyWang777 avatar Apr 19 '24 03:04 JackeyWang777

same

I solve it. At first I thought it's because my IP address is in China so I use proxy and it works and start to download. Soon the download is failed and report this Read error at byte 526939026/16060617592 (error:0A000119:SSL routines::decryption failed or bad record mac; error:0A000139:SSL routines::record layer failure). Retrying. After retried 7 times and 403 appear again. There is 2 reasons about this: first is my proxy is not allowed to download big files so it appear "Read error and retry", second is the download URL is limited about 6 times so after 6 retrys the URL is Invalid and 403 appear again

So to slove this problem you need make sure two things: 1: You IP address is allowed to download llama3 2: You download link(like: https://download6.llamameta.net/*?P) is not get the limit times(about 5 or 6 times)

LCmoon0126 avatar Apr 19 '24 03:04 LCmoon0126

The question is ip address.

ycjcl868 avatar Apr 19 '24 04:04 ycjcl868

What solved it for me was wget "path" instead of wget path

ArthurZucker avatar Apr 19 '24 06:04 ArthurZucker

I have encountered the same problem. Does anyone solve it?

tammypi avatar Apr 19 '24 07:04 tammypi

有百度网盘吗?

GaffeyFF avatar Apr 22 '24 03:04 GaffeyFF

It is the question of ip address for me. Setting the proxy of the terminal works: export https_proxy=http://127.0.0.1:%Port%;export http_proxy=http://127.0.0.1:%Port%;export all_proxy=socks5://127.0.0.1:%Port%

biaoliu-kiritsugu avatar Apr 22 '24 08:04 biaoliu-kiritsugu

The question is ip address.

how to resolve

AWangji avatar Apr 25 '24 06:04 AWangji

It is the question of ip address for me. Setting the proxy of the terminal works: export https_proxy=http://127.0.0.1:%Port%;export http_proxy=http://127.0.0.1:%Port%;export all_proxy=socks5://127.0.0.1:%Port%

Thanks, it works for me !

chongkuiqi avatar May 07 '24 12:05 chongkuiqi

It is the question of ip address for me. Setting the proxy of the terminal works: export https_proxy=http://127.0.0.1:%Port%;export http_proxy=http://127.0.0.1:%Port%;export all_proxy=socks5://127.0.0.1:%Port%

You really saved my ass struggling with the GFW for hours. thank bro!

Yjejuy avatar May 25 '24 13:05 Yjejuy

It is the question of ip address for me. Setting the proxy of the terminal works: export https_proxy=http://127.0.0.1:%Port%;export http_proxy=http://127.0.0.1:%Port%;export all_proxy=socks5://127.0.0.1:%Port%

Doesn't work for me ಥ_ಥ It only shows :Bad port number.

jellyfish45 avatar May 28 '24 12:05 jellyfish45

It is the question of ip address for me. Setting the proxy of the terminal works: export https_proxy=http://127.0.0.1:%Port%;export http_proxy=http://127.0.0.1:%Port%;export all_proxy=socks5://127.0.0.1:%Port%

Doesn't work for me ಥ_ಥ It only shows :Bad port number.

Replace %Port% with the port number of your proxy server.

biaoliu-kiritsugu avatar May 28 '24 13:05 biaoliu-kiritsugu