Skip to content
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

部署运行后流媒体管理和在线设备两个功能不能用 #13

Open
windsfan opened this issue Apr 7, 2021 · 0 comments
Open

Comments

@windsfan
Copy link

windsfan commented Apr 7, 2021

使用提示The remote server returned an error: (400) Bad Request.
WEB日志如下
The remote server returned an error: (400) Bad Request.
at System.Net.HttpWebRequest.GetResponse()
at YiSha.Util.HttpHelper.HttpGet(String url, Int32 timeout) in /root/AKStreamWebUI1/AKStreamWebUI/YiSha.Util/YiSha.Util/HttpHelper.cs:line 54
at YiSha.Admin.Web.Areas.CameraManage.Controllers.MediaManagerController.MediaServerList(MediaManagerParam param, Pagination pagination) in /root/AKStreamWebUI1/AKStreamWebUI/YiSha.Web/YiSha.Admin.Web/Areas/CameraManage/Controllers/MediaManagerController.cs:line 47
at lambda_method(Closure , Object )
at Microsoft.Extensions.Internal.ObjectMethodExecutorAwaitable.Awaiter.GetResult()
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)

AKStreamWeb日志如下
2021-04-07 11:58:25,447 [24] ERROR AKStream - [AKStreamWeb]->HTTP-AuthVerify ::ffff:172.16.0.12 GET /MediaServer/GetMediaServerList ->授权访问失败,访问密钥不正确
2021-04-07 11:58:25,448 [24] ERROR AKStream - [AKStreamWeb]->HTTP-OUTPUT->::ffff:172.16.0.12->GET->/MediaServer/GetMediaServerList->StatusCode:200->Object reference not set to an instance of an object.-> at AKStreamWeb.Attributes.LogAttribute.OnActionExecuted(ActionExecutedContext context) in /home/media/AKStream/AKStreamWeb/Attributes/LogAttribute.cs:line 43
在配置文件里没有找到有配置AccessKey的地方,请指教

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant