coze-discord-proxy icon indicating copy to clipboard operation
coze-discord-proxy copied to clipboard

[error opening connection, Get "https://discord.com/api/v9/gateway": proxyconnect tcp: dial tcp 127.0.0.1:10801: connect: connection refused]

Open Travis-55 opened this issue 1 year ago • 12 comments

image

Travis-55 avatar Feb 13 '24 15:02 Travis-55

部署环境变量中的PROXY_URL请使用自己的,文档中只是我的示例。

deanxv avatar Feb 13 '24 16:02 deanxv

[FATAL] 2024/02/13 - 16:39:02 | [error creating proxy client, 仅支持sock和http代理!] [SYS] 2024/02/13 - 16:39:02 | COZE-DISCORD-PROXY v3.2.3 started ==> Common ways to troubleshoot your deploy: https://docs.render.com/troubleshooting-deploys [SYS] 2024/02/13 - 16:39:04 | COZE-DISCORD-PROXY v3.2.3 started [FATAL] 2024/02/13 - 16:39:04 | [error creating proxy client, 仅支持sock和http代理!]

Travis-55 avatar Feb 13 '24 16:02 Travis-55

[FATAL] 2024/02/13 - 16:39:02 | [error creating proxy client, 仅支持sock和http代理!]

[SYS] 2024/02/13 - 16:39:02 | COZE-DISCORD-PROXY v3.2.3 started

==> Common ways to troubleshoot your deploy: https://docs.render.com/troubleshooting-deploys

[SYS] 2024/02/13 - 16:39:04 | COZE-DISCORD-PROXY v3.2.3 started

[FATAL] 2024/02/13 - 16:39:04 | [error creating proxy client, 仅支持sock和http代理!]

自己看报错信息内容,PROXY_URL不要瞎写,这个也不是必填项,自己的使用场景下不需要可以不用写。

deanxv avatar Feb 13 '24 16:02 deanxv

I did set the proxy url

Travis-55 avatar Feb 13 '24 16:02 Travis-55

image

Travis-55 avatar Feb 13 '24 16:02 Travis-55

image

image

请拿出笔和纸,把PROXY_URL抄写一百遍。

deanxv avatar Feb 13 '24 16:02 deanxv

I entered the proxy url already but its still giving the error

Travis-55 avatar Feb 13 '24 16:02 Travis-55

I entered the proxy url already but its still giving the error

你填写的PROXY_URL的值是什么?

deanxv avatar Feb 13 '24 16:02 deanxv

htttps://myappname.onrender.com

Travis-55 avatar Feb 13 '24 16:02 Travis-55

htttps://myappname.onrender.com

为什么要写这个?这个环境变量的意义是在启动discord客户端时使用你的代理ip端口,不会使用的话,请删除此环境变量。

deanxv avatar Feb 13 '24 17:02 deanxv

yes i want to use the api for another app

Travis-55 avatar Feb 13 '24 17:02 Travis-55

yes i want to use the api for another app

删除此环境变量后服务如果启动成功,用你部署服务器的ip及环境变量中的port调试即可

deanxv avatar Feb 13 '24 17:02 deanxv