订阅不接收时间轴通知 [英] Subscriptions Not Receiving Timeline Notifications

查看:81
本文介绍了订阅不接收时间轴通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

重现步骤(粗体的异常行为):

Steps to Reproduce (unexpected behavior in bold):

  1. 我通过Python Starter App成功创建了应用联系人
  2. 我成功订阅了时间轴通知
  3. 我用Glass拍照
  4. 我与我的应用联系人分享了这张照片
  5. 照片在时间轴上重复
  6. 该应用程序的callbackUrl从未被ping通(但通过curl手动发布可以正常工作)
  7. 尝试删除重复的照片卡会使Glass OS出现故障,直到重新启动为止
  1. I successfully create an app contact via the Python Starter App
  2. I successfully subscribe to timeline notifications
  3. I take a photo with Glass
  4. I share that photo with my app contact
  5. The photo is duplicated on the timeline
  6. The app's callbackUrl is never pinged (yet POSTing manually via curl works fine)
  7. Attempting to delete the duplicated photo card makes the Glass OS glitch out until reboot

推荐答案

发布一些带有实际URL的示例代码可能有助于我们发现可能的错误,但是在调试时可能要注意两件事:

Posting some sample code with actual URLs may help us spot a possible error, but two things you may want to look into as you're debugging:

  1. 请不要忘记您联系人中的URL必须是HTTPS. 不支持HTTP URL.

  1. Don't forget that the URL in your contact must be HTTPS. HTTP URLs are not supported.

检查创建联系人时返回的联系人对象.可能值得检查以确保URL和其他所有内容都符合您的预期,然后针对该URL进行测试.

Check the contact object that is returned when you create the contact. It may be worth checking to make sure the URL and everything else is as you expect it to be... and then test against THAT URL.

在这种情况下,您还能澄清一下毛刺"是什么意思吗?

Can you also clarify what you mean by "glitch out" in this case?

这篇关于订阅不接收时间轴通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆