504 的错误(都是 timeout ):
Status code | AssertionError: expected response to have status reason 'OK' but got 'CONNECTION TIMED OUT'
JSON response | AssertionError: expected response body to be a valid json but got error Unexpected token '<' at 1:1
Body Values | JSONError: Unexpected token '<' at 1:1 <HEAD><TITLE>Connection Timed Out</TITLE></HEAD> ^
Subscription Field | JSONError: Unexpected token '<' at 1:1 <HEAD><TITLE>Connection Timed Out</TITLE></HEAD> ^
Account type Field | JSONError: Unexpected token '<' at 1:1 <HEAD><TITLE>Connection Timed Out</TITLE></HEAD> ^
409 的错误:
Status code | AssertionError: expected response to have status reason 'OK' but got 'CONNECTION TIMED OUT'
JSON response | AssertionError: expected response body to be a valid json but got error Unexpected token '<' at 1:1
Body Values | JSONError: Unexpected token '<' at 1:1 <HEAD><TITLE>Connection Timed Out</TITLE></HEAD> ^
Subscription Field | JSONError: Unexpected token '<' at 1:1 <HEAD><TITLE>Connection Timed Out</TITLE></HEAD> ^
Account type Field | JSONError: Unexpected token '<' at 1:1 <HEAD><TITLE>Connection Timed Out</TITLE></HEAD> ^
我的环境:
同学的环境:
第一次发帖,如果需要提供更多内容会截图的,拜托了!
1
yuanmomo 326 天前 via iPhone 1
选一个 api ,导出成 curl ,然后加上-v 的参数,debug 看看,是不是连了同一个服务器,然后对比一下两个机器的日志差异先。
|
2
superrichman 325 天前
你开了代理,他没开代理
|
3
Fffys OP 最后,依然不知道问题在哪里,但是换了个网络环境就没有问题了,看来还是网络原因……后来我们做了网速测试,发现我平常的网络环境 gitter 很大但是同学的就很小
|