alibaba / macaca

Automation solution for multi-platform. 多端自动化解决方案
https://macacajs.github.io
MIT License
3.16k stars 418 forks source link

fetch fail #995

Closed Tian-YJ closed 3 years ago

Tian-YJ commented 3 years ago

errormessage: coverage failed: data:

fetch http://127.0.0.1:5678/api/sdk/switch_all_scenes fail because of 'request to http://127.0.0.1:5678/api/sdk/switch_all_scenes failed, reason: connect ECONNREFUSED 127.0.0.1:5678', will retry after 3000ms, retry count: 5 fetch http://127.0.0.1:5678/api/sdk/switch_all_scenes fail because of 'request to http://127.0.0.1:5678/api/sdk/switch_all_scenes failed, reason: connect ECONNREFUSED 127.0.0.1:5678', will retry after 3000ms, retry count: 4 fetch http://127.0.0.1:5678/api/sdk/switch_all_scenes fail because of 'request to http://127.0.0.1:5678/api/sdk/switch_all_scenes failed, reason: connect ECONNREFUSED 127.0.0.1:5678', will retry after 3000ms, retry count: 3 fetch http://127.0.0.1:5678/api/sdk/switch_all_scenes fail because of 'request to http://127.0.0.1:5678/api/sdk/switch_all_scenes failed, reason: connect ECONNREFUSED 127.0.0.1:5678', will retry after 3000ms, retry count: 2 fetch http://127.0.0.1:5678/api/sdk/switch_all_scenes fail because of 'request to http://127.0.0.1:5678/api/sdk/switch_all_scenes failed, reason: connect ECONNREFUSED 127.0.0.1:5678', will retry after 3000ms, retry count: 1

code: image

xudafeng commented 3 years ago

@Tian-YJ 可以参考这个工程

https://github.com/app-bootstrap/web-app-bootstrap/tree/master/test

macaca-bot commented 3 years ago

This is the translated issue comment: @xudafeng


@ Tian-YJ can refer to this project

Https://github.com/app-bootstrap/weB-app-bootstrap/tree/master/test

Tian-YJ commented 3 years ago

@Tian-YJ 可以参考这个工程

https://github.com/app-bootstrap/web-app-bootstrap/tree/master/test

OK, thanks for your replay ,I 'll try it

macaca-bot commented 3 years ago

This is the translated issue comment: @Tian-YJ


@ Tian-YJ can refer to this project

https://github.com/app-bootstrap/weB-app-bootstrap/tree/master/test

OK, Thanks for your replay, I 'LL Try IT

Tian-YJ commented 3 years ago

I have another question,that are : 1) how to confirm the test list is can be use or success working 2) image where can check it ,I can't see that in the document

so,about those question ,can you help me;

and you can find me in the office chat ---dingding

hope your replay

Tian-YJ commented 3 years ago

errormessage: coverage failed: data:

fetch http://127.0.0.1:5678/api/sdk/switch_all_scenes fail because of 'request to http://127.0.0.1:5678/api/sdk/switch_all_scenes failed, reason: connect ECONNREFUSED 127.0.0.1:5678', will retry after 3000ms, retry count: 5 fetch http://127.0.0.1:5678/api/sdk/switch_all_scenes fail because of 'request to http://127.0.0.1:5678/api/sdk/switch_all_scenes failed, reason: connect ECONNREFUSED 127.0.0.1:5678', will retry after 3000ms, retry count: 4 fetch http://127.0.0.1:5678/api/sdk/switch_all_scenes fail because of 'request to http://127.0.0.1:5678/api/sdk/switch_all_scenes failed, reason: connect ECONNREFUSED 127.0.0.1:5678', will retry after 3000ms, retry count: 3 fetch http://127.0.0.1:5678/api/sdk/switch_all_scenes fail because of 'request to http://127.0.0.1:5678/api/sdk/switch_all_scenes failed, reason: connect ECONNREFUSED 127.0.0.1:5678', will retry after 3000ms, retry count: 2 fetch http://127.0.0.1:5678/api/sdk/switch_all_scenes fail because of 'request to http://127.0.0.1:5678/api/sdk/switch_all_scenes failed, reason: connect ECONNREFUSED 127.0.0.1:5678', will retry after 3000ms, retry count: 1

code: image

@xudafeng @fengmk2 @antife-yinyue Thanks for your replay.but it still doesn't work, accounding to error return,I guess maybe the sdk set something so do you have any other method to solve this problem