Cypress技术论坛
直播中

周奕

8年用户 176经验值
私信 关注
[问答]

dk-5.2.0:snip.https_client测试失败

HTTPS1客户端测试失败:
解析HTTPS服务器的IP地址
服务器位于54.243.145.223μ
获得“…”
从DCT中读取证书密钥
NETCONNION STARCtiON TLS
失败:4
注意,它在SDK-5.1中工作,所以这显然是一个回归。

以上来自于百度翻译


     以下为原文
  The https_client test fails:

Resolving IP address of HTTPS server␍␊
Server is at 54.243.145.223␍␊
Getting '/'...␍␊
Read the certificate Key from DCT␍␊
netconn_connect start_tls
Get failed: 4␍

Note, it was working in sdk-5.1, so this is clearly a regression.

回帖(13)

徐夕武

2018-12-26 16:10:30
错误已经被重放,我已经在这上面发了一张票。我发现的错误代码是MabtLsSyrErsSLyFATALIAL TraveType消息。

以上来自于百度翻译


     以下为原文
  Error has been reproduced and I have raised a ticket on this. The error code I found was MBEDTLS_ERR_SSL_FATAL_ALERT_MESSAGE.
举报

肖晓新

2018-12-26 16:16:04
我能够从Wice 5.1复制HTTPS15客户端到我的Wice 5.2存储库中,这很好。除了访问的网站和CA证书,代码几乎是相同的。www. GooGel.com(Wice 5.1)取代了www. GooGel.com。我怀疑如果您得到一个新的CA证书从www. HutpBi.Org,将解决这个问题,但还有另一个问题与TLS在Wice 5.2。在我下载了大约200 KB之后,数据就被损坏了。我在Wice 5.1中运行同样的代码,我可以下载一个完整的MB系统映像并引导进去。

以上来自于百度翻译


     以下为原文
  I was able to copy https_client from WICED 5.1 into my WICED 5.2 repository and that worked fine. The code is pretty much the same except for the website that is accessed and the CA certificate. www.httpbin.org replaced www.google.com(WICED 5.1). I suspect if you get a new CA certificate from www.httpbin.org that would fix this issue, but there is another problem with TLS in WICED 5.2. After I download about 200 KB the data becomes corrupted. I run the same exact code in WICED 5.1 and I can download a full half MB system image and boot into it.
举报

周奕

2018-12-26 16:21:08
引用: billow33 发表于 2018-12-26 11:53
我能够从Wice 5.1复制HTTPS15客户端到我的Wice 5.2存储库中,这很好。除了访问的网站和CA证书,代码几乎是相同的。www. GooGel.com(Wice 5.1)取代了www. GooGel.com。我怀疑如果您得到一个新的CA证书从www. HutpBi.Org,将解决这个问题,但还有另一个问题与TLS在Wice 5.2。在我下载了大约200 KB之后,数据就被损坏了。我 ...

韦斯特斯特里克写道:
我能够从Wice 5.1复制HTTPS15客户端到我的Wice 5.2存储库中,这很好。除了访问的网站和CA证书,代码几乎是相同的。www. GooGel.com(Wice 5.1)取代了www. GooGel.com。我怀疑如果您得到一个新的CA证书从www. HutpBi.Org,将解决这个问题,但还有另一个问题与TLS在Wice 5.2。在我下载了大约200 KB之后,数据就被损坏了。我在Wice 5.1中运行同样的代码,我可以下载一个完整的MB系统映像并引导进去。
谢谢测试。
SDK-5.2中的TLS存在一些问题。
我还在等待修复或下一次发布。
但我有点紧张,什么时候可以修复,因为这样的问题SDK-5.2不能使用。

以上来自于百度翻译


     以下为原文
  
webmstreric wrote:
 
I was able to copy https_client from WICED 5.1 into my WICED 5.2 repository and that worked fine. The code is pretty much the same except for the website that is accessed and the CA certificate. www.httpbin.org replaced www.google.com(WICED 5.1). I suspect if you get a new CA certificate from www.httpbin.org that would fix this issue, but there is another problem with TLS in WICED 5.2. After I download about 200 KB the data becomes corrupted. I run the same exact code in WICED 5.1 and I can download a full half MB system image and boot into it.
Thanks for testing it.
There are some issues with TLS in SDK-5.2.
I'm still waiting for the fix or next release.
But I'm a little bit nervous about when will the fix available because with such issue SDK-5.2 cannot be used.
举报

徐夕武

2018-12-26 16:37:25
引用: uwueyvwew 发表于 2018-12-26 11:58
韦斯特斯特里克写道:
我能够从Wice 5.1复制HTTPS15客户端到我的Wice 5.2存储库中,这很好。除了访问的网站和CA证书,代码几乎是相同的。www. GooGel.com(Wice 5.1)取代了www. GooGel.com。我怀疑如果您得到一个新的CA证书从www. HutpBi.Org,将解决这个问题,但还有另一个问题与TLS在Wice 5.2。在我下载了大约200 KB之后 ...

这个剪辑已经从WSDE SDK 6中移除。它使用了被HTSNPH客户端库所取代,并被SNIP.HtpBiNo.Org所使用的HTTPX客户端所取代。

以上来自于百度翻译


     以下为原文
  This snip has been removed from WICED SDK 6.0 onwards. It used the https_client library which has been deprecated and replaced by HTTP_client used by snip.httpbin_org.
举报

更多回帖

发帖
×
20
完善资料,
赚取积分