On line 2339, 2393 and 2443
$host = $api_key . ' . ' . $api_host;
should be:
$host = $api_key . '.' . $api_host;

Comments

scott.whittaker’s picture

I was about to log this exact issue. For some reason the API call works on my local development environment, but not on the test or live server. Some debugging of the API call showed the spaces around the API key and host address looked a bit weird, and sure enough deleting the spaces fixed the issue.

marcoscano’s picture

This seems to be a duplicate of #2379263: AKISMET service is not working with current 7.x DEV. Although this issue is older than that one, that one has an RTBC'ed patch attached.

(Not changing the status to leave to the maintainer the decision about which one to keep)

cfinke’s picture

Status: Active » Fixed

Fixed in b297b0f.

cfinke’s picture

Status: Fixed » Closed (fixed)