每当我尝试下载较大的文件时,都会出现“解密失败或记录错误的mac”错误。例子:
wget https://github.com/atom/atom/releases/download/v1.29.0/atom-amd64.deb
--2018-11-16 13:47:41-- https://github.com/atom/atom/releases/download/v1.29.0/atom-amd64.deb
Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/3228505/d8ed7fdc-9413-11e8-9294-d1b71bce5f77?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20181116%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20181116T194741Z&X-Amz-Expires=300&X-Amz-Signature=0326e781709081341a609d97b01e56dd4e06011f79382d3d33651b828b2bac5c&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Datom-amd64.deb&response-content-type=application%2Foctet-stream [following]
--2018-11-16 13:47:41-- https://github-production-release-asset-2e65be.s3.amazonaws.com/3228505/d8ed7fdc-9413-11e8-9294-d1b71bce5f77?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20181116%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20181116T194741Z&X-Amz-Expires=300&X-Amz-Signature=0326e781709081341a609d97b01e56dd4e06011f79382d3d33651b828b2bac5c&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Datom-amd64.deb&response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.216.64.24
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.64.24|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 86726802 (83M) [application/octet-stream]
Saving to: ‘atom-amd64.deb.1’
atom-amd64.deb.1 37%[======> ] 30.83M 8.52MB/s in 4.3s
2018-11-16 13:47:46 (7.20 MB/s) - Read error at byte 32324862/86726802 (error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac). Retrying.
--2018-11-16 13:47:47-- (try: 2) https://github-production-release-asset-2e65be.s3.amazonaws.com/3228505/d8ed7fdc-9413-11e8-9294-d1b71bce5f77?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20181116%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20181116T194741Z&X-Amz-Expires=300&X-Amz-Signature=0326e781709081341a609d97b01e56dd4e06011f79382d3d33651b828b2bac5c&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Datom-amd64.deb&response-content-type=application%2Foctet-stream
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.64.24|:443... connected.
HTTP request sent, awaiting response... 206 Partial Content
Length: 86726802 (83M), 54401940 (52M) remaining [application/octet-stream]
Saving to: ‘atom-amd64.deb.1’
atom-amd64.deb.1 54%[+++++++==> ] 45.47M 7.85MB/s in 1.9s
2018-11-16 13:47:49 (7.85 MB/s) - Read error at byte 47678222/86726802 (error:1408F119:SSL routines:ssl3_get_record:decryption failed or bad record mac). Retrying.
我将收到一条错误消息:“ SSL例程,SSL3_GET_RECORD,解密失败或记录Mac不良”
然后,我将尝试使用wget提取文件并得到相同的错误,除了wget一直尝试直到下载完成为止。我无法安装tensorflow,这是我在此计算机上绝对需要的东西。这只会在较大的文件中发生。
const a = [1, 2, 3, 4, 5];
a.multiply();
console.log(a); // [1, 2, 3, 4, 5, 1, 4, 9, 16, 25]
wget会一直重试,直到下载完成为止,并且每次重试的方式只占大约20%。我在Ubuntu 18.04上。有关如何解决此问题的任何建议?
答案 0 :(得分:0)
这可能有用。
public function findAllAsArray()
{
return $q = $this->createQueryBuilder('d')
->join('d.category','c')
->select('d.id as id_dish','c.id as id_cat','d.price')
->addOrderBy('c.position', 'asc')
->addOrderBy('d.position', 'asc')
->getQuery()
->getResult(Query::HYDRATE_ARRAY)
;
}