Hhvm blocking googlebot and others?

Hi there guys and gals

so ive been getting alot of the following lately

“HEAD / HTTP/1.1” 500 0 “-” “jetmon/1.0 (Jetpack Site Uptime Monitor by WordPress.com)” i get this for a few of my domains, all that i have hhvm active on.

when hhvm is active i get this

Header returned by request for: https://mahirsayar.com/ -> 188.166.150.170

HTTP/1.1 500 hphp_invoke 
Note: It looks like your site has returned a 500 Error. In some cases the firewall or a bad bot utility will block the use of this tool. With a 500 response you should verify the response with another tool such as Rex Swain.

Server: nginx
Date: Wed, 22 Mar 2017 23:51:45 GMT
Content-Type: text/html
Transfer-Encoding: chunked
Connection: close
X-Powered-By: HHVM/3.18.1

when it is not active i get this

HTTP/1.1 200 OK 
Server: nginx
Date: Thu, 23 Mar 2017 00:20:19 GMT
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Connection: close
Vary: Accept-Encoding
Link: ; rel="https://api.w.org/"
Link: ; rel=shortlink
X-Powered-By: EasyEngine 3.7.4
rt-Fastcgi-Cache: HIT
Content-Encoding: gzip

so how do i stop hhvm from doing this stupidness?

HHVM itself does not block anything.

Error 500 means you have some issue at code level on your blogs.

What happens if instead of HHVM you try using PHP7 for your WPs?

the websites work but googlebot, msnbot etc - nothing indexes… i have been trying to work out why for almost a week the only thing i can see is - when hhvm is active, it responds with 500…

If your WP site runs smoothly with PHP7, your problem can be your theme - some themes do not really support HHVM. Anyway, check all your paths, using .sock or localhost to connect PHP-FPM Fast-CGI.

hhvm/php.ini

/var/run/your-service-like-mysql-or-hhvm/service.sock

To check your HHVM

hhvm -m debug

Well its as @perroud said check your themes and plugins they might be causing the error. I have quite many sites running on hhvm but there arent any problems.

Is hhvm really worth all the trouble? I don’t trust Facebook at all opensource or not and php7 seems to have all but overcome most of the reasons that made hhvm attractive.

2 Likes

Agree. Indeed.

1 Like