Error message when adding sites into Security Scan
This article provides possible solutions for the issue when a user is not able to add sites into the Commerce Security Scan.
Affected products and versions
- Adobe Commerce (all deployment methods and versions)
- Magento Open Source
Issue
User is not able to add sites into the Commerce Security Scan. The following error message appears when trying to add a site: Unable to submit site for scanning.
Solution
-
Make sure that the following IP addresses are not blocked on ports 80 and 443:
- 52.87.98.44
- 34.196.167.176
- 3.218.25.102
-
The confirmation code is time-sensitive. If more than 30 minutes have passed after the Add site link was clicked, the code has probably expired.
-
Don’t forget to clean cache and make sure the validation code appears in the home page source body. The confirmation code should be injected according to the HTML markup specs: HTML comment can be injected in the page body (we suggest putting it in the footer section); the META tag should be in the head section only.
-
Before clicking Verify Confirmation code, open the browser’s developer console, click the Network tab and check the response from magento.com. It should be HTTP 200 (OK) and the response body should contain a JSON object.
-
If the response code is HTTP 200 and the response body is a JSON object and the
verified
property value isfalse
, it means the code is not found on the page. Thedetails
property value should contain the explanation. For example, if the store uses a self-signed SSL certificate, there will probably be a connection error.
If you still cannot add sites, complete the following steps:
-
Place another HTML comment on the page:
code language-html <!-- MAGEID:Your magento.com ID, EMAIL:your email address -->
-
Submit a support ticket and provide the following information:
- Adobe Commerce store URL
- MAGEID + Magento.com account email
- First name + Last name
- Company name
- Comma separated notification email list