简体   繁体   English

名为 Autodesk.Viewing.Collaboration 的扩展在 Forge Viewer 中无法正常工作?

[英]The extension called Autodesk.Viewing.Collaboration is not working correctly in Forge Viewer?

I normally quoted Autodesk.Viewing.Collaboration in the js file, and I can see the sharing button in the toolbar, but when I clicked to start viewing, the following error message appeared on the page:我平时在js文件中引用了Autodesk.Viewing.Collaboration,在工具栏中可以看到分享按钮,但是当我点击开始查看时,页面出现如下错误提示:

Access to XMLHttpRequest at 'https://rtc.api.autodesk.com/socket.io/?sessionID=https://developer.api.autodesk.com/derivativeservice/v2/derivatives/urn:adsk.viewing:fs.file:***/output/&EIO=3&transport=polling&t=1605086974047-0' from origin 'http://example.com:10080' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource."

When I used this function before, it was normal.我之前用这个功能的时候是正常的。 I can't understand the current situation.我无法理解现在的情况。 Can someone help me answer my doubts?有人可以帮我解答疑惑吗? How can I handle this situation instead?我该如何处理这种情况? And after the sharing behavior is issued, if can I actively control the cancellation of sharing?以及分享行为发出后,是否可以主动控制取消分享?

Note that this was not a CORS issue.请注意,这不是 CORS 问题。 The collaboration service host ( https://rtc.api.autodesk.com ) was temporarily down, and is now back online.协作服务主机 ( https://rtc.api.autodesk.com ) 暂时关闭,现在重新联机。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM