ningyu 最近的时间轴更新
ningyu

ningyu

V2EX 第 25289 号会员,加入于 2012-08-13 16:39:45 +08:00
ningyu 最近回复了
通过 apple 登录跳转到 appid 登录页面,然后呢,我 appleid 是登录的呀
118 天前
回复了 qhgongzi 创建的主题 English 招募一点认真学英语的种子选手
报名
支持!!
167 天前
回复了 laolaozizi 创建的主题 分享创造 airbnb 新工具 - 按评分筛选 - 早鸟免费
@SAINTING4 嗯,我刚试了下也是可以的~
@christin 嗯,别人二次开发的应用。我的 vps ip 是美国的,我试了下,基于这些应用访问 chatgpt 服务还是会有输出的,那看起来暂时应该没问题
@jackyzy823

docker-compose logs 打印的日志有点多,但是看起来都不是我的日志,可能是别人在群里使用 slack 时的信息。什么情况下会导致超时呢,而且我用 1989 端口时是有返回的,只是返回的不是 slack 预期的信息,毕竟这个端口对应的服务不是 slack 的 app

mygptreader_config-web-1 | INFO:root:请用中文简短概括这篇文章的内容。
mygptreader_config-web-1 | INFO:root:=====> text_qa_template
mygptreader_config-web-1 | INFO:root:<llama_index.prompts.prompts.QuestionAnswerPrompt object at 0x7f879bd6b6a0>
mygptreader_config-web-1 | INFO:root:> [query] Total LLM token usage: 202 tokens
mygptreader_config-web-1 | INFO:root:> [query] Total embedding token usage: 34 tokens
mygptreader_config-web-1 | INFO:root:=====> GPT response: 这篇文章的内容是:出现了 401 错误,表示未经授权无法访问。 (total_llm_model_tokens: 202, total_embedding_model_tokens: 34
mygptreader_config-web-1 | ERROR:root:The request to the Slack API failed. (url: https://www.slack.com/api/chat.postMessage)
mygptreader_config-web-1 | The server responded with: {'ok': False, 'error': 'channel_not_found'}
mygptreader_config-web-1 | ERROR:root:The request to the Slack API failed. (url: https://www.slack.com/api/chat.postMessage)
mygptreader_config-web-1 | The server responded with: {'ok': False, 'error': 'channel_not_found'}
mygptreader_config-web-1 | ERROR:root:The request to the Slack API failed. (url: https://www.slack.com/api/chat.postMessage)
mygptreader_config-web-1 | The server responded with: {'ok': False, 'error': 'channel_not_found'}
mygptreader_config-web-1 | ERROR:root:The request to the Slack API failed. (url: https://www.slack.com/api/chat.postMessage)
mygptreader_config-web-1 | The server responded with: {'ok': False, 'error': 'channel_not_found'}
mygptreader_config-web-1 | ERROR:root:The request to the Slack API failed. (url: https://www.slack.com/api/chat.postMessage)
mygptreader_config-web-1 | The server responded with: {'ok': False, 'error': 'channel_not_found'}
mygptreader_config-web-1 | ERROR:root:The request to the Slack API failed. (url: https://www.slack.com/api/chat.postMessage)
mygptreader_config-web-1 | The server responded with: {'ok': False, 'error': 'channel_not_found'}
mygptreader_config-web-1 | ERROR:root:The request to the Slack API failed. (url: https://www.slack.com/api/chat.postMessage)
mygptreader_config-web-1 | The server responded with: {'ok': False, 'error': 'channel_not_found'}
mygptreader_config-web-1 | ERROR:root:The request to the Slack API failed. (url: https://www.slack.com/api/chat.postMessage)
mygptreader_config-web-1 | The server responded with: {'ok': False, 'error': 'channel_not_found'}
mygptreader_config-web-1 | INFO:apscheduler.executors.default:Job "schedule_news (trigger: cron[hour='1', minute='30'], next run at: 2023-04-06 01:30:00 UTC)" executed successfully
mygptreader_config-web-1 | INFO:slack_bolt.RequestVerification:Invalid request signature detected (signature: , timestamp: 0, body: {"text":"Hello, world!"})
@ericbize log 在哪里呢。。我刚才又试了下,还有另外一个提示“The server couldn’t be reached at your request URL”,但是换成 1989 就是另外的提示,感觉应该就是端口不通
@jackyzy823
我在仓库的 repo 上面补充了 slack 上面的提示信息,之前没注意到,除了“Your URL didn't respond”之外,还有一个错误提示“The server couldn’t be reached at your request URL”。
截图:
https://user-images.githubusercontent.com/1762074/229986482-4227abab-4a4c-475a-8e00-820de3f85e15.png

但是我把端口换成 1989 ,这个是我在 vps 上启动的 gost 服务的端口,这时提示就是“Your URL didn't respond with the value of the challenge parameter”,同时,上面的提示信息是“Your request URL responded with an HTTP error. Update your URL to receive a new request and challenge value.”。
截图:
https://user-images.githubusercontent.com/1762074/229986592-36bed70a-f5cb-4afd-a8ed-43ba43c39d21.png

看这个现象,意思就是 1989 能访问到,但是 8080 访问不到,这里是不是只能翻代码了。。。
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3260 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 24ms · UTC 11:51 · PVG 19:51 · LAX 04:51 · JFK 07:51
Developed with CodeLauncher
♥ Do have faith in what you're doing.