C# 通知操作始终返回状态代码293:回调URL不存在或不正确

C# 通知操作始终返回状态代码293:回调URL不存在或不正确,c#,.net,asp.net-mvc,asp.net-web-api,withings,C#,.net,Asp.net Mvc,Asp.net Web Api,Withings,我正在使用 一切正常。然后,我尝试并能够成功订阅通知,还可以获取、列出和撤销通知 使用相同的源代码,1天后,通知API(操作:订阅、获取、撤销)总是以状态代码293响应我:回调URL不存在或不正确 但是(操作:列表)始终为我提供状态:0,以及其他信息,其中还包括作为用户订阅结果列表的通知回调url 我已经检查了三个操作(操作:subscribe、get、revoke)的通知回调url,并将其添加到这里,以便大家也可以看到 另请注意,我的通知回调url未超过255个字符 编码url: https:

我正在使用

一切正常。然后,我尝试并能够成功订阅通知,还可以获取、列出和撤销通知

使用相同的源代码,1天后,通知API(操作:订阅、获取、撤销)总是以状态代码293响应我:回调URL不存在或不正确

但是(操作:列表)始终为我提供状态:0,以及其他信息,其中还包括作为用户订阅结果列表的通知回调url

我已经检查了三个操作(操作:subscribe、get、revoke)的通知回调url,并将其添加到这里,以便大家也可以看到

另请注意,我的通知回调url未超过255个字符

编码url:

https://wbsapi.withings.net/notify?action=revoke&userid=7354839&callbackurl=http%3A%2F%2Fwww.myrealIpdomain.com%2FRPWearableIntegrationAPI%2Fapi%2FWithingsAPI%2FNotificationCallBack&oauth_consumer_key=c899ec52892c37097893c561f43c3104c72f33c82509d1881471bb3d&oauth_nonce=3d0j1rt6&oauth_signature=Fnm1or9%2BhtIaee7bJ5ylGS3kwjM%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1431431635&oauth_token=4e871c205fd1b3717db34d088e632ed6c9ce01854f6dcdc05c79e325640&oauth_version=1.0
https://wbsapi.withings.net/notify?action=subscribe&userid=7354839&callbackurl=http://www.myrealIpdomain.com/RPWearableIntegrationAPI/api/WithingsAPI/NotificationCallBack&comment=NotificationDescriptionM2SYS&appli=1&oauth_consumer_key=c899ec52892c37097893c561f43c3104c72f33c82509d1881471bb3d&oauth_nonce=6rx29eh0&oauth_signature=DNntmrO/+zYUgRIuR4yzPKezpY8=&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1431435259&oauth_token=4e871c205fd1b3717db34d088e632ed6c9ce01854f6dcdc05c79e325640&oauth_version=1.0
解码url:

https://wbsapi.withings.net/notify?action=revoke&userid=7354839&callbackurl=http%3A%2F%2Fwww.myrealIpdomain.com%2FRPWearableIntegrationAPI%2Fapi%2FWithingsAPI%2FNotificationCallBack&oauth_consumer_key=c899ec52892c37097893c561f43c3104c72f33c82509d1881471bb3d&oauth_nonce=3d0j1rt6&oauth_signature=Fnm1or9%2BhtIaee7bJ5ylGS3kwjM%3D&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1431431635&oauth_token=4e871c205fd1b3717db34d088e632ed6c9ce01854f6dcdc05c79e325640&oauth_version=1.0
https://wbsapi.withings.net/notify?action=subscribe&userid=7354839&callbackurl=http://www.myrealIpdomain.com/RPWearableIntegrationAPI/api/WithingsAPI/NotificationCallBack&comment=NotificationDescriptionM2SYS&appli=1&oauth_consumer_key=c899ec52892c37097893c561f43c3104c72f33c82509d1881471bb3d&oauth_nonce=6rx29eh0&oauth_signature=DNntmrO/+zYUgRIuR4yzPKezpY8=&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1431435259&oauth_token=4e871c205fd1b3717db34d088e632ed6c9ce01854f6dcdc05c79e325640&oauth_version=1.0
我想不起来我错过了什么?如果有人能找到任何帮助或信息,我们将不胜感激


此外,我无法获得任何关于Withings integration developer论坛的url。如果有人知道,你也可以帮助我。

这似乎不是问题所在,但无论如何,如果有人通过谷歌进入此页面,请分享。我刚刚遇到了同样令人费解的错误,使用常规HTTP而不是HTTPS作为回调URL为我修复了它。似乎是一个错误的结尾。无论如何,回调不包含任何敏感数据,因此尽管令人恼火,但这似乎并不是主要的阻碍因素。

我也遇到了这个问题。使用HTTP和url编码地址没有帮助

事实证明,Withings API需要快速响应(不到1秒?),而通过ngrok隧道传输的本地flask服务器的响应速度不够快。我通过在flask服务器中启用线程解决了这个问题

app.run(port=8080, debug=True, threaded=True)

你发现什么了吗?没有。由于需求的变化,我忽略了订阅部分。