使用maxkb函数库调用应用api报请求超时

请求发生错误: HTTPConnectionPool(host=‘localhost’, port=8080): Max retries exceeded with url: /api/application/chat_message/chai_id (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x7726fc532150>, 'Connection to localhost timed out.

连接超时了,填具体的IP地址,不要用localhost。

我也遇到过这个问题,填入具体地址,也报超时

超时就是网络问题,也就是容器内访问不到你给的这个地址。

使用python脚本可以调用应用,但是用函数库嵌入到高级编排中之后,就会报连接超时