系统版本:1.4.29
问题描述:在移动端中配置自定义请求,无论是否使用API密钥,配置的任何在API文档中能够查到且能够有效测试的接口,都返回500错误,响应消息均为超时“message":“timeout of 2000ms exceeded”,请问是哪里配置问题?
如图所示,计划做一个调用注销登录的API
系统版本:1.4.29
问题描述:在移动端中配置自定义请求,无论是否使用API密钥,配置的任何在API文档中能够查到且能够有效测试的接口,都返回500错误,响应消息均为超时“message":“timeout of 2000ms exceeded”,请问是哪里配置问题?
如图所示,计划做一个调用注销登录的API
附上request日志记录
{“level”:“info”,“message”:“request POST /api/customRequests:send/hroxnab19uo”,“method”:“POST”,“path”:“/api/customRequests:send/hroxnab19uo”,“req”:{“header”:{“x-role”:“root”,“x-hostname”:“nocoapp.juhui-tech.com”,“x-timezone”:“+08:00”,“x-locale”:“zh-CN”,“x-authenticator”:“basic”}},“app”:“MOFANG”,“reqId”:“68e7936e-7604-4412-8c08-9953691086df”,“timestamp”:“2025-03-11 08:38:46”}
{“level”:“error”,“message”:“response /api/customRequests:send/hroxnab19uo”,“method”:“POST”,“path”:“/api/customRequests:send/hroxnab19uo”,“res”:{“message”:“timeout of 2000ms exceeded”},“action”:{“actionName”:“send”,“resourceName”:“customRequests”,“params”:{“filterByTk”:“hroxnab19uo”,“resourceName”:“customRequests”,“resourceIndex”:“hroxnab19uo”,“actionName”:“send”,“values”:{“currentRecord”:{}}}},“userId”:1,“status”:500,“cost”:2007,“app”:“MOFANG”,“reqId”:“68e7936e-7604-4412-8c08-9953691086df”,“bodySize”:40,“timestamp”:“2025-03-11 08:38:48”}
{“level”:“info”,“message”:“request POST /api/customRequests:send/hroxnab19uo”,“method”:“POST”,“path”:“/api/customRequests:send/hroxnab19uo”,“req”:{“header”:{“x-role”:“root”,“x-hostname”:“nocoapp.juhui-tech.com”,“x-timezone”:“+08:00”,“x-locale”:“zh-CN”,“x-authenticator”:“basic”}},“app”:“MOFANG”,“reqId”:“db2c9e43-e418-4662-ac1e-e8d72d5de96a”,“timestamp”:“2025-03-11 08:42:37”}
{“level”:“error”,“message”:“response /api/customRequests:send/hroxnab19uo”,“method”:“POST”,“path”:“/api/customRequests:send/hroxnab19uo”,“res”:{“message”:“timeout of 2000ms exceeded”},“action”:{“actionName”:“send”,“resourceName”:“customRequests”,“params”:{“filterByTk”:“hroxnab19uo”,“resourceName”:“customRequests”,“resourceIndex”:“hroxnab19uo”,“actionName”:“send”,“values”:{“currentRecord”:{}}}},“userId”:1,“status”:500,“cost”:2008,“app”:“MOFANG”,“reqId”:“db2c9e43-e418-4662-ac1e-e8d72d5de96a”,“bodySize”:40,“timestamp”:“2025-03-11 08:42:39”}
{“level”:“info”,“message”:“request GET /api/myInAppMessages:sse?id=bzzhulj58ju”,“method”:“GET”,“path”:“/api/myInAppMessages:sse?id=bzzhulj58ju”,“req”:{“header”:{“x-role”:“root”,“x-hostname”:“nocoapp.juhui-tech.com”,“x-timezone”:“+08:00”,“x-locale”:“zh-CN”,“x-authenticator”:“basic”}},“app”:“MOFANG”,“reqId”:“49d224e5-f5d6-4ed8-aebb-4dc3733c48b6”,“timestamp”:“2025-03-11 09:09:44”}
/api
前缀。POST
而不是 GET
。可以检查以上两项再试试。
谢谢,我们检查后发现是我们自己的环境问题
请问一下是什么环境问题 我现在也遇到500错误