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

Fatal error: Uncaught exception 'Pheanstalk_Exception_ServerException' with message 'Unhandled response: HTTP/1.1 400 Bad Request' #50

Closed
behnampmdg3 opened this issue Jul 20, 2014 · 1 comment

Comments

@behnampmdg3
Copy link

Hi,

Why do I get this:

Fatal error: Uncaught exception 'Pheanstalk_Exception_ServerException' with message 'Unhandled response: HTTP/1.1 400 Bad Request' in /Users/pmdg3/Desktop/development/beanstalk_console/lib/Pheanstalk/YamlResponseParser.php:43 Stack trace: #0 /Users/pmdg3/Desktop/development/beanstalk_console/lib/Pheanstalk/Connection.php(120): Pheanstalk_YamlResponseParser->parseResponse('HTTP/1.1 400 Ba...', NULL) #1 /Users/pmdg3/Desktop/development/beanstalk_console/lib/Pheanstalk.php(364): Pheanstalk_Connection->dispatchCommand(Object(Pheanstalk_Command_StatsCommand)) #2 /Users/pmdg3/Desktop/development/beanstalk_console/lib/Pheanstalk.php(311): Pheanstalk->_dispatch(Object(Pheanstalk_Command_StatsCommand)) #3 /Users/pmdg3/Desktop/development/beanstalk_console/lib/BeanstalkInterface.class.php(73): Pheanstalk->stats() #4 /Users/pmdg3/Desktop/development/beanstalk_console/lib/include.php(46): BeanstalkInterface->getServerStats() #5 /Users/pmdg3/Desktop/development/beanstalk_console/lib/tpl/serversList.php(22): Console->getServerStats('ex in /Users/pmdg3/Desktop/development/beanstalk_console/lib/Pheanstalk/YamlResponseParser.php on line 43
name

Browser view:
http://grab.by/yJ1A

Thanks

@pentium10
Copy link
Collaborator

Sounds to me like one of your Beanstalkd servers sent a bad response. Does it happen repeatedly? Can you tell more about the beanstalkd version you are using, and firewall, and what messages you have? Does the beanstalkd stats run normally in cli mode?

For all of your servers connect via telnet and run the stats command, and post the output to this ticket:

telnet localhost 11300
stats

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