-
-
Notifications
You must be signed in to change notification settings - Fork 613
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OLAINDEX访问500错误解决方法 #404
Comments
访问资源频率过高,导致的网络响应超时 |
就相当于正常的文件目录去访问文件,还是经常报500 |
这里有一份错误日志你可以看下 |
这里看应该是访问超时,国际版的账号访问连接确实会存在一些问题,可以调整超时时间和重试次数 OLAINDEX/app/Service/GraphClient.php Line 121 in 5abac5e
OLAINDEX/app/Service/GraphRequest.php Line 217 in 5abac5e
OLAINDEX/app/Service/GraphRequest.php Line 216 in 5abac5e
|
|
Line 121 in 5abac5e ->setTimeout(10) Line 217 in 5abac5e $curl->setConnectTimeout(10); Line 216 in 5abac5e $curl->setRetry(5); |
更新到最新版,一般不会再报错500 |
你好,使用docker安装之后,前台各功能正常,进入后台输入完密码,就报错500.在查看上述解决方案之后,依然无法解决。 |
/app/app/Helpers/Tool.php 第94行如下:
|
调试发现导致500的出处请求api {
"errorCode": 400,
"errorMessage": "HTTP/1.1 400 Bad Request",
"request": {
"client_id": "xxx",
"client_secret": "xxx",
"redirect_uri": "https://xxx/callback",
"refresh_token": "xxxx",
"grant_type": "refresh_token"
},
"response": {
"error": "invalid_grant",
"error_description": "AADSTS70000: The user could not be authenticated or user interaction is required. The user must sign in again and if needed grant the client application access to the requested scope.\r\nTrace ID: xxx\r\nCorrelation ID: xxx\r\nTimestamp: 2022-09-02 03:53:09Z",
"error_codes": [70000],
"timestamp": "2022-09-02 03:53:09Z",
"trace_id": "xxx",
"correlation_id": "xxx",
"error_uri": "https://login.microsoftonline.com/error?code=70000"
}
} 到文档查看这样描述:
|
1. 该问题的重现步骤是什么?
正常请求访问文件,老是报500,后台不会报500
2. 你期待的结果是什么?实际看到的又是什么?
期待尽快修复
3. 问题出现的环境
The text was updated successfully, but these errors were encountered: