• Resolved alkemiko

    (@alkemiko)


    Hi,
    when I click on connect and scan the system returns the alert : “Unable to establish a connection for scanning.”
    on the server there is this error log:
    WordPress database error Specified key was too long; max key length is 1000 bytes for CREATE TABLE query xxxx_cli_cookie_scan_cookies (
    id_cli_cookie_scan_cookies INT NOT NULL AUTO_INCREMENT,
    id_cli_cookie_scan INT NOT NULL DEFAULT ‘0’,
    id_cli_cookie_scan_url INT NOT NULL DEFAULT ‘0’,
    cookie_id VARCHAR (255) NOT NULL,
    expiry VARCHAR (255) NOT NULL,
    type VARCHAR (255) NOT NULL,
    category VARCHAR (255) NOT NULL,
    category_id INT NOT NULL,
    description TEXT NULL DEFAULT ”,
    PRIMARY KEY (id_cli_cookie_scan_cookies),
    UNIQUE cookie (id_cli_cookie_scan, cookie_id)
    ) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci made by activate_plugin, do_action (‘activate_cookie-law-info / cookie-law-info.php’), WP_Hook-> do_action, WP_Hook-> apply_filters, Cookie_Law_Info_Cookie- activator, Cookie_Law_Info_Cookie- activator, Cookie_Info_Cookie- activie_Cookie- activie Cookie_Law_Info_Cookie_Scaner-> insert_scanner_tables, dbDelta`

    • This topic was modified 3 years, 8 months ago by alkemiko.
Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author WebToffee

    (@webtoffee)

    Hi @alkemiko,

    Please share the site URL.

    Thread Starter alkemiko

    (@alkemiko)

    Plugin Author WebToffee

    (@webtoffee)

    Hi @alkemiko,

    Assuming that there is some firewall restriction in the site, we would like to try and whitelist our scanner server. In order to do that kindly ask your hosting support team to whitelist https://www.cookieyes.com/ in your server and then try scanning.

    Plugin Author WebToffee

    (@webtoffee)

    Hi @alkemiko,

    Were you able to solve the issue with whitelisting?

    Thread Starter alkemiko

    (@alkemiko)

    Hi @webtoffee ,

    I contacted the hosting which replies to me like this:

    “Hello,

    I don’t see log requests to something that should be reported with cookieyes.com but the following which should refer to the plugin actually in question which has http 200 responses.

    79.25.50.120 – – [02 / Apr / 2021: 12: 26: 05 +0200] “GET /wp-content/plugins/cookie-law-info/public/css/cookie-law-info-table.css HTTP / 2.0 “200 1743” https://www.galileiottica.it/ “” Mozilla / 5.0 (Windows NT 10.0; Win64; x64) AppleWebKit / 537.36 (KHTML, like Gecko) Chrome / 89.0.4389.114 Safari / 537.36 ”

    Then, if there are to be requests to external service (server and port perhaps) based on cookieyes.com, in order to have a better knowledge and deepen the verification, we should know the request to which host: port, in case, is performed . By carrying out a connection test to cookieyes.com from the server on which your service is hosted I do not detect any problems, therefore I exclude a blacklisting or filtering speech for that host.
    If you have the opportunity to give me more information on the problem you are experiencing, by asking for the actual request that should be made from our server to the cookieyes.com server we can verify further. With all the checks and analyzes performed there is nothing abnormal about it or blocking requests.”

    Alex

    Plugin Author WebToffee

    (@webtoffee)

    Hi @alkemiko,

    It could be an issue related to the scanner token. To reset it please add the code snippet here to your active theme’s functions.php

    To execute the code, please visit this URL once: https://www.galileiottica.it/wp-admin/?wt-reset-token

    You can remove the code once done. Then try to scan.

    Thread Starter alkemiko

    (@alkemiko)

    Hi,

    tested, but the problem persist.

    Plugin Author WebToffee

    (@webtoffee)

    Hi @alkemiko,

    In that case, we need to do some further debugging in your site. We need you to run a code and share the response to us privately via this link.

    Please follow below steps.

    1. Add the code snippet provided here in your active site theme’s functions.php
    2. Change the $email & $url values with the ones relevant to your site.
    3. Execute the code by visiting the URL: https://www.galileiottica.it/wp-admin/?cy-register
    4. Copy the response and share it via the above-mentioned link. Make sure to refer this forum link while submitting the data so that we can identify you.
    5. You can remove the code from functions.php once done.

    Plugin Author WebToffee

    (@webtoffee)

    Hi @alkemiko,

    Thanks for sharing the response via the contact form. Since the firewall issue at the hosting level is resolved, hope we can mark this as resolved.

    Feel free to revert if anything else.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Unable to establish a connection for scanning’ is closed to new replies.