Open mingtian886 opened 6 months ago
试了下,好像是的,我晚上回家修一下
mingtian @.***>于2024年4月19日 周五18:10写道:
公众号总结提示访问受限,需要验证才能继续浏览,大佬的服务器应该被腾讯ban了
— Reply to this email directly, view it on GitHub https://github.com/fatwang2/sum4all/issues/52, or unsubscribe https://github.com/notifications/unsubscribe-auth/A77NZSTLF6QJLGKUIRICMXLY6DUQJAVCNFSM6AAAAABGO4OS5GVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI2TENRQGA2DCNQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
建议换种方式,采用jina read的工具方式实现
经检查,不是爬取工具的问题,原始URL我的爬取工具也可以爬,是微信开始做反爬策略了,网页版微信接收到的URL会生成新的URL,而这个URL换一个客户端打开会显示如下,需要人工才能打开:
问题修复了,你更新到最新版试试
好像还是不行
提示什么呀?我之前修过了
On Wed, Apr 24, 2024 at 12:47 AM flyinsz @.***> wrote:
好像还是不行
— Reply to this email directly, view it on GitHub https://github.com/fatwang2/sum4all/issues/52#issuecomment-2072907781, or unsubscribe https://github.com/notifications/unsubscribe-auth/A77NZSWNCPNNEDBG3HZ2ANDY62GDJAVCNFSM6AAAAABGO4OS5GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZSHEYDONZYGE . You are receiving this because you commented.Message ID: @.***>
提示什么呀?我之前修过了
On Wed, Apr 24, 2024 at 12:47 AM flyinsz @.***> wrote:
好像还是不行
—
Reply to this email directly, view it on GitHub
https://github.com/fatwang2/sum4all/issues/52#issuecomment-2072907781,
or unsubscribe
.
You are receiving this because you commented.Message ID:
@.***>
还是一样: An error occurred
💬5min内输入问+问题,可继续追问
你这个跟他不是一个问题吧,你之前成功过吗?没成功过的话需要检查下配置
你这个跟他不是一个问题吧,你之前成功过吗?没成功过的话需要检查下配置 你的网站500错误 [INFO][2024-04-24 13:06:05][sum4all.py:252] - [sum4all] Summary URL : http://mp.weixin.qq.com/s?__biz=MjM5ODQ1NjE2Nw==&mid=2652498834&idx=2&sn=32412c8dc9057fc3499201eb85ba9e1b&chksm=bd27359a8a50bc8c89e4e2a8b539d99933eb77f0897758b47d5612e123df9876d76dec8ddf39&mpshare=1&scene=1&srcid=04241rxbEbEzylbKxYGVisUE&sharer_shareinfo=f8a618d20c8e35b1454d0e360ec1af7e&sharer_shareinfo_first=f8a618d20c8e35b1454d0e360ec1af7e#rd [INFO][2024-04-24 13:06:05][sum4all.py:256] - Updated last_url in params_cache for user. [INFO][2024-04-24 13:06:05][sum4all.py:330] - Handling Sum4All request... [INFO][2024-04-24 13:06:05][sum4all.py:366] - Sending request to LLM... [ERROR][2024-04-24 13:06:15][sum4all.py:390] - Error calling new combined api: 500 Server Error: Internal Server Error for url: https://ai.sum4all.site/ [INFO][2024-04-24 13:06:16][wechat_channel.py:214] - [WX] sendMsg=Reply(type=TEXT, content=An error occurred
💬5min内输入问+问题,可继续追问), receiver=@b0c8ccb44a4d45b5ee23003674cd906e
链接我试了下没问题,你配置没配对
链接我试了下没问题,你配置没配对
其他功能都正常,唯独url解析就出现500错误
你升级到最新版了吗?旧版本是有问题
flyinsz @.***>于2024年4月24日 周三19:09写道:
链接我试了下没问题,你配置没配对
其他功能都正常,唯独url解析就出现500错误
— Reply to this email directly, view it on GitHub https://github.com/fatwang2/sum4all/issues/52#issuecomment-2074692444, or unsubscribe https://github.com/notifications/unsubscribe-auth/A77NZSVN27DQ3OFICC2SA63Y66HF5AVCNFSM6AAAAABGO4OS5GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZUGY4TENBUGQ . You are receiving this because you commented.Message ID: @.***>
你升级到最新版了吗?旧版本是有问题 flyinsz @.>于2024年4月24日 周三19:09写道: … 链接我试了下没问题,你配置没配对 其他功能都正常,唯独url解析就出现500错误 — Reply to this email directly, view it on GitHub <#52 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A77NZSVN27DQ3OFICC2SA63Y66HF5AVCNFSM6AAAAABGO4OS5GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZUGY4TENBUGQ . You are receiving this because you commented.Message ID: @.>
升级了的,刚刚又再升级了一次,问题依旧,打开了cow的debug开关还是开不出问题出在哪里,一直都是500错误,奇了怪了。大佬你觉得问题可能出在哪里呢?实在是把我拿住了。
你 plist 一下看看是什么版本
flyinsz @.***>于2024年4月24日 周三22:02写道:
你升级到最新版了吗?旧版本是有问题 flyinsz @.
>于2024年4月24日 周三19:09写道: … <#m-759820794233255573> 链接我试了下没问题,你配置没配对 其他功能都正常,唯独url解析就出现500错误 — Reply to this email directly, view it on GitHub <#52 (comment) https://github.com/fatwang2/sum4all/issues/52#issuecomment-2074692444>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A77NZSVN27DQ3OFICC2SA63Y66HF5AVCNFSM6AAAAABGO4OS5GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZUGY4TENBUGQ https://github.com/notifications/unsubscribe-auth/A77NZSVN27DQ3OFICC2SA63Y66HF5AVCNFSM6AAAAABGO4OS5GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZUGY4TENBUGQ . You are receiving this because you commented.Message ID: @.>
升级了的,刚刚又再升级了一次,问题依旧,打开了cow的debug开关还是开不出问题出在哪里,一直都是500错误,奇了怪了。大佬你觉得问题可能出在哪里呢?实在是把我拿住了。
— Reply to this email directly, view it on GitHub https://github.com/fatwang2/sum4all/issues/52#issuecomment-2075027274, or unsubscribe https://github.com/notifications/unsubscribe-auth/A77NZSQECZJEX6DBDVTZYYTY663PLAVCNFSM6AAAAABGO4OS5GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZVGAZDOMRXGQ . You are receiving this because you commented.Message ID: @.***>
你 plist 一下看看是什么版本
flyinsz @.***>于2024年4月24日 周三22:02写道:
你升级到最新版了吗?旧版本是有问题 flyinsz @.
*>于2024年4月24日 周三19:09写道: … <#m-759820794233255573> 链接我试了下没问题,你配置没配对
其他功能都正常,唯独url解析就出现500错误 — Reply to this email directly, view it on GitHub
<#52 (comment)
https://github.com/fatwang2/sum4all/issues/52#issuecomment-2074692444>,
or unsubscribe
. You are receiving this because you commented.Message ID: @.*>
升级了的,刚刚又再升级了一次,问题依旧,打开了cow的debug开关还是开不出问题出在哪里,一直都是500错误,奇了怪了。大佬你觉得问题可能出在哪里呢?实在是把我拿住了。
—
Reply to this email directly, view it on GitHub
https://github.com/fatwang2/sum4all/issues/52#issuecomment-2075027274,
or unsubscribe
.
You are receiving this because you commented.Message ID:
@.***>
版本0.7.6.2
你的cow是部署在什么服务器上的?
你的cow是部署在什么服务器上的?
搭建了python的windows10
你直接在你机器人,请求下我内容总结那个接口看看,我那个部署在 cf 上的,怀疑是不是你的 ip 访问不了
flyinsz @.***>于2024年4月25日 周四13:41写道:
你的cow是部署在什么服务器上的?
搭建了python的windows10
— Reply to this email directly, view it on GitHub https://github.com/fatwang2/sum4all/issues/52#issuecomment-2076410317, or unsubscribe https://github.com/notifications/unsubscribe-auth/A77NZSXYIXOLBVYW7PTGQHLY7CJPHAVCNFSM6AAAAABGO4OS5GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZWGQYTAMZRG4 . You are receiving this because you commented.Message ID: @.***>
你直接在你机器人,请求下我内容总结那个接口看看,我那个部署在 cf 上的,怀疑是不是你的 ip 访问不了 flyinsz @.>于2024年4月25日 周四13:41写道: … 你的cow是部署在什么服务器上的? 搭建了python的windows10 — Reply to this email directly, view it on GitHub <#52 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A77NZSXYIXOLBVYW7PTGQHLY7CJPHAVCNFSM6AAAAABGO4OS5GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZWGQYTAMZRG4 . You are receiving this because you commented.Message ID: @.>
这样吗:C:\Users\DONNY>curl https://ai.sum4all.site Error parsing JSON from request body
这是个post接口 你参考代码构建一下
flyinsz @.***>于2024年4月26日 周五10:24写道:
你直接在你机器人,请求下我内容总结那个接口看看,我那个部署在 cf 上的,怀疑是不是你的 ip 访问不了 flyinsz @.
>于2024年4月25日 周四13:41写道: … <#m-403589561762489071> 你的cow是部署在什么服务器上的? 搭建了python的windows10 — Reply to this email directly, view it on GitHub <#52 (comment) https://github.com/fatwang2/sum4all/issues/52#issuecomment-2076410317>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A77NZSXYIXOLBVYW7PTGQHLY7CJPHAVCNFSM6AAAAABGO4OS5GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZWGQYTAMZRG4 https://github.com/notifications/unsubscribe-auth/A77NZSXYIXOLBVYW7PTGQHLY7CJPHAVCNFSM6AAAAABGO4OS5GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZWGQYTAMZRG4 . You are receiving this because you commented.Message ID: @.>
这样吗:C:\Users\DONNY>curl https://ai.sum4all.site Error parsing JSON from request body
— Reply to this email directly, view it on GitHub https://github.com/fatwang2/sum4all/issues/52#issuecomment-2078516447, or unsubscribe https://github.com/notifications/unsubscribe-auth/A77NZSVHADYLGORK4FFRECLY7G3FFAVCNFSM6AAAAABGO4OS5GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZYGUYTMNBUG4 . You are receiving this because you commented.Message ID: @.***>
这是个post接口 你参考代码构建一下 flyinsz @.>于2024年4月26日 周五10:24写道: … 你直接在你机器人,请求下我内容总结那个接口看看,我那个部署在 cf 上的,怀疑是不是你的 ip 访问不了 flyinsz @. >于2024年4月25日 周四13:41写道: … <#m-403589561762489071> 你的cow是部署在什么服务器上的? 搭建了python的windows10 — Reply to this email directly, view it on GitHub <#52 (comment) <#52 (comment)>>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A77NZSXYIXOLBVYW7PTGQHLY7CJPHAVCNFSM6AAAAABGO4OS5GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZWGQYTAMZRG4 https://github.com/notifications/unsubscribe-auth/A77NZSXYIXOLBVYW7PTGQHLY7CJPHAVCNFSM6AAAAABGO4OS5GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZWGQYTAMZRG4 . You are receiving this because you commented.Message ID: @.> 这样吗:C:\Users\DONNY>curl https://ai.sum4all.site Error parsing JSON from request body — Reply to this email directly, view it on GitHub <#52 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A77NZSVHADYLGORK4FFRECLY7G3FFAVCNFSM6AAAAABGO4OS5GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZYGUYTMNBUG4 . You are receiving this because you commented.Message ID: @.>
不太懂代码,能细说一下吗
把下面这段命令,复制后,填写你自己相关的信息,在你同样环境的命令行里输入,敲回车,看看是否能正常返回结果
curl --location 'https://ai.sum4all.site' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer 这里填写你的key' \ --data '{ "link": "https://mp.weixin.qq.com/s?__biz=MzA4NTIyMjMyMw==&mid=2653271632&idx=1&sn=3ffecce5c74c766287b411e571283fbe&chksm=85bad0c24d1a155ad13890fefcfc7b42200004bf1d48f8161e9a54c160af253b736b8d6f9c4e&scene=0&xtrack=1&key=&ascene=1&uin=&devicetype=iMac+Macmini9%2C1+OSX+OSX+14.5+build(23F5049f)&version=13080712&nettype=WIFI&lang=zh_CN&countrycode=CN&fontScale=100", "prompt": "你是一个信息检索专家,请你对完整的内容做总结。尽量使用emoji让你的表达更生动", "model": "这里填写你用的模型", "base":"这里填写你的apibase地址,注意加v1" }'
把下面这段命令,复制后,填写你自己相关的信息,在你同样环境的命令行里输入,敲回车,看看是否能正常返回结果
curl --location 'https://ai.sum4all.site' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer 这里填写你的key' \ --data '{ "link": "https://mp.weixin.qq.com/s?__biz=MzA4NTIyMjMyMw==&mid=2653271632&idx=1&sn=3ffecce5c74c766287b411e571283fbe&chksm=85bad0c24d1a155ad13890fefcfc7b42200004bf1d48f8161e9a54c160af253b736b8d6f9c4e&scene=0&xtrack=1&key=&ascene=1&uin=&devicetype=iMac+Macmini9%2C1+OSX+OSX+14.5+build(23F5049f)&version=13080712&nettype=WIFI&lang=zh_CN&countrycode=CN&fontScale=100", "prompt": "你是一个信息检索专家,请你对完整的内容做总结。尽量使用emoji让你的表达更生动", "model": "这里填写你用的模型", "base":"这里填写你的apibase地址,注意加v1" }'
运行后错误如下: curl: (3) URL rejected: Port number was not a decimal number between 0 and 65535 curl: (3) URL rejected: Bad hostname curl: (3) URL rejected: Port number was not a decimal number between 0 and 65535 {"base_resp":{"ret":-3,"errmsg":"no session","cookie_count":0},"ret":-3,"errmsg":"no session","cookie_count":0}curl: (3) URL rejected: Port number was not a decimal number between 0 and 65535 curl: (3) URL rejected: Bad hostname curl: (3) URL rejected: Port number was not a decimal number between 0 and 65535 curl: (3) URL rejected: Bad hostname curl: (3) URL rejected: Port number was not a decimal number between 0 and 65535 curl: (3) unmatched close brace/bracket in URL position 1:
换成这个,把完整日志发出来: curl -v --location 'https://ai.sum4all.site' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer 这里填写你的key' \ --data '{ "link": " https://mp.weixin.qq.com/s?__biz=MzA4NTIyMjMyMw==&mid=2653271632&idx=1&sn=3ffecce5c74c766287b411e571283fbe&chksm=85bad0c24d1a155ad13890fefcfc7b42200004bf1d48f8161e9a54c160af253b736b8d6f9c4e&scene=0&xtrack=1&key=&ascene=1&uin=&devicetype=iMac+Macmini9%2C1+OSX+OSX+14.5+build(23F5049f)&version=13080712&nettype=WIFI&lang=zh_CN&countrycode=CN&fontScale=100", "prompt": "你是一个信息检索专家,请你对完整的内容做总结。尽量使用emoji让你的表达更生动", "model": "这里填写你用的模型", "base":"这里填写你的apibase地址,注意加v1" }'
On Sat, Apr 27, 2024 at 11:42 PM flyinsz @.***> wrote:
curl --location 'https://ai.sum4all.site' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer 这里填写你的key' \ --data '{ "link": " https://mp.weixin.qq.com/s?__biz=MzA4NTIyMjMyMw==&mid=2653271632&idx=1&sn=3ffecce5c74c766287b411e571283fbe&chksm=85bad0c24d1a155ad13890fefcfc7b42200004bf1d48f8161e9a54c160af253b736b8d6f9c4e&scene=0&xtrack=1&key=&ascene=1&uin=&devicetype=iMac+Macmini9%2C1+OSX+OSX+14.5+build(23F5049f)&version=13080712&nettype=WIFI&lang=zh_CN&countrycode=CN&fontScale=100", "prompt": "你是一个信息检索专家,请你对完整的内容做总结。尽量使用emoji让你的表达更生动", "model": "这里填写你用的模型", "base":"这里填写你的apibase地址,注意加v1" }'
命令行运行后错误:Invoke-WebRequest : 找不到接受实际参数“https://ai.sum4all.site”的位置形式参数。 所在位置 行:1 字符: 1
- curl --location 'https://ai.sum4all.site' \ --header 'Content-Type: a ...
- CategoryInfo : InvalidArgument: (:) [Invoke-WebRequest],ParameterBindingException
- FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
— Reply to this email directly, view it on GitHub https://github.com/fatwang2/sum4all/issues/52#issuecomment-2080933353, or unsubscribe https://github.com/notifications/unsubscribe-auth/A77NZSRYP56PTVGNSHLUXCTY7PBO7AVCNFSM6AAAAABGO4OS5GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBQHEZTGMZVGM . You are receiving this because you commented.Message ID: @.***>
curl -v --location 'https://ai.sum4all.site' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer 这里填写你的key' \ --data '{ "link": " https://mp.weixin.qq.com/s?__biz=MzA4NTIyMjMyMw==&mid=2653271632&idx=1&sn=3ffecce5c74c766287b411e571283fbe&chksm=85bad0c24d1a155ad13890fefcfc7b42200004bf1d48f8161e9a54c160af253b736b8d6f9c4e&scene=0&xtrack=1&key=&ascene=1&uin=&devicetype=iMac+Macmini9%2C1+OSX+OSX+14.5+build(23F5049f)&version=13080712&nettype=WIFI&lang=zh_CN&countrycode=CN&fontScale=100", "prompt": "你是一个信息检索专家,请你对完整的内容做总结。尽量使用emoji让你的表达更生动", "model": "这里填写你用的模型", "base":"这里填写你的apibase地址,注意加v1" }'
C:\Users\DONNY>curl -v --location 'https://ai.sum4all.site' --header 'Content-Type: application/json' --header 'Authorization: Bearer sk-zytscKkrg06aExzG41F898Ef82F046Ea8bAd51Bb82D5280f' --data '{"link": "https://mp.weixin.qq.com/s?__biz=MzA4NTIyMjMyMw==&mid=2653271632&idx=1&sn=3ffecce5c74c766287b411e571283fbe&chksm=85bad0c24d1a155ad13890fefcfc7b42200004bf1d48f8161e9a54c160af253b736b8d6f9c4e&scene=0&xtrack=1&key=&ascene=1&uin=&devicetype=iMac+Macmini9%2C1+OSX+OSX+14.5+build(23F5049f)&version=13080712&nettype=WIFI&lang=zh_CN&countrycode=CN&fontScale=100", "prompt": " 你是一个信息检索专家,请你对完整的内容做总结。尽量使用emoji让你的表达更生动", "model": "gpt-3.5-turbo", "base":"http://127.0.0.1:3002/v1" }'
POST http://application/json' HTTP/1.1 Host: application User-Agent: curl/8.4.0 Accept: / Proxy-Connection: Keep-Alive Content-Length: 7 Content-Type: application/x-www-form-urlencoded
< HTTP/1.1 502 Bad Gateway < Connection: keep-alive < Keep-Alive: timeout=4 < Proxy-Connection: keep-alive < Content-Length: 0 <
POST http://Bearer/ HTTP/1.1 Host: Bearer User-Agent: curl/8.4.0 Accept: / Proxy-Connection: Keep-Alive Content-Length: 7 Content-Type: application/x-www-form-urlencoded
< HTTP/1.1 502 Bad Gateway < Connection: keep-alive < Keep-Alive: timeout=4 < Proxy-Connection: keep-alive < Content-Length: 0 <
CONNECT mp.weixin.qq.com:443 HTTP/1.1 Host: mp.weixin.qq.com:443 User-Agent: curl/8.4.0 Proxy-Connection: Keep-Alive
< HTTP/1.1 200 Connection established <
POST /s?__biz=MzA4NTIyMjMyMw==&mid=2653271632&idx=1&sn=3ffecce5c74c766287b411e571283fbe&chksm=85bad0c24d1a155ad13890fefcfc7b42200004bf1d48f8161e9a54c160af253b736b8d6f9c4e&scene=0&xtrack=1&key=&ascene=1&uin=&devicetype=iMac+Macmini9%2C1+OSX+OSX+14.5+build(23F5049f)&version=13080712&nettype=WIFI&lang=zh_CN&countrycode=CN&fontScale=100, HTTP/1.1 Host: mp.weixin.qq.com User-Agent: curl/8.4.0 Accept: / Content-Length: 7 Content-Type: application/x-www-form-urlencoded
< HTTP/1.1 200 OK < Content-Type: application/json; charset=UTF-8 < Cache-Control: no-cache, must-revalidate < RetKey: 11 < LogicRet: -3 < Strict-Transport-Security: max-age=0 < MMLAS-VERIFYRESULT: CAEoADCFggg= < Connection: keep-alive < Content-Length: 111 < {"base_resp":{"ret":-3,"errmsg":"no session","cookie_count":0},"ret":-3,"errmsg":"no session","cookie_count":0}* Connection #1 to host 127.0.0.1 left intact
额,我链接给你错了,是这个链接
curl -v --location 'https://ai.sum4all.site' --header 'Content-Type: application/json' --header 'Authorization: Bearer sk-zytscKkrg06aExzG41F898Ef82F046Ea8bAd51Bb82D5280f' --data '{"link": "https://mp.weixin.qq.com/s/8KCFBRZQWcnGJ9JUdgu1Yw", "prompt": " 你是一个信息检索专家,请你对完整的内容做总结。尽量使用emoji让你的表达更生动", "model": "gpt-3.5-turbo", "base":"http://127.0.0.1:3002/v1" }'
额,我链接给你错了,是这个链接
curl -v --location 'https://ai.sum4all.site' --header 'Content-Type: application/json' --header 'Authorization: Bearer sk-zytscKkrg06aExzG41F898Ef82F046Ea8bAd51Bb82D5280f' --data '{"link": "https://mp.weixin.qq.com/s/8KCFBRZQWcnGJ9JUdgu1Yw", "prompt": " 你是一个信息检索专家,请你对完整的内容做总结。尽量使用emoji让你的表达更生动", "model": "gpt-3.5-turbo", "base":"http://127.0.0.1:3002/v1" }'
也是一样的错误: C:\Users\DONNY>curl -v --location 'https://ai.sum4all.site' --header 'Content-Type: application/json' --header 'Authorization: Bearer sk-zytscKkrg06aExzG41F898Ef82F046Ea8bAd51Bb82D5280f' --data '{"link": "https://mp.weixin.qq.com/s/8KCFBRZQWcnGJ9JUdgu1Yw", "prompt": " 你是一个信息检索专家,请你对完整的内容做总结。尽量使用emoji让你的表达更生动", "model": "gpt-3.5-turbo", "base":"http://127.0.0.1:3002/v1" }'
POST http://application/json' HTTP/1.1 Host: application User-Agent: curl/8.4.0 Accept: / Proxy-Connection: Keep-Alive Content-Length: 7 Content-Type: application/x-www-form-urlencoded
< HTTP/1.1 502 Bad Gateway < Connection: keep-alive < Keep-Alive: timeout=4 < Proxy-Connection: keep-alive < Content-Length: 0 <
POST http://Bearer/ HTTP/1.1 Host: Bearer User-Agent: curl/8.4.0 Accept: / Proxy-Connection: Keep-Alive Content-Length: 7 Content-Type: application/x-www-form-urlencoded
< HTTP/1.1 502 Bad Gateway < Connection: keep-alive < Keep-Alive: timeout=4 < Proxy-Connection: keep-alive < Content-Length: 0 <
CONNECT mp.weixin.qq.com:443 HTTP/1.1 Host: mp.weixin.qq.com:443 User-Agent: curl/8.4.0 Proxy-Connection: Keep-Alive
< HTTP/1.1 200 Connection established <
POST /s/8KCFBRZQWcnGJ9JUdgu1Yw, HTTP/1.1 Host: mp.weixin.qq.com User-Agent: curl/8.4.0 Accept: / Content-Length: 7 Content-Type: application/x-www-form-urlencoded
< HTTP/1.1 200 OK < Content-Type: application/json; charset=UTF-8 < Cache-Control: no-cache, must-revalidate < RetKey: 11 < LogicRet: -3 < Strict-Transport-Security: max-age=0 < MMLAS-VERIFYRESULT: CAEoADCFggg= < Connection: keep-alive < Content-Length: 111 < {"base_resp":{"ret":-3,"errmsg":"no session","cookie_count":0},"ret":-3,"errmsg":"no session","cookie_count":0}* Connection #1 to host 127.0.0.1 left intact
你的apibase没有https,我记得我在cf上配置了只能https访问,可能跟这个有关,你需要加一层nginx反代。另外你现在回复里暴露了你的key,建议删掉哈
你的apibase没有https,我记得我在cf上配置了只能https访问,可能跟这个有关,你需要加一层nginx反代。另外你现在回复里暴露了你的key,建议删掉哈
这个就有点头大了,我是电信非专线的网络,端口80和443都给封完了,服务器就搞不了https了。大佬还有其他办法吗?另外,我的key是自生成的,不怕暴露,哈哈
你搜搜,我暂时不了解有啥好办法
你搜搜,我暂时不了解有啥好办法
我大概看了一下你的代码,我打理解是程序把要解析的文件或url连同key和base等参数一并传递给到你的后端ai.sum4all.site,后端接收到对文件或url进行解析后调用key和base进行大模型处理,再把处理结果进行返回处理,如果是这样的话我传递base127.0.0.1,后端ai.sum4all.site显然是无法进行连接的。不知道我这样理解有没有错?
额,我刚发现,大哥你整错了,127.0.0.1指的是你本机,就跟localhost一样,你的OpenAI代理是部署在本地的?那你确实没法用,你需要有一个外部可以公开访问的ip地址或者域名
额,我刚发现,大哥你整错了,127.0.0.1指的是你本机,就跟localhost一样,你的OpenAI代理是部署在本地的?那你确实没法用,你需要有一个外部可以公开访问的ip地址或者域名
我换了能公开访问的域名,但还是有错误,貌似是你的证书有问题: [INFO][2024-04-30 23:55:31][sum4all.py:271] - Updated last_url in params_cache for user. [INFO][2024-04-30 23:55:31][sum4all.py:330] - Handling Sum4All request... [INFO][2024-04-30 23:55:31][sum4all.py:366] - Sending request to LLM... WARNING:urllib3.connection:Certificate did not match expected hostname: ai.sum4all.site. Certificate: {'subject': ((('commonName', 'aws.ketaisteel.top'),),), 'issuer': ((('countryName', 'US'),), (('organizationName', "Let's Encrypt"),), (('commonName', 'R3'),)), 'version': 3, 'serialNumber': '038AB083EA06902A326EF37AF4A5B66AD623', 'notBefore': 'Apr 29 00:30:10 2024 GMT', 'notAfter': 'Jul 28 00:30:09 2024 GMT', 'subjectAltName': (('DNS', 'aws.ketaisteel.top'),), 'OCSP': ('http://r3.o.lencr.org',), 'caIssuers': ('http://r3.i.lencr.org/',)} [ERROR][2024-04-30 23:55:33][sum4all.py:390] - Error calling new combined api: HTTPSConnectionPool(host='ai.sum4all.site', port=443): Max retries exceeded with url: / (Caused by SSLError(CertificateError("hostname 'ai.sum4all.site' doesn't match 'aws.ketaisteel.top'"))) [INFO][2024-04-30 23:55:33][wechat_channel.py:214] - [WX] sendMsg=Reply(type=TEXT, content=An error occurred
公众号总结提示访问受限,需要验证才能继续浏览,大佬的服务器应该被腾讯ban了