vvkhr
January 9, 2020, 2:08pm
1
Добрый день
Где то в районе Нового Года и до сейчас перестал обновляться мой Leap 15.1
До того было все нормально
Теперь пишет Ошибка Curl error 56
Соединение разорвано другой стороной.
Подскажите, пожалуйста, что делать
С уважением Виктор.
Приветствую
для начала можно проверить коннектится ли ваш комп к серверам/зеркалам
curl https://download.opensuse.org/distribution/leap/15.1/repo/oss/INDEX.gz -O INDEX.gz -vv
vvkhr
January 10, 2020, 9:19am
3
Запстил этó команд. Вот вывод
curl https://download.opensuse.org/distribution/leap/15.1/repo/oss/INDEX.gz -O INDEX.gz -vv
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0* Trying 195.135.221.134…
TCP_NODELAY set
Connected to download.opensuse.org (195.135.221.134) port 443 (#0 )
ALPN, offering h2
ALPN, offering http/1.1
} [5 bytes data]
TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [219 bytes data]
TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [106 bytes data]
TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [2821 bytes data]
TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [556 bytes data]
TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [37 bytes data]
TLSv1.2 (OUT), TLS change cipher, Client hello (1):
} [1 bytes data]
TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
ALPN, server accepted to use h2
Server certificate:
subject: CN=opensuse.org
start date: Nov 27 00:03:45 2019 GMT
expire date: Feb 25 00:03:45 2020 GMT
subjectAltName: host “download.opensuse.org ” matched cert’s “*.opensuse.org”
issuer: C=US; O=Let’s Encrypt; CN=Let’s Encrypt Authority X3
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
} [5 bytes data]
Using Stream ID: 1 (easy handle 0x55b82dc55290)
} [5 bytes data]
> GET /distribution/leap/15.1/repo/oss/INDEX.gz HTTP/2
> Host: download.opensuse.org
> User-Agent: curl/7.60.0
> Accept: /
>
{ [5 bytes data]
Connection state changed (MAX_CONCURRENT_STREAMS == 100)!
} [5 bytes data]
< HTTP/2 200
< date: Fri, 10 Jan 2020 08:11:48 GMT
< server: Apache/2.4.33 (Linux/SUSE)
< last-modified: Wed, 15 May 2019 03:38:26 GMT
< etag: “710fd-588e4e1d05080”
< accept-ranges: bytes
< content-length: 463101
< x-content-type-options: nosniff
< content-security-policy: default-src ‘none’; img-src ‘self’; style-src ‘self’; script-src ‘self’ ‘unsafe-inline’
< content-type: application/x-gzip
<
{ [1050 bytes data]
100 452k 100 452k 0 0 1009k 0 --:–:-- --:–:-- --:–:-- 1007k
Connection #0 to host download.opensuse.org left intact
Rebuilt URL to: INDEX.gz/
Could not resolve host: INDEX.gz
Closing connection 1
curl: (6) Could not resolve host: INDEX.gz
Я вижó, что не резольвит что то. Но почемó не понимаю
С óважением Виктор.
vvkhr
January 10, 2020, 10:05am
5
По моемó ничего не поменялось
Вот вывод
curl https://download.opensuse.org/distribution/leap/15.1/repo/oss/INDEX.gz -output INDEX.gz -vv
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0* Trying 195.135.221.134…
TCP_NODELAY set
Connected to download.opensuse.org (195.135.221.134) port 443 (#0 )
ALPN, offering h2
ALPN, offering http/1.1
} [5 bytes data]
TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [219 bytes data]
TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [106 bytes data]
TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [2821 bytes data]
TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [556 bytes data]
TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [37 bytes data]
TLSv1.2 (OUT), TLS change cipher, Client hello (1):
} [1 bytes data]
TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
ALPN, server accepted to use h2
Server certificate:
subject: CN=opensuse.org
start date: Nov 27 00:03:45 2019 GMT
expire date: Feb 25 00:03:45 2020 GMT
subjectAltName: host “download.opensuse.org ” matched cert’s “*.opensuse.org”
issuer: C=US; O=Let’s Encrypt; CN=Let’s Encrypt Authority X3
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
} [5 bytes data]
Using Stream ID: 1 (easy handle 0x55ae458b3290)
} [5 bytes data]
> GET /distribution/leap/15.1/repo/oss/INDEX.gz HTTP/2
> Host: download.opensuse.org
> User-Agent: curl/7.60.0
> Accept: /
>
{ [5 bytes data]
Connection state changed (MAX_CONCURRENT_STREAMS == 100)!
} [5 bytes data]
< HTTP/2 200
< date: Fri, 10 Jan 2020 09:02:50 GMT
< server: Apache/2.4.33 (Linux/SUSE)
< last-modified: Wed, 15 May 2019 03:38:26 GMT
< etag: “710fd-588e4e1d05080”
< accept-ranges: bytes
< content-length: 463101
< x-content-type-options: nosniff
< content-security-policy: default-src ‘none’; img-src ‘self’; style-src ‘self’; script-src ‘self’ ‘unsafe-inline’
< content-type: application/x-gzip
<
{ [1050 bytes data]
100 452k 100 452k 0 0 948k 0 --:–:-- --:–:-- --:–:-- 946k
Connection #0 to host download.opensuse.org left intact
Rebuilt URL to: INDEX.gz/
Could not resolve host: INDEX.gz
Closing connection 1
curl: (6) Could not resolve host: INDEX.gz
vvkhr
January 10, 2020, 10:20am
6
Ой. Забыл один минóс.
Вродк все прочло. Вот вывод
curl https://download.opensuse.org/distribution/leap/15.1/repo/oss/INDEX.gz --output INDEX.gz -vv
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0* Trying 195.135.221.134…
TCP_NODELAY set
Connected to download.opensuse.org (195.135.221.134) port 443 (#0 )
ALPN, offering h2
ALPN, offering http/1.1
} [5 bytes data]
TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [219 bytes data]
TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [106 bytes data]
TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [2821 bytes data]
TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [556 bytes data]
TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [37 bytes data]
TLSv1.2 (OUT), TLS change cipher, Client hello (1):
} [1 bytes data]
TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
ALPN, server accepted to use h2
Server certificate:
subject: CN=opensuse.org
start date: Nov 27 00:03:45 2019 GMT
expire date: Feb 25 00:03:45 2020 GMT
subjectAltName: host “download.opensuse.org ” matched cert’s “*.opensuse.org”
issuer: C=US; O=Let’s Encrypt; CN=Let’s Encrypt Authority X3
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
} [5 bytes data]
Using Stream ID: 1 (easy handle 0x5562728c5f30)
} [5 bytes data]
> GET /distribution/leap/15.1/repo/oss/INDEX.gz HTTP/2
> Host: download.opensuse.org
> User-Agent: curl/7.60.0
> Accept: /
>
{ [5 bytes data]
Connection state changed (MAX_CONCURRENT_STREAMS == 100)!
} [5 bytes data]
< HTTP/2 200
< date: Fri, 10 Jan 2020 09:17:01 GMT
< server: Apache/2.4.33 (Linux/SUSE)
< last-modified: Wed, 15 May 2019 03:38:26 GMT
< etag: “710fd-588e4e1d05080”
< accept-ranges: bytes
< content-length: 463101
< x-content-type-options: nosniff
< content-security-policy: default-src ‘none’; img-src ‘self’; style-src ‘self’; script-src ‘self’ ‘unsafe-inline’
< content-type: application/x-gzip
<
{ [1050 bytes data]
100 452k 100 452k 0 0 1270k 0 --:–:-- --:–:-- --:–:-- 1270k
Connection #0 to host download.opensuse.org left intact
vvkhr
January 10, 2020, 10:28am
7
Я еще попробовал и дрóгой файл. На котором затыкается Обновление пакетов. Все качается. Вот вывод
curl https://download.opensuse.org/distribution/leap/15.1/repo/non-oss/repodata/repomd.xml --output repomd.xml -vv
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0* Trying 195.135.221.134…
TCP_NODELAY set
Connected to download.opensuse.org (195.135.221.134) port 443 (#0 )
ALPN, offering h2
ALPN, offering http/1.1
} [5 bytes data]
TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [219 bytes data]
TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [106 bytes data]
TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [2821 bytes data]
TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [556 bytes data]
TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [37 bytes data]
TLSv1.2 (OUT), TLS change cipher, Client hello (1):
} [1 bytes data]
TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
ALPN, server accepted to use h2
Server certificate:
subject: CN=opensuse.org
start date: Nov 27 00:03:45 2019 GMT
expire date: Feb 25 00:03:45 2020 GMT
subjectAltName: host “download.opensuse.org ” matched cert’s “*.opensuse.org”
issuer: C=US; O=Let’s Encrypt; CN=Let’s Encrypt Authority X3
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
} [5 bytes data]
Using Stream ID: 1 (easy handle 0x55e982747f30)
} [5 bytes data]
> GET /distribution/leap/15.1/repo/non-oss/repodata/repomd.xml HTTP/2
> Host: download.opensuse.org
> User-Agent: curl/7.60.0
> Accept: /
>
{ [5 bytes data]
Connection state changed (MAX_CONCURRENT_STREAMS == 100)!
} [5 bytes data]
< HTTP/2 200
< date: Fri, 10 Jan 2020 09:25:36 GMT
< server: Apache/2.4.33 (Linux/SUSE)
< last-modified: Wed, 15 May 2019 02:20:41 GMT
< etag: “237e-588e3cbc21040”
< accept-ranges: bytes
< content-length: 9086
< cache-control: must-revalidate
< expires: Fri, 10 Jan 2020 09:25:36 GMT
< x-content-type-options: nosniff
< content-security-policy: default-src ‘none’; img-src ‘self’; style-src ‘self’; script-src ‘self’ ‘unsafe-inline’
< content-type: text/xml
<
{ [1023 bytes data]
100 9086 100 9086 0 0 42064 0 --:–:-- --:–:-- --:–:-- 42064
Connection #0 to host download.opensuse.org left intact
vvkhr
January 10, 2020, 10:32am
8
А вот вывод в Обновителе пакетов
Ошибка загрузки (curl) “http://download.opensuse.org/distribution/leap/15.1/repo/non-oss/repodata/repomd.xml ”:
Код ошибки: Curl error 56
Сообщение об ошибке: Recv failure: Соединение разорвано другой стороной
kill_it
January 10, 2020, 10:54am
9
прокси ведь не используется?
хм, пока нет идей кроме как попробовать через впн или другого провайдера (сотового, например)
и поменять адреса репозиториев на зеркала https://mirror.yandex.ru/opensuse/
vvkhr
January 10, 2020, 12:48pm
10
Разобрался
Адреса всех репозиториев начинаются с http://
Теперь же обновления идóт с https://
Когда это вдрóг поменялось не знаю.
Но после замены .http:// на https:// все стало обновляться
Спасибо всем за óчастие и помощь.
С óважением Виктор
Svyatko
January 12, 2020, 7:11pm
11
С hhtp всё работает.
http используется по умолчанию, с поддержкой https серверов меньше.
Под Новый Год были сбои у openSUSE.