Google Channel API - 套接字未在某些客户端上打开
我一直在使用 XMPP 服务和通道服务开发一个简单的聊天应用程序。我已经能够让它在家里正常运行了。但是,当其他用户尝试访问该站点时,不会调用 onOpen 回调方法。我已经使用 FireFox 3.6+ 和 Chrome 在不同地点尝试过它,它对我很有效(在家、工作时)。
如果用户从工作位置访问它,系统管理员是否可能阻止它?或者可能是正在使用的浏览器?我让这个人尝试使用 FireFox 和 Chrome。我不在那里,所以我不确定使用的是哪个浏览器版本。 IE 不适合我,所以我不关心那个。
任何见解都将受到高度赞赏。
I've been developing a simple chat application using the XMPP Service and the Channel service. I've been able to get it functioning correctly at home. However, when another user tries to access the site, the onOpen callback method is not being called. I've tried it from various locations using FireFox 3.6+ and Chrome and it has worked for me(at home, at work).
Is it possible that this is being blocked by a system administrator if the user is accessing it from a work location? Or could it be the browser being used? I had this person try with FireFox and Chrome. I wasn't there so I'm not certain which browser version was used. IE hasn't worked for me so I'm not concerned with that one.
Any insight is greatly appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
唔。由于 Channel API 使用 Google Talk 基础设施,并且 iframe 指向 Google Talk 前端,因此即使主应用程序没有被阻止,Channel API 也可能被管理员阻止。具体来说,如果代理阻止 talkgadget.google.com,则 Channel API 将无法加载。
我在此处为此创建了一个功能请求:http://code.google。 com/p/googleappengine/issues/detail?id=4764,请随时投票。
Hmm. Since the Channel API uses Google Talk infrastructure, and an iframe pointed at the Google Talk frontends, the Channel API could be blocked by an administrator even if the main app isn't blocked. Specifically if a proxy is blocking talkgadget.google.com, the Channel API will fail to load.
I created a feature request for this here: http://code.google.com/p/googleappengine/issues/detail?id=4764, feel free to vote it up.