公司网络无法访问海外站点,如何解决?
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- nodejs
- Domain
- tooling
Research direction
Reproduce the installation with npm install pulsar-client@1.13.1 and the node-pre-gyp download URL shown in the report. Check how the package currently obtains the prebuilt archive and whether a configurable mirror is already supported. Done should be a documented, reliable way to use an alternative download site for networks that cannot reach archive.apache.org.
Written by the indexing model from the issue text.
Description
npm install pulsar-client@1.13.1
报错:
npm error node-pre-gyp ERR! install request to https://archive.apache.org/dist/pulsar/pulsar-client-node/pulsar-client-node-1.13.1/napi-linux-glibc-x64.tar.gz failed, reason: write EPROTO 40D8E5B8697F0000:error:0A00010B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:354:
应该是公司网络无法访问海外站点:https://archive.apache.org。
执行:wget https://archive.apache.org/dist/pulsar/pulsar-client-node/pulsar-client-node-1.13.1/napi-linux-glibc-x64.tar.gz
报错:
--2026-02-02 09:47:11-- https://archive.apache.org/dist/pulsar/pulsar-client-node/pulsar-client-node-1.13.1/napi-linux-glibc-x64.tar.gz
正在解析主机 archive.apache.org (archive.apache.org)... 65.108.204.189, 2a01:4f9:1a:a084::2
正在连接 archive.apache.org (archive.apache.org)|65.108.204.189|:443... 已连接。
GnuTLS: 收到一个未预期的 TLS 数据包。
无法建立 SSL 连接。
请问对于这种无法访问海外站点的情况,要如何解决?
能否支持设置为国内站点。
- Dominant language
- C++
- Stars
- 164
- Forks
- 99
- Avg merge
- 5d 18h
- Merged PRs (30d)
- 2
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from apache/pulsar-client-node
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
apache/pulsar-client-node#477 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
apache/pulsar-client-node#432 · 2 reactions ·
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
apache/pulsar-client-node#431 · 3 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
apache/pulsar-client-node#429 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
apache/pulsar-client-node#427 ·
All issues in apache/pulsar-client-node
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
AXERA-TECH/ax-llm#77 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
games-on-whales/wolf#509 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
bug-unconfirmed
Difficulty 2/5 1-3 hours Newbie friendliness 76/100