Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

答题页面不显示? #12

Closed
flyshu opened this issue Jan 24, 2018 · 6 comments
Closed

答题页面不显示? #12

flyshu opened this issue Jan 24, 2018 · 6 comments

Comments

@flyshu
Copy link

flyshu commented Jan 24, 2018

执行npm run robot之后,进入答题 只显示背景色,30s后提示timeout?

@zhuweiyou
Copy link
Owner

zhuweiyou commented Jan 24, 2018

这应该是没有配置好代理,或者证书没装好。你检查下。最好提供下终端的 LOG 截图

好了以后,杀掉游戏进程再进

@flyshu
Copy link
Author

flyshu commented Jan 24, 2018

[AnyProxy Log][2018-01-24 21:13:18]: received https CONNECT request wx.qlogo.cn
[AnyProxy Log][2018-01-24 21:13:18]: will forward to local https server
[AnyProxy Log][2018-01-24 21:13:19]: [internal https]proxy server for wx.qlogo.cn established
[AnyProxy Log][2018-01-24 21:13:19]: received request to: GET wx.qlogo.cn/mmopen/vi_32/DYAIOgq83erONCy5fvOX0CJShYzquY8ibQlz5qke9pjicibO3Qq0SXvIm28ic6EFaEf8DFUkjnFxEzvkbAiaZzs1ibew/0
[AnyProxy Log][2018-01-24 21:13:23]: received https CONNECT request question.hortor.net
[AnyProxy Log][2018-01-24 21:13:23]: will forward to local https server
[AnyProxy Log][2018-01-24 21:13:23]: received request to: POST question.hortor.net/question/bat/findQuiz
[题目信息] {"quiz":"在对手没有犯规的情况下,斯诺克单杆最高得分是?","options":["255分","44分","147分","100分"],"num":1,"school":"流行","type":"体育","typeID":18,"contributor":"","partner":0,"endTime":1516799615,"curTime":1516799601,"myBuff":{}}
(node:8292) DeprecationWarning: Mongoose: mpromise (mongoose's default promise library) is deprecated, plug in your own promise library instead: http://mongoosejs.com/docs/promises.html
[AnyProxy Log][2018-01-24 21:13:31]: received https CONNECT request question.hortor.net
[AnyProxy Log][2018-01-24 21:13:31]: will forward to local https server
[AnyProxy Log][2018-01-24 21:13:31]: received request to: POST question.hortor.net/question/bat/findQuiz
[题目信息] {"quiz":"在对手没有犯规的情况下,斯诺克单杆最高得分是?","options":["255分","44分","147分","100分"],"num":1,"school":"流行","type":"体育","typeID":18,"contributor":"","partner":0,"endTime":1516799615,"curTime":1516799610,"myBuff":{}}

@flyshu
Copy link
Author

flyshu commented Jan 24, 2018

pc上能刷新出题目 代理应该没问题 但不知道微信端为什么会timeout

@zhuweiyou
Copy link
Owner

嗯,看起来代理是没问题的

  • 数据库是否连上?
  • node -v 版本多少?

this._quiz = yield QuizModel.findOne({quiz: this._findQuiz.quiz})

在这行代码之后加个 log

console.log(this._quiz)

看下打印结果

@flyshu
Copy link
Author

flyshu commented Jan 25, 2018

感谢。解决了 果然是数据库没有连上的问题,但是没有报错,看了似乎是只有链接成功会有输出,失败反而没有任何提示

@zhuweiyou
Copy link
Owner

我后续加一下 失败的提示。

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants