Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

server超时 #101

Open
yangyang723 opened this issue Mar 6, 2017 · 4 comments
Open

server超时 #101

yangyang723 opened this issue Mar 6, 2017 · 4 comments

Comments

@yangyang723
Copy link

把超时时间调大之后,返回java.net.SocketException: Connection reset,系统是windows

@laruence
Copy link
Owner

laruence commented Mar 6, 2017

那你要看看服务端有没有什么错误日志

@yangyang723
Copy link
Author

[06-Mar-2017 14:00:19 PRC] PHP Warning: [Debug Yar_Client 14:0:19.678935]: 1635049513: call api 'doAdd' at (r)'�' with '2' parameters in D:\project\packapi\application\controllers\Test\Test.php on line 33

[06-Mar-2017 14:00:19 PRC] PHP Warning: [Debug Yar_Client 14:0:19.681733]: 1635049513: pack request by 'JSON', result len '46', content: '{"i":1635049513,"m":"doAdd","p":' in D:\project\packapi\application\controllers\Test\Test.php on line 33

@yangyang723
Copy link
Author

如果不放在yaf框架里面是没有问题的,在yaf里面就不能正常访问了

@laruence
Copy link
Owner

laruence commented Mar 6, 2017

这是client的日志, 你要看服务端的日志啊

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

No branches or pull requests

2 participants