其他分享
首页 > 其他分享> > 对接大华视频云过程记录

对接大华视频云过程记录

作者:互联网

场景

        创建会话返回失败,抓包报文如下:

POST /videoService/accounts/authorize HTTP/1.1
Host: 133.179.112.168:38498
Accept: */*
Content-Type: application/json;charset=UTF-8
Content-Length: 54

{
"clientType" : "winpc",
"userName" : "test"
}
HTTP/1.1 302 Moved Temporarily
Server: openresty/1.11.2.1
Date: Tue, 01 Dec 2020 03:19:27 GMT
Content-Type: text/html
Content-Length: 167
Connection: keep-alive
X-LC-RequestId: 8000000000000000-4f6713a0de7b1d61e26afe28064b6fa2
Location: http://133.179.113.139:6406/videoService/accounts/authorize

<html>
<head><title>302 Found</title></head>
<body bgcolor="white">
<center><h1>302 Found</h1></center>
<hr><center>openresty/1.11.2.1</center>
</body>
</html>

排查过程

1)怀疑是用户名和密码错误(其他对接平台也在使用,排除掉这个因素)

2)IP地址确定也没有问题

3)采用重定向的IP地址,发现连接失败

结论

        需要大华现场配合解决


标签:视频,HTTP,1.11,对接,Length,IP地址,大华,videoService,133.179
来源: https://blog.51cto.com/fengyuzaitu/2583397