[GH-ISSUE #1777] linux下代理不起作用,还是得手动命令来代理 #1056

Closed
opened 2026-02-27 00:02:03 +03:00 by kerem · 1 comment
Owner

Originally created by @jay763190097 on GitHub (Jul 11, 2020).
Original GitHub issue: https://github.com/electerm/electerm/issues/1777

截图录屏_electerm_20200711221135

# 已配置全局代理
jay@jay-PC:~$ wget https://github.com/electerm/electerm/releases/download/v1.3.49/electerm-1.3.49-linux-amd64.deb
--2020-07-11 22:06:07--  https://github.com/electerm/electerm/releases/download/v1.3.49/electerm-1.3.49-linux-amd64.deb
正在解析主机 github.com (github.com)... 192.30.253.112, 192.30.253.112
正在连接 github.com (github.com)|192.30.253.112|:443... ^C
jay@jay-PC:~$ wget https://github.com/electerm/electerm/releases/download/v1.3.49/electerm-1.3.49-linux-amd64.deb
--2020-07-11 22:07:51--  https://github.com/electerm/electerm/releases/download/v1.3.49/electerm-1.3.49-linux-amd64.deb
正在解析主机 github.com (github.com)... 192.30.253.112, 192.30.253.112
正在连接 github.com (github.com)|192.30.253.112|:443... ^C


## 手动代理
jay@jay-PC:~$ export https_proxy=http://localhost:12333
jay@jay-PC:~$ wget https://github.com/electerm/electerm/releases/download/v1.3.49/electerm-1.3.49-linux-amd64.deb
--2020-07-11 22:09:10--  https://github.com/electerm/electerm/releases/download/v1.3.49/electerm-1.3.49-linux-amd64.deb
正在解析主机 localhost (localhost)... ::1, 127.0.0.1
正在连接 localhost (localhost)|::1|:12333... 失败:拒绝连接。
正在连接 localhost (localhost)|127.0.0.1|:12333... 已连接。
已发出 Proxy 请求,正在等待回应... 302 Found
位置:https://github-production-release-asset-2e65be.s3.amazonaws.com/106087444/d0841b80-be19-11ea-9180-e170de6212b4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200711%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200711T140911Z&X-Amz-Expires=300&X-Amz-Signature=e73e0bc670eadfd6450c41bc23c98a918c55d8a2b58c168e23ea24b25af16525&X-Amz-SignedHeaders=host&actor_id=0&repo_id=106087444&response-content-disposition=attachment%3B%20filename%3Delecterm-1.3.49-linux-amd64.deb&response-content-type=application%2Foctet-stream [跟随至新的 URL]
--2020-07-11 22:09:11--  https://github-production-release-asset-2e65be.s3.amazonaws.com/106087444/d0841b80-be19-11ea-9180-e170de6212b4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200711%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200711T140911Z&X-Amz-Expires=300&X-Amz-Signature=e73e0bc670eadfd6450c41bc23c98a918c55d8a2b58c168e23ea24b25af16525&X-Amz-SignedHeaders=host&actor_id=0&repo_id=106087444&response-content-disposition=attachment%3B%20filename%3Delecterm-1.3.49-linux-amd64.deb&response-content-type=application%2Foctet-stream
正在连接 localhost (localhost)|127.0.0.1|:12333... 已连接。
已发出 Proxy 请求,正在等待回应... 200 OK
长度:52555336 (50M) [application/octet-stream]
正在保存至: “electerm-1.3.49-linux-amd64.deb.5”

electerm-1.3.49-linux-amd64.deb.   3%[>                                                         ]   1.52M   434KB/s  剩余 2m 7s   ^C
Originally created by @jay763190097 on GitHub (Jul 11, 2020). Original GitHub issue: https://github.com/electerm/electerm/issues/1777 ![截图录屏_electerm_20200711221135](https://user-images.githubusercontent.com/16317178/87225993-84118080-c3c3-11ea-8586-aa3be6fb4393.png) ``` # 已配置全局代理 jay@jay-PC:~$ wget https://github.com/electerm/electerm/releases/download/v1.3.49/electerm-1.3.49-linux-amd64.deb --2020-07-11 22:06:07-- https://github.com/electerm/electerm/releases/download/v1.3.49/electerm-1.3.49-linux-amd64.deb 正在解析主机 github.com (github.com)... 192.30.253.112, 192.30.253.112 正在连接 github.com (github.com)|192.30.253.112|:443... ^C jay@jay-PC:~$ wget https://github.com/electerm/electerm/releases/download/v1.3.49/electerm-1.3.49-linux-amd64.deb --2020-07-11 22:07:51-- https://github.com/electerm/electerm/releases/download/v1.3.49/electerm-1.3.49-linux-amd64.deb 正在解析主机 github.com (github.com)... 192.30.253.112, 192.30.253.112 正在连接 github.com (github.com)|192.30.253.112|:443... ^C ## 手动代理 jay@jay-PC:~$ export https_proxy=http://localhost:12333 jay@jay-PC:~$ wget https://github.com/electerm/electerm/releases/download/v1.3.49/electerm-1.3.49-linux-amd64.deb --2020-07-11 22:09:10-- https://github.com/electerm/electerm/releases/download/v1.3.49/electerm-1.3.49-linux-amd64.deb 正在解析主机 localhost (localhost)... ::1, 127.0.0.1 正在连接 localhost (localhost)|::1|:12333... 失败:拒绝连接。 正在连接 localhost (localhost)|127.0.0.1|:12333... 已连接。 已发出 Proxy 请求,正在等待回应... 302 Found 位置:https://github-production-release-asset-2e65be.s3.amazonaws.com/106087444/d0841b80-be19-11ea-9180-e170de6212b4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200711%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200711T140911Z&X-Amz-Expires=300&X-Amz-Signature=e73e0bc670eadfd6450c41bc23c98a918c55d8a2b58c168e23ea24b25af16525&X-Amz-SignedHeaders=host&actor_id=0&repo_id=106087444&response-content-disposition=attachment%3B%20filename%3Delecterm-1.3.49-linux-amd64.deb&response-content-type=application%2Foctet-stream [跟随至新的 URL] --2020-07-11 22:09:11-- https://github-production-release-asset-2e65be.s3.amazonaws.com/106087444/d0841b80-be19-11ea-9180-e170de6212b4?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200711%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200711T140911Z&X-Amz-Expires=300&X-Amz-Signature=e73e0bc670eadfd6450c41bc23c98a918c55d8a2b58c168e23ea24b25af16525&X-Amz-SignedHeaders=host&actor_id=0&repo_id=106087444&response-content-disposition=attachment%3B%20filename%3Delecterm-1.3.49-linux-amd64.deb&response-content-type=application%2Foctet-stream 正在连接 localhost (localhost)|127.0.0.1|:12333... 已连接。 已发出 Proxy 请求,正在等待回应... 200 OK 长度:52555336 (50M) [application/octet-stream] 正在保存至: “electerm-1.3.49-linux-amd64.deb.5” electerm-1.3.49-linux-amd64.deb. 3%[> ] 1.52M 434KB/s 剩余 2m 7s ^C ```
kerem 2026-02-27 00:02:03 +03:00
  • closed this issue
  • added the
    feature
    label
Author
Owner

@zxdong262 commented on GitHub (Jan 26, 2021):

代理仅生效于书签连接和升级下载,对于本地终端是不支持的。

<!-- gh-comment-id:767894910 --> @zxdong262 commented on GitHub (Jan 26, 2021): 代理仅生效于书签连接和升级下载,对于本地终端是不支持的。
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/electerm#1056
No description provided.