Hanson / vbot

微信,企微,机器人,企业微信,企微机器人,微信机器人,小红书,美团,美团爬虫,聚合聊天,RPA,协议,hook,逆向,群发,自动回复,chatgpt,API对接,稳定防封全语言通用,企业定制/SCRM/SAAS专用
MIT License
4.06k stars 711 forks source link

PHP Fatal error: Uncaught Hanson\Vbot\Exceptions\InitFailException: Init failed. #215

Open cikiChe opened 7 years ago

cikiChe commented 7 years ago

PHP Fatal error: Uncaught Hanson\Vbot\Exceptions\InitFailException: Init failed. in /www/web/vboot/public_html/vot/my-vbot/vendor/hanson/vbot/src/Core/Server.php:245 Stack trace:

0 [internal function]: Hanson\Vbot\Core\Server->Hanson\Vbot\Core{closure}(Array, 0, Array, Array, Array, '', '', 0, 0, 0, 0, 0, Array, 0)

1 /www/web/vboot/public_html/vot/my-vbot/vendor/hanson/vbot/src/Core/ApiExceptionHandler.php(18): call_user_func_array(Object(Closure), Array)

2 /www/web/vboot/public_html/vot/my-vbot/vendor/hanson/vbot/src/Core/Server.php(246): Hanson\Vbot\Core\ApiExceptionHandler::handle(Array, Object(Closure))

3 /www/web/vboot/public_html/vot/my-vbot/vendor/hanson/vbot/src/Core/Server.php(38): Hanson\Vbot\Core\Server->init()

4 /www/web/vboot/public_html/vot/my-vbot/Example.php(50): Hanson\Vbot\Core\Server->serve()

5 /www/web/vboot/public_html/vot/my-vbot/run.php(9): Hanson\MyVbot\Example->run()

6 {main}

thrown in /www/web/vboot/public_html/vot/my-vbot/vendor/hanson/vbot/src/Core/Server.php on line 245 PHP Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalErrorException: Uncaught Hanson\Vbot\Exceptions\InitFailException: Init failed. in /www/web/vboot/public_html/vot/my-vbot/vendor/hanson/vbot/src/Core/Server.php:245 Stack trace:

0 [internal function]: Hanson\Vbot\Core\Server->Hanson\Vbot\Core{closure}(Array, 0, Array, Array, Array, '', '', 0, 0, 0, 0, 0, Array, 0)

1 /www/web/vboot/public_html/vot/my-vbot/vendor/hanson/vbot/src/Core/ApiExceptionHandler.php(18): call_user_func_array(Object(Closure), Array)

2 /www/web/vboot/public_html/vot/my-vbot/vendor/hanson/vbot/src/Core/Server.php(246): Hanson\Vbot\Core\ApiExceptionHandler::handle(Array, Object(Closure))

3 /www/web/vboot/public_html/vot/my-vbot/vendor/hanson/vbot/src/Core/Server.php(38): Hanson\Vbot\Core\Server->init()

4 /www/web/vboot/public_html/vot/my-vbot/Example.php(50): Hanson\Vbot\Core\Server->serve()

5 /www/web/vboot/public_html/vot/my-vbot/run.php(9): Hanson\MyVbot\Example->run()

6 {main}

thrown in /www/web/vboot/public_html/vot/my-vbot/vend in /www/web/vboot/public_html/vot/my-vbot/vendor/hanson/vbot/src/Core/Server.php on line 245

cikiChe commented 7 years ago

this log is [2017-09-20 18:42:19] vbot.ERROR: Init failed.{"Ret":1101,"ErrMsg":""}

cikiChe commented 7 years ago

logout

cikiChe commented 7 years ago

好吧,这个只能多次扫描去解决这个问题了

Hanson commented 7 years ago

@466934322 其实不是,是某个值存在某些特殊符号就会出现,几率性,还没修复

jasonzhouu commented 7 years ago

遇到同样的问题

jacky8899 commented 6 years ago

+1 , centos 7

coolsky99 commented 5 years ago

这个问题还没有解决吗 扫了好多次码都不行

ysnows commented 5 years ago

手机上先退出再重新登录就可以了