V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  zhiqiang  ›  全部回复第 1 页 / 共 9 页
回复总数  174
1  2  3  4  5  6  7  8  9  
不对。我搞错了。还是不行。
@NessajCN 还真行。。。这是为什么?之前从没看见过这种写法。
一个更诡异的是,pnpm 没有问题。只有 npm 有问题。
搜到一个可能有用的信息。我这个代理在其它还没升级到 24.04 的服务器上没问提。看来 24.04 的 ubuntu 或者新版本的 npm 升级了验证体系?

The dreaded NTLM

There is an HTTP status code 407 (proxy authentication required), which is the more correct way of saying it's the proxy rather than the destination server that's rejecting your request. That code plagued me for the longest time until after a lot of time on Google, I learned my proxy used NTLM authentication. HTTP basic authentication wasn't enough to satisfy whatever proxy my corporate overlords had installed. I resorted to using Cntlm on my local machine (unauthenticated), then had it handle the NTLM authentication with the upstream proxy. Then I had to tell all the programs that couldn't do NTLM to use my local machine as the proxy - which is generally as simple as setting HTTP_PROXY and HTTPS_PROXY. Otherwise, for npm use (as @Agus suggests):

npm config set proxy http://proxy.example.com:3128
npm config set https-proxy http://proxy.example.com:3128
@arfaWong 换国内源一样的错误。我的理解是代理那一层就出错了,还没访问最终目的地。

$ npm config set registry http://mirrors.cloud.tencent.com/npm/
$ npm install typescript
npm ERR! code E407
npm ERR! 407 Proxy Authentication Required - GET http://mirrors.cloud.tencent.com/npm/typescript
@NessajCN ~/.npmrc 是空的。如果设置 npm config 之后是

```
https-proxy=http://user123:[email protected]:3128/
proxy=http://user123:[email protected]:3128/
```

但无论是否设置,都是 E407 错误。环境变量设置了 https_proxy 、all_proxy 、http_proxy ,都指向上面这个代理。
@will800 技术类都用 chatgpt 了。现在发现 gpt 解决不了的,Google 一般也搜不到。所以现在都不怎么用 Google 了。
@lchkid 二维码或小程序链接还是太麻烦了,而且不直观。
@whileFalse 认证要钱。300 一年。
141 天前
回复了 lear7 创建的主题 问与答 为什么现在软件质量不如以前?
现在软件功能多,更新快,没以前稳定。但是,你这用出你说的这么多问题,还是奇葩了。
312 天前
回复了 xuxiake 创建的主题 OpenAI OpenAI 付费可太难了
遇到同样问题。有什么简单一劳永逸的方法吗。azure openai 是怎么弄
341 天前
回复了 zhiqiang 创建的主题 问与答 慎用虚拟信用卡支付或充值 chatgpt
@luckykong API 目前正常。
2023-04-10 14:59:02 +08:00
回复了 zhiqiang 创建的主题 问与答 慎用虚拟信用卡支付或充值 chatgpt
@xiaodongus 有什么诀窍吗?我已经换了好多 IP 了,全局模式+隐身模式,还是不行。

可能第一次不行了后面就不行了?我第一次也是用的美国 IP 呀。
2023-04-10 14:46:41 +08:00
回复了 zhiqiang 创建的主题 问与答 慎用虚拟信用卡支付或充值 chatgpt
@xyxc0673 同样的 gpt 账户同样的卡,第一次被拒,换了个代理成功了?
2023-04-10 11:16:42 +08:00
回复了 zhiqiang 创建的主题 问与答 有人 gpt-4 API 申请通过了的吗?
我的还没通过。前几天看到大家消息又提交了一次。还是没有。

有什么诀窍吗?
2023-03-28 17:27:12 +08:00
回复了 zhiqiang 创建的主题 问与答 chatgpt api 经常 timeout 超时
@ccyu220 谢谢。
@k9982874 想多了。。。
2023-03-17 10:19:46 +08:00
回复了 zddhub 创建的主题 分享发现 文心一言界面去水印
求体验号。
2022-12-19 11:17:40 +08:00
回复了 zhiqiang 创建的主题 程序员 用 vue3 跨端写小程序,千万别用 taro
@ae86 echarts-for-weixin 不跨端啊。。。都用跨端框架了,当然要跨端的。
2022-12-19 11:15:37 +08:00
回复了 zhiqiang 创建的主题 程序员 用 vue3 跨端写小程序,千万别用 taro
@ae86 这么看来 taro 对 react 的支持比较完善。
1  2  3  4  5  6  7  8  9  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   1039 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 27ms · UTC 22:32 · PVG 06:32 · LAX 15:32 · JFK 18:32
Developed with CodeLauncher
♥ Do have faith in what you're doing.