Error: curl_exec: Couldn't resolve host 'plugins.piwik.org'

Piwik 3.04
curl_exec: Couldn’t resolve host ‘plugins.piwik.org’. Hostname requested was: plugins.piwik.org

Recently acquired an error that I am unable to resolve.

I note a similar error on the github for IPV6 but as I don’t use 6 so I am guessing this is a different thing.

Thanks in advance

Huzzah! There are no problems with your Piwik setup. Give yourself a pat on the back.

Hi,

are you running your own server? Can you check if you can access plugins.piwik.org from the command line
e.g. via

  • ping plugins.piwik.org
  • dig plugins.piwik.org
    or similar tools?

Yes it is and the ping fails on the plugins sub domain for some reason.

I pinged it from my mac directly too and it fails the ping as well.

Not sure why tbh.

That’s odd,

What does dig plugins.piwik.org return?


; <<>> DiG 9.10.3-P4-Debian <<>> plugins.piwik.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 23136
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;plugins.piwik.org.             IN      A

;; ANSWER SECTION:
plugins.piwik.org.      300     IN      A       185.31.40.177

;; Query time: 36 msec
;; SERVER: 192.168.0.70#53(192.168.0.70)
;; WHEN: Wed Aug 02 17:31:24 CEST 2017
;; MSG SIZE  rcvd: 51

It should resolve to 185.31.40.177

Piwik.org resolves fine.

plugins must be being blocked somehow from my router.

Checked and its in the whitelist, but will check further as it sounds like the problem is at my end.

Thanks for your help.

I don’t have dig on my server but from the mac its as follows;

; <<>> DiG 9.9.7-P3 <<>> plugins.piwik.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 32363
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;plugins.piwik.org. IN A

;; AUTHORITY SECTION:
piwik.org. 3600 IN SOA localhost. root. 1 604800 86400 2419200 604800

;; Query time: 46 msec
;; SERVER: 192.168.1.1#53(192.168.1.1)
;; WHEN: Wed Aug 02 16:47:55 BST 2017
;; MSG SIZE rcvd: 84