问题描述
大家好,我运行示例项目时为
(因为我不应该发布链接:https://msdn.microsoft.com/en-us/library/dn435689 .aspx)显示如何在Kinect和网页之间建立连接,拒绝Kinect流的请求( 403 )。
我没有改变任何东西,而且我完全停用了我的防火墙但是当样本页面试图从Kinect获取数据时我总是得到403错误(令人惊讶的是
状态可以请求但不是 strea m )。
我在Windows 8.1上工作并安装了Kinect SDK 1.8并将Kinect插入到USB 3端口(虽然我认为这应该不是问题,因为其他示例应用程序正在运行)
这是控制台输出:
WebserverBasics-WPF.vshost.exe信息:0:请求URI =" http:// localhost:8181 / Kinect / default / stream",client =" :: 1"完成结果:403
" WebserverBasics-WPF.vshost.exe" (Verwaltet(v4.0.30319)):"C:\ Windows \ Mysoftoft .Net\assembly\GAC_32\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a \ System.Web.dll" geladen
WebserverBasics-WPF.vshost.exe信息:0:请求URI =" http:// localhost:8181 / files / SamplePage.html",client =" :: 1"完成结果:200
WebserverBasics-WPF.vshost.exe信息:0:请求URI =" http:// localhost:8181 / files / Images / logo.png",client =" ; :: 1"完成结果:200
WebserverBasics-WPF.vshost.exe信息:0:请求URI =" http:// localhost:8181 / files / Kinect-1.8.0.css",client = QUOT; :: 1"完成结果:200
WebserverBasics-WPF.vshost.exe信息:0:请求URI =" http:// localhost:8181 / files / Kinect-1.8.0.js",client = QUOT; :: 1"完成结果:200
WebserverBasics-WPF.vshost.exe信息:0:请求URI =" http:// localhost:8181 / files / Images / beach.jpg",client =" ; :: 1"完成结果:200
WebserverBasics-WPF.vshost.exe信息:0:请求URI =" http:// localhost:8181 / Kinect / default / stream",client =": :1"完成结果:101
WebserverBasics-WPF.vshost.exe信息:0:请求URI =" http:// localhost:8181 / files / Images / fireworks.jpg",client =" ; :: 1"完成结果:200
WebserverBasics-WPF.vshost.exe信息:0:请求URI =" http:// localhost:8181 / Kinect / default / interaction / client",client =" ; :: 1"完成结果:101
WebserverBasics-WPF.vshost.exe信息:0:请求URI =" http:// localhost:8181 / files / Images / operahouse.jpg",client =" ; :: 1"完成结果:200
WebserverBasics-WPF.vshost.exe信息:0:请求URI =" http:// localhost:8181 / files / Images / hamlet.jpg",client =" ; :: 1"完成结果:200 zh?
" WebserverBasics-WPF.vshost.exe" (Verwaltet(v4.0.30319)):"C:\ Windows \ Microsoft.Net\assembly\GAC_MSIL \ System.Web.Extensions\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.Extensions的.dll" geladen
WebserverBasics-WPF.vshost.exe信息:0:请求URI =" http:// localhost:8181 / Kinect / default / state",client =" :: 1"完成结果:200
WebserverBasics-WPF.vshost.exe信息:0:请求URI =" http:// localhost:8181 / Kinect / default / events",client =": :1"完成结果:101
WebserverBasics-WPF.vshost.exe信息:0:请求URI =" http:// localhost:8181 / files / KinectWorker-1.8.0.js",client = QUOT; :: 1"完成结果:200
WebserverBasics-WPF.vshost.exe信息:0:请求URI =" http:// localhost:8181 / Kinect / default / state",client =": :1"完成结果:200¥
Eine Ausnahme(erste Chance)des Typs" System.UriFormatException" System.dll aufgetreten中的ist。
$
WebserverBasics-WPF.vshost.exe信息:0:请求URI =" http:// localhost:8181 / Kinect / default / stream",client =" ; :: 1"结果完成:403
感谢您的回答!
Hello everybody,
when I run the example project (as I am not supposed to post links: https://msdn.microsoft.com/en-us/library/dn435689.aspx) which shows how to establish a connection between the Kinect and a web page the request for the Kinect stream is denied (403). I did not change anything and also I deactivated my firewall completely but I always get an 403 error when the sample page tries to get data from the Kinect (surprisingly thestate can be requested but not the stream).
I am woking on Windows 8.1 and installed the Kinect SDK 1.8 and the Kinect is plugged into a USB 3 port (although I think this should not be the problem as other sample applications are working)
Here is the console output:
"WebserverBasics-WPF.vshost.exe" (Verwaltet (v4.0.30319)): "C:\Windows\Microsoft.Net\assembly\GAC_32\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll" geladen
WebserverBasics-WPF.vshost.exe Information: 0 : Request for URI="http://localhost:8181/files/SamplePage.html", client="::1" completed with result: 200
WebserverBasics-WPF.vshost.exe Information: 0 : Request for URI="http://localhost:8181/files/Images/logo.png", client="::1" completed with result: 200
WebserverBasics-WPF.vshost.exe Information: 0 : Request for URI="http://localhost:8181/files/Kinect-1.8.0.css", client="::1" completed with result: 200
WebserverBasics-WPF.vshost.exe Information: 0 : Request for URI="http://localhost:8181/files/Kinect-1.8.0.js", client="::1" completed with result: 200
WebserverBasics-WPF.vshost.exe Information: 0 : Request for URI="http://localhost:8181/files/Images/beach.jpg", client="::1" completed with result: 200
WebserverBasics-WPF.vshost.exe Information: 0 : Request for URI="http://localhost:8181/Kinect/default/stream", client="::1" completed with result: 101
WebserverBasics-WPF.vshost.exe Information: 0 : Request for URI="http://localhost:8181/files/Images/fireworks.jpg", client="::1" completed with result: 200
WebserverBasics-WPF.vshost.exe Information: 0 : Request for URI="http://localhost:8181/Kinect/default/interaction/client", client="::1" completed with result: 101
WebserverBasics-WPF.vshost.exe Information: 0 : Request for URI="http://localhost:8181/files/Images/operahouse.jpg", client="::1" completed with result: 200
WebserverBasics-WPF.vshost.exe Information: 0 : Request for URI="http://localhost:8181/files/Images/hamlet.jpg", client="::1" completed with result: 200
"WebserverBasics-WPF.vshost.exe" (Verwaltet (v4.0.30319)): "C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Extensions\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.Extensions.dll" geladen
WebserverBasics-WPF.vshost.exe Information: 0 : Request for URI="http://localhost:8181/Kinect/default/state", client="::1" completed with result: 200
WebserverBasics-WPF.vshost.exe Information: 0 : Request for URI="http://localhost:8181/Kinect/default/events", client="::1" completed with result: 101
WebserverBasics-WPF.vshost.exe Information: 0 : Request for URI="http://localhost:8181/files/KinectWorker-1.8.0.js", client="::1" completed with result: 200
WebserverBasics-WPF.vshost.exe Information: 0 : Request for URI="http://localhost:8181/Kinect/default/state", client="::1" completed with result: 200
Eine Ausnahme (erste Chance) des Typs "System.UriFormatException" ist in System.dll aufgetreten.
WebserverBasics-WPF.vshost.exe Information: 0 : Request for URI="http://localhost:8181/Kinect/default/stream", client="::1" completed with result: 403
Thank you for your answers!
这篇关于Kinect和HTML5 - WebServer问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!