• Resolved c3iq

    (@c3iq)


    Hello,
    we upgraded to 4.3.1 yesterday (including plugins and themes). The site is a multisite with 1100 blogs. At the moment, none of them can see their statistics. My blog c3iq.our.dmu.ac.uk get a spinning wheel. The main blog our.dmu.ac.uk complained that it needed reconnecting to Jetpack. On doing this stats work again but only have stats for the last two days. I went to the debug page on my blog for it to say :

    There seems to be a problem with your site’s ability to communicate with Jetpack!

    I had a look with ngrep to see this:

    T 10.2.224.4:55119 -> 192.0.78.27:80 [AP]
      POST /xmlrpc.php?for=jetpack&wpcom_blog_id=19634228 HTTP/1.0..User-Agent: WordPress/4.3.1; http://c3iq.our.dmu.ac.uk..Host: jetpack.wordpress.com..Accept: */*..Authorization: X_J
      ETPACK token="xxxxxxxxxxxxxxxxxx" timestamp="1442999727" nonce="xxxxxxxxxxxxxxx" body-hash="xxxxxxxxxxxxxxxxxxxxx" signature="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" ve
      rsion="3.7"..Accept-Encoding: deflate;q=1.0, compress;q=0.5, gzip;q=0.5..Content-Length: 257..Content-Type: application/x-www-form-urlencoded....<?xml version="1.0"?>.<methodCall
      >.<methodName>jetpack.fetchSiteOptions</methodName>.<params>.<param><value><array><data>.  <value><string>siteurl</string></value>.  <value><string>home</string></value>.</data><
      /array></value></param>.</params></methodCall>                                                                                                                                    
    
    T 192.0.78.26:443 -> 10.2.224.4:52869 [A]
      ......                                                                                                                                                                            
    
    T 192.0.78.27:80 -> 10.2.224.4:55119 [AP]
      HTTP/1.0 200 OK..Server: nginx..Date: Wed, 23 Sep 2015 09:15:27 GMT..Content-Type: text/xml; charset=UTF-8..X-hacker: If you're reading this, you should visit automattic.com/jobs
       and apply to join the fun, mention this header...X-ac: 3.lhr _dca..Content-Length: 367..Age: 2..Via: 1.1 localhost.localdomain....<?xml version="1.0" encoding="UTF-8"?>.<methodR
      esponse>.  <params>.    <param>.      <value>.      <struct>.  <member><name>siteurl</name><value><string>http://c3iq.our.dmu.ac.uk</string></value></member>.  <member><name>home
      </name><value><string>http://c3iq.our.dmu.ac.uk</string></value></member>.</struct>.      </value>.    </param>.  </params>.</methodResponse>.                                    
    
    T 10.2.224.4:55120 -> 192.0.78.27:80 [AP]
      GET /jetpack.testsite/1/?url=http://c3iq.our.dmu.ac.uk/xmlrpc.php HTTP/1.0..User-Agent: WordPress/4.3.1; http://c3iq.our.dmu.ac.uk..Host: jetpack.wordpress.com..Accept: */*..Acce
      pt-Encoding: deflate;q=1.0, compress;q=0.5, gzip;q=0.5....                                                                                                                        
    
    T 10.2.224.5:80 -> 94.102.51.15:51893 [AP]
      HTTP/1.1 200 OK..Date: Wed, 23 Sep 2015 09:15:23 GMT..Server: Apache..X-Powered-By: PHP/5.4.38..Connection: close..Content-Length: 370..Content-Type: text/xml; charset=UTF-8....<
      ?xml version="1.0" encoding="UTF-8"?>.<methodResponse>.  <fault>.    <value>.      <struct>.        <member>.          <name>faultCode</name>.          <value><int>0</int></value
      >.        </member>.        <member>.          <name>faultString</name>.          <value><string></string></value>.        </member>.      </struct>.    </value>.  </fault>.</met
      hodResponse>.

    I have ‘x’ed out anything that looks like a security string.

    Any help please?

    Best regards.

    https://wordpress.org/plugins/jetpack/

Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter c3iq

    (@c3iq)

    Looking more at this… https://p1324201x.our.dmu.ac.uk is domain mapped to https://jonathan-gration.our.dmu.ac.uk/. This blog gets the mini graph at the top of the blog for me (super admin), for jonathan-gration.our.dmu.ac.uk, but when I go to the dashboard the URL becomes https://p1324201x.our.dmu.ac.uk/&#8230; and Jetpack settings complains:

    It looks like you may have changed your domain. Is http://jonathan-gration.our.dmu.ac.uk still your site’s domain, or have you updated it to http://p1324201x.our.dmu.ac.uk ?

    However, https://c3iq.our.dmu.ac.uk is a blog in its own right and doesn’t get the mini graph and the ‘View stats…’ wheel spins forever.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic πŸš€

    Could you go to the Jetpack menu in your dashboard, and click on the Disconnect link at the bottom of the page? Let me know when it’s done. I should be able to get your stats back by making some changes to your Jetpack settings on our end.

    Thanks!

    Thread Starter c3iq

    (@c3iq)

    Another blog https://celt.our.dmu.ac.uk is probably the best one to look at. I have disconnected that one.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic πŸš€

    Another blog https://celt.our.dmu.ac.uk is probably the best one to look at. I have disconnected that one.

    It still appears to be connected, but there are issues with your connection to WordPress.com. Could you try to reconnect now, and let me know if you run into any issues? If you get an error, could you copy it and paste it here?

    Thanks!

    Thread Starter c3iq

    (@c3iq)

    After reconnecting celt.our.dmu.ac.uk to Jetpack I get :

    Your Jetpack setup looks a-okay!

    Maybe I need to explain the network set up in case that rings a bell. We have two internal IPs and two external NATing to those. They map to our.dmu.ac.uk and *.our.dmu.ac.uk. We did this because web browsers got upset about SSL certs in turn upsetting our users.

    Everything was working up until we upgraded from 3.9 to 4.3.1 and the associated plugins.

    I’m a software engineer and I have root. Is there anything I can look at under the hood that doesn’t mean I have to change the status of any plugins? Is there a debug switch for the Jetpack plugin? Can I redirect (just) Jetpack plugin debugging to a file?

    Thanks.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic πŸš€

    Could you try to access dashboard.wordpress.com from your server, and see you can access this domain without any trouble?

    If you’re having issues accessing it, could you try running the following command, and let me know the output?

    dig @8.8.8.8 dashboard.wordpress.com

    Thanks!

    Thread Starter c3iq

    (@c3iq)

    $ dig @8.8.8.8 dashboard.wordpress.com
    
    ; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.37.rc1.el6_7.4 <<>> @8.8.8.8 dashboard.wordpress.com
    ; (1 server found)
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 57887
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0
    
    ;; QUESTION SECTION:
    ;dashboard.wordpress.com.	IN	A
    
    ;; ANSWER SECTION:
    dashboard.wordpress.com. 2426	IN	CNAME	lb.wordpress.com.
    lb.wordpress.com.	21	IN	A	192.0.78.13
    lb.wordpress.com.	21	IN	A	192.0.78.12
    
    ;; Query time: 7 msec
    ;; SERVER: 8.8.8.8#53(8.8.8.8)
    ;; WHEN: Thu Sep 24 17:49:12 2015
    ;; MSG SIZE  rcvd: 90

    I also used lynx to login in to the dashboard via the command line.

    While clicking around, as well as sometimes getting the mini graph in the tool bar I get the Jetpack stats graph on a blog’s dashboard but when I click on ‘View All’ I go to the stats page and only get a spinning wheel. The URL below the spinning wheel is https://wordpress.com/stats/47979283 which goes to the correct blog on WordPress.com.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic πŸš€

    Thank you! Could you now run the query again, but without the Google DNS servers so we can compare the IPs returned from Google with those returned by your server’s DNS resolver?

    dig dashboard.wordpress.com

    Thread Starter c3iq

    (@c3iq)

    $ dig dashboard.wordpress.com
    
    ; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.37.rc1.el6_7.4 <<>> dashboard.wordpress.com
    ;; global options: +cmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 22840
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 4, ADDITIONAL: 4
    
    ;; QUESTION SECTION:
    ;dashboard.wordpress.com.	IN	A
    
    ;; ANSWER SECTION:
    dashboard.wordpress.com. 7781	IN	CNAME	lb.wordpress.com.
    lb.wordpress.com.	300	IN	A	192.0.78.13
    lb.wordpress.com.	300	IN	A	192.0.78.12
    
    ;; AUTHORITY SECTION:
    wordpress.com.		142373	IN	NS	ns1.wordpress.com.
    wordpress.com.		142373	IN	NS	ns3.wordpress.com.
    wordpress.com.		142373	IN	NS	ns2.wordpress.com.
    wordpress.com.		142373	IN	NS	ns4.wordpress.com.
    
    ;; ADDITIONAL SECTION:
    ns1.wordpress.com.	142373	IN	A	198.181.116.9
    ns2.wordpress.com.	142373	IN	A	198.181.117.9
    ns3.wordpress.com.	142373	IN	A	192.0.74.9
    ns4.wordpress.com.	142373	IN	A	192.0.75.9
    
    ;; Query time: 33 msec
    ;; SERVER: 146.227.1.1#53(146.227.1.1)
    ;; WHEN: Thu Sep 24 19:42:16 2015
    ;; MSG SIZE  rcvd: 226
    Thread Starter c3iq

    (@c3iq)

    I created a pcap from the Dashboard and from Jetpack>Site Stats. For the Dashboard, which does display a graph these servers responded:

    192.0.78.12:443
    192.0.78.13:443
    192.0.78.26:443

    For the Jetpack>Site Stats where we get a spinning wheel for ever we get these servers responding:

    192.0.78.13:443
    192.0.78.26:443
    192.0.78.27:443

    I’m guessing that this is fine and it is the conversation, that I can’t see because it’s encrypted, in Jetpack>Site Stats that has the problem.

    The first user who pointed out this problem has also said that he can’t see subscribers to his blog. He’s pointed out that both the stats and the subscribers are key to his research.

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic πŸš€

    Thanks! These results are indeed correct.

    Can you please use Jetpack’s Debugger module to send us some more information about one of the sites where you get the spinning wheel?

    1) Go to the Jetpack page in your dashboard.
    2) Click on the Debug link appearing at the bottom of the page.
    3) Click the link that says “click here to contact Jetpack support.”
    4) Fill in the description box and your name and email address.
    5) Click the “Contact Support” button.

    Thanks!

    Thread Starter c3iq

    (@c3iq)

    Done.

    In the debug info sent to you the blog mentioned was https://p1324201x.our.dmu.ac.uk. The domain mapped one is jonathan-gration.our…

    Based on advice you have given others I compared the database back ups. The Jetpack related info hadn’t changed.

    Before our upgrade when tested the updates on a test site where we change the host file to convince the server it is the real thing. Access is not opened on the firewall so Jetpack wouldn’t be able to pass thing back during that period. The production site was up during the same period. We didn’t us Jetpack Developer Mode. I’ve only just learnt about it…

    Thread Starter c3iq

    (@c3iq)

    Would you open the call with support again, please?

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic πŸš€

    @c3iq If you have more questions, do not hesitate to reply to the last email you received from us. We’ll reply and help!

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘Jetpack can't connect : statistics’ is closed to new replies.