wechaty: [ci] execute proxyWechaty(init) error: 503, init() without a ready angular env

✖ test › puppet-web › bridge › WechatyBro.ding() exception: execute proxyWechaty(init) error: 503, init() without a ready angular env
  1. https://travis-ci.org/Chatie/wechaty/jobs/211306521#L811
  2. https://travis-ci.org/Chatie/wechaty/jobs/211306523#L811
  3. https://travis-ci.org/Chatie/wechaty/jobs/211306375#L808
  4. https://travis-ci.org/Chatie/wechaty/jobs/211252499#L811
  5. https://travis-ci.org/Chatie/wechaty/jobs/212333837#L845

Potential Possible Solutions:

  1. use initAsync to replace init in WechatyBro, and retry 3 times, wait 300ms each time.

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 16 (13 by maintainers)

Commits related to this issue

Most upvoted comments

不行啊,docker运行还是会报这个错

@zixia bro , i had exprience this problem too , it seems docker’s network is unstable. after this error raise , i login to container docker exec -it robot_test bash

ping wx.qq.com , it’s ok

bash-4.3# ping wx.qq.com
PING wx.qq.com (101.227.160.102): 56 data bytes
64 bytes from 101.227.160.102: seq=0 ttl=37 time=0.342 ms
64 bytes from 101.227.160.102: seq=1 ttl=37 time=0.386 ms
64 bytes from 101.227.160.102: seq=2 ttl=37 time=0.370 ms
64 bytes from 101.227.160.102: seq=3 ttl=37 time=0.292 ms

ping qq.com , it’s bad address

bash-4.3# ping qq.com
ping: bad address 'qq.com'

ping baidu.com , it’s bad address also.

then, i cat /etc/resolv.conf

bash-4.3# cat /etc/resolv.conf
# Generated by dhcpcd from eth0.dhcp
# /etc/resolv.conf.head can replace this line
nameserver 192.168.65.1
# /etc/resolv.conf.tail can replace this line
nameserver 114.114.114.114
nameserver 114.114.115.115

even more, i sepecify dns on docker run container with --dns=114.114.114.114 , and cat the resolv.conf

bash-4.3# cat /etc/resolv.conf
nameserver 114.114.114.114
nameserver 114.114.114.114
nameserver 114.114.115.115

the problem still the same as above.(qq.com and baidu.com is bad address) even the wx.qq.com is bad too