pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkgin doesn't work with https and proxy



Hi,

I installed pkgin via pkg_add on NetBSD 10.0, but it doesn't work
with https and proxy.

pkgin update failed with the following error:

  netbsd10# pkgin update
  processing remote summary
(https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/x86_64/10.0/All)...
  0048552D667B0000:error:0A000126:SSL routines:ssl3_read_n:unexpected
eof while reading:/usr/src/crypto/external/bsd/openssl/dist/ssl/record/rec_layer_s3.c:303:
  0048552D667B0000:error:0A000126:SSL routines:ssl3_read_n:unexpected
eof while reading:/usr/src/crypto/external/bsd/openssl/dist/ssl/record/rec_layer_s3.c:303:
  0048552D667B0000:error:0A000126:SSL routines:ssl3_read_n:unexpected
eof while reading:/usr/src/crypto/external/bsd/openssl/dist/ssl/record/rec_layer_s3.c:303:
  pkgin: Could not fetch
https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/x86_64/10.0/All/pkg_summary.gz:
Authentication error

It works with http:

  netbsd10# pkgin update
  cleaning database from
https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/x86_64/10.0/All
entries...
  reading local summary...
  processing local summary...
  processing remote summary
(http://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/x86_64/10.0/All)...
  pkg_summary.gz
                                                         100% 5984KB
1.2MB/s   00:05

ftp(1) command can fetch pkg_summary.gz under the same environment:

  netbsd10# ftp
https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/x86_64/10.0/All/pkg_summary.gz
  Trying <mask>:8080 ...
  Requesting https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/x86_64/10.0/All/pkg_summary.gz
    (via <mask>:8080)
  100% |*******************************************************************************************************************|
 5983 KiB   10.02 MiB/s    00:00 ETA
  6127304 bytes retrieved in 00:00 (10.02 MiB/s)

The version of pkgin:

  netbsd10# pkgin -v
  pkgin 23.8.1 (using SQLite 3.26.0)

Is this a known issue?
Any ideas?

Thanks,
  ozaki-r


Home | Main Index | Thread Index | Old Index