Поддержка Проблемы и решения Подключение плагина Jetpack

  • Доброго дня. Сайт intro4u.ru на облачном хостинге jino. Я не могу подключить плагин Jetpack. Хотя до этого работал 2 года без перебоев.

    Подробности ошибки: The registration secrets sent by your site do not match the ones the Jetpack server has on record.

    Если сделать откат к предыдущим версиям пишет другую ошибку: The Jetpack server could not communicate with your site’s XML-RPC URL. Please check to make sure http://intro4u.ru/xmlrpc.php is working properly. It should show ‘XML-RPC server accepts POST requests only.’ on a line by itself when viewed in a browser and should not have any blank lines or extra output anywhere. Find out how to fix this issue here: https://jetpack.com/support/getting-started-with-jetpack/what-do-these-error-messages-mean/blank-lines-xmlrpc/

    Но intro4u.ru/xmlrpc.php выдает нужный ответ: XML-RPC server accepts POST requests only.

    Я отключал все плагины и ставил другую тему, переустанавливал WordPress — плагин Jetpack все равно не подключается. Если использовать Debug плагина, то пишет: Ваш сайт не может обмениваться данными с Jetpack!

    Хостинг ответил, что доступ с наших серверам к сетям Jetpack не блокируется. Что делать не знаю.

    Страница, с которой нужна помощь: [войдите, чтобы увидеть ссылку]

Просмотр 11 ответов — с 1 по 11 (всего 11)
  • А у вас нет плагинов «безопасности», или иных в которых может быть отключен функционал XML-RPC?

    @perdyllo стоит Wordfence и Clearfy, но при их отключение проблема не решается

    Модератор Yui

    (@fierevere)

    永子

    а меню отладки (внизу) jetpack что выдает?

    Debug

    далее можно сделать «просмотр расширенных результатов отладки»

    xml-rpc у вас открыт

    если более менее владеете английским, то лучше всего оттуда же заполнить обращение в поддержку, не знаю как сейчас, но раньше очень хорошо отвечали на запросы

    @fierevere Ваш сайт не может обмениваться данными с Jetpack!

    SELF:
    							Array
    (
        [headers] => Requests_Utility_CaseInsensitiveDictionary Object
            (
                [data:protected] => Array
                    (
                        [server] => nginx
                        [date] => Thu, 14 Dec 2017 12:39:08 GMT
                        [content-type] => text/plain;charset=utf-8
                        [expires] => Wed, 11 Jan 1984 05:00:00 GMT
                        [cache-control] => no-cache, must-revalidate, max-age=60
                        [x-hacker] => Jetpack Test
                        [x-ac] => 3.fra _dfw
                        [strict-transport-security] => max-age=15552000
                    )
    
            )
    
        [body] => {"error":"XML-RPC is not responding correctly ( 200 )","error_description":"It looks like XML-RPC is not responding correctly. Please make sure XML-RPC is turned on for your site and is set up to respond to all content types. You can test this yourself by running the following command from the command line:<blockquote><code>curl -A 'Jetpack by WordPress.com' -d '<methodCall><methodName>demo.sayHello<\/methodName><\/methodCall>' http:\/\/intro4u.ru\/xmlrpc.php<\/code><\/blockquote><p>The answer should be:<\/p><blockquote><code><pre><?xml version="1.0" encoding="UTF-8"?>\n<methodResponse>\n  <params>\n    <param>\n      <value>\n      <string>Hello!<\/string>\n      <\/value>\n    <\/param>\n  <\/params>\n<\/methodResponse><\/pre><\/code><\/blockquote>"}
        [response] => Array
            (
                [code] => 400
                [message] => Bad Request
            )
    
        [cookies] => Array
            (
            )
    
        [filename] => 
        [http_response] => WP_HTTP_Requests_Response Object
            (
                [response:protected] => Requests_Response Object
                    (
                        [body] => {"error":"XML-RPC is not responding correctly ( 200 )","error_description":"It looks like XML-RPC is not responding correctly. Please make sure XML-RPC is turned on for your site and is set up to respond to all content types. You can test this yourself by running the following command from the command line:<blockquote><code>curl -A 'Jetpack by WordPress.com' -d '<methodCall><methodName>demo.sayHello<\/methodName><\/methodCall>' http:\/\/intro4u.ru\/xmlrpc.php<\/code><\/blockquote><p>The answer should be:<\/p><blockquote><code><pre><?xml version="1.0" encoding="UTF-8"?>\n<methodResponse>\n  <params>\n    <param>\n      <value>\n      <string>Hello!<\/string>\n      <\/value>\n    <\/param>\n  <\/params>\n<\/methodResponse><\/pre><\/code><\/blockquote>"}
                        [raw] => HTTP/1.1 400 Bad Request
    Server: nginx
    Date: Thu, 14 Dec 2017 12:39:08 GMT
    Content-Type: text/plain;charset=utf-8
    Transfer-Encoding: chunked
    Connection: close
    Expires: Wed, 11 Jan 1984 05:00:00 GMT
    Cache-Control: no-cache, must-revalidate, max-age=60
    X-hacker: Jetpack Test
    X-ac: 3.fra _dfw
    Strict-Transport-Security: max-age=15552000
    
    {"error":"XML-RPC is not responding correctly ( 200 )","error_description":"It looks like XML-RPC is not responding correctly. Please make sure XML-RPC is turned on for your site and is set up to respond to all content types. You can test this yourself by running the following command from the command line:<blockquote><code>curl -A 'Jetpack by WordPress.com' -d '<methodCall><methodName>demo.sayHello<\/methodName><\/methodCall>' http:\/\/intro4u.ru\/xmlrpc.php<\/code><\/blockquote><p>The answer should be:<\/p><blockquote><code><pre><?xml version="1.0" encoding="UTF-8"?>\n<methodResponse>\n  <params>\n    <param>\n      <value>\n      <string>Hello!<\/string>\n      <\/value>\n    <\/param>\n  <\/params>\n<\/methodResponse><\/pre><\/code><\/blockquote>"}
                        [headers] => Requests_Response_Headers Object
                            (
                                [data:protected] => Array
                                    (
                                        [server] => Array
                                            (
                                                [0] => nginx
                                            )
    
                                        [date] => Array
                                            (
                                                [0] => Thu, 14 Dec 2017 12:39:08 GMT
                                            )
    
                                        [content-type] => Array
                                            (
                                                [0] => text/plain;charset=utf-8
                                            )
    
                                        [expires] => Array
                                            (
                                                [0] => Wed, 11 Jan 1984 05:00:00 GMT
                                            )
    
                                        [cache-control] => Array
                                            (
                                                [0] => no-cache, must-revalidate, max-age=60
                                            )
    
                                        [x-hacker] => Array
                                            (
                                                [0] => Jetpack Test
                                            )
    
                                        [x-ac] => Array
                                            (
                                                [0] => 3.fra _dfw
                                            )
    
                                        [strict-transport-security] => Array
                                            (
                                                [0] => max-age=15552000
                                            )
    
                                    )
    
                            )
    
                        [status_code] => 400
                        [protocol_version] => 1.1
                        [success] => 
                        [redirects] => 0
                        [url] => https://jetpack.wordpress.com/jetpack.testsite/1/?url=http://intro4u.ru/xmlrpc.php
                        [history] => Array
                            (
                            )
    
                        [cookies] => Requests_Cookie_Jar Object
                            (
                                [cookies:protected] => Array
                                    (
                                    )
    
                            )
    
                    )
    
                [filename:protected] => 
                [data] => 
                [headers] => 
                [status] => 
            )
    
    )
    Модератор Yui

    (@fierevere)

    永子

    диагностика показывает что сервера Jetpack получают ответ с кодом 400
    т.е. сервер их фильтрует всё-таки как-то
    плагины-хостер-.htaccess

    плагины — деактивация всех плагинов с очисткой кеша не помогает
    хостер — пишет, что проблема не в них
    .htaccess — очищал код, тоже не помогло

    Написал в их службу поддержи, никто не ответил. Хотя тоже помню, что раньше они быстро отвечали и очень любезно даже:)) Написал на форум плагина Jetpack, так как все способы, что есть в интернете перепробовал.

    Как то были у меня похожие проблемы с Джетпаком. Никак не хотел активироваться. Тогда я создал совершенно новый аккаунт на WP и запустил Джетпак через него. Не знаю как и почему, но все заработало.

    Модератор Yui

    (@fierevere)

    永子

    можно еще попробовать поставить рядышком на технический домен того же Jino чистый WP+Jetpack и посмотреть как будет подключать его.

    Да, на том же JINO я поставил чистый wp+Jetpack — все заработало. Подключил тему, которую использую — все по-прежнему работает. Сейчас хочу добавить все плагины, которые есть и посмотреть результат.

    Спасибо за советы:)

    Сейчас хочу добавить все плагины, которые есть и посмотреть результат.

    И сравните содержимое файлов .htaccess и wp-config.php.

    Приходит мне в воскресенье оповещалка с плагина Wordfence:

    Critical Problems:
    * WordPress core file modified: readme.html
    * WordPress core file modified: wp-login.php

    Я со словами «че тебе еще су*а надо» зашел в админку, по привычке нажал подключить Jetpack… И он подключился. Я не понял, в чем причина была поломки, и так же не понял по какой причине все заработало. Но главное, что все ок. Всем спасибо:)

    • Ответ изменён 6 лет, 4 месяца назад пользователем plus116.
Просмотр 11 ответов — с 1 по 11 (всего 11)
  • Тема «Подключение плагина Jetpack» закрыта для новых ответов.