chatop2020 / AKStream

AKStream是一套全平台(Linux,MacOS,Windows)、全架构(X86_64,Arm...)、全功能的流媒体管理控制接口平台。集成GB28181,RTSP,RTMP,HTTP等设备推拉流控制、PTZ控制、音视频文件录制管理、音视频文件裁剪合并等功能与一体
MIT License
1.17k stars 327 forks source link

访问流媒体服务器WebApi接口返回数据异常 #89

Closed zyfalading closed 3 months ago

zyfalading commented 4 months ago

ERROR AKStream - [AKStreamWeb]->HTTP-OUTPUT->172.17.0.1->GET->/MediaServer/ListRtpServer->StatusCode:200->Object reference not set to an instance of an object.-> at AKStreamWeb.Attributes.LogAttribute.OnActionExecuted(ActionExecutedContext context) in /src/AKStreamWeb/Attributes/LogAttribute.cs:line 42 2024-06-28 15:23:46,977 [76] ERROR AKStream - [AKStreamWeb]->HTTP-OUTPUT->172.17.0.1->GET->/MediaServer/ListRtpServer->StatusCode:400->Body: {"Code":"MediaServer_WebApiDataExcept","Message":"访问流媒体服务器WebApi接口返回数据异常","ExceptMessage":"\r\n405 Not Allowed\r\n\r\n

405 Not Allowed

\r\n
nginx/1.20.1
\r\n\r\n\r\n","ExceptStackTrace":"null"}

chatop2020 commented 3 months ago

报错肯定有报错的原因,405应该是未授权,或其他什么情况,你应该是部署没成功,建议再检查一下