Skip to end of metadata
Go to start of metadata

If you happen to have an http/https proxy between your master and remote site(s), make sure that the connections can bypass them.
Otherwise the activation will fail because the proxy might catch the files sent over http/https from master to remote.

This might look like this:

Or like this:


Most likely you'll find the error also in the master's site web.log:



The thing is: even if the http proxy is removed, the site activation will remain in the state above, meaning you cannot activate.

Here is a workaround for this:

  1. Navigate to ~/var/check_mk/wato/activation on the master site
  2. search for the file site_<broken-site-name>.mk and open it. It might look like this:

    {'_site_id': '<broken-site-name>', '_phase': 'done', '_state': 'error', '_status_text': 'Failed', '_status_details': 'Started at: 13:11:33. Finished at: 13:11:49.<br>HTTP Error - 503: <!DOCTYPE html>\r\n\r\n<html lang="en">\r\n<head>\r\n    <base href="/login/">\r\n    <meta charset="utf-8">\r\n    <meta http-equiv="X-UA-Compatible" content="IE=edge">\r\n    <meta name="viewport" content="width=device-width, initial-scale=.85">\r\n    <meta http-equiv="pragma" content="no-cache">\r\n    <title>File Transfer Blocked</title>\r\n    <link rel="stylesheet" href="css/latofonts.css">\r\n    <style>\r\n        body {\r\n            background-color: #e8ebeb;\r\n            font-family: Lato, \'Helvetica Neue\', Helvetica, Arial, sans-serif;\r\n            font-size: 16px;\r\n            margin: 0;\r\n            color: #070808;\r\n        }\r\n\r\n        a:link {\r\n            color: #0993d1;\r\n        }\r\n\r\n        b,\r\n        strong {\r\n            font-weight: 500;\r\n        }\r\n\r\n        p {\r\n            line-height: 1.2em;\r\n        }\r\n\r\n        button {\r\n            overflow: visible;\r\n        }\r\n\r\n        button, input, optgroup, select, textarea {\r\n            color: inherit;\r\n            font: inherit;\r\n            margin: 0;\r\n        }\r\n\r\n        .center {\r\n            text-align: center;\r\n            margin-left: auto;\r\n            margin-right: auto;\r\n        }\r\n\r\n        #dError,\r\n        .msg {\r\n            color: #d94949;\r\n            margin: 20px 0;\r\n        }\r\n\r\n        fieldset .msg {\r\n            margin: 0;\r\n        }\r\n\r\n        #content {\r\n            padding-top: 100px;\r\n        }\r\n\r\n        #content img {\r\n            display: block;\r\n            margin: auto;\r\n        }\r\n\r\n        #content h1 {\r\n            font-style: normal;\r\n            font-weight: normal;\r\n            font-size: 36px;\r\n            line-height: 43px;\r\n            text-align: center;\r\n            letter-spacing: 0.1px;\r\n            color: #070808;\r\n            margin: 10px auto 8px;\r\n        }\r\n\r\n        #content > p {\r\n            text-align: center;\r\n            margin-left: auto;\r\n            margin-right: auto;\r\n            width: 640px;\r\n            font-size: 14px;\r\n            line-height: 20px;\r\n        }\r\n\r\n        .response {\r\n            background-color: #fff;\r\n            color: #5a636b;\r\n            margin: 24px auto 0;\r\n            padding: 20px;\r\n            font-size: 16px;\r\n            width: 800px;\r\n            border: 1px solid #c8cbce;\r\n            box-sizing: border-box;\r\n            border-radius: 8px;\r\n        }\r\n\r\n        .response p {\r\n            margin: 0 0 1em;\r\n        }\r\n\r\n        .response p:last-child {\r\n            margin: 0;\r\n        }\r\n\r\n        .response b {\r\n            color: #070808;\r\n        }\r\n\r\n        .response .msg b {\r\n            color: #d94949;\r\n        }\r\n\r\n        .response form td,\r\n        .response form input {\r\n            font-size: 1.1em;\r\n            font-weight: bold;\r\n        }\r\n\r\n        .loading {\r\n            margin: 2em auto 1em;\r\n        }\r\n    </style>\r\n</head>\r\n\r\n<body>\r\n<div id="content" class="container">\r\n    <img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFQAAABgCAYAAACDgFV6AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAntSURBVHgB7Z1tTFvXGcef6xewAYMxmIQkgIFAAozEQBfRNpucKpMCW7d0UvahUzT2pV8TVLXZtGlxtlb7soikH/ohnZRMUaVuWbR2qkq0dcN0aUOrZWFElBcDpqOBYAI2YLDB4LvzXGrKi1/OheO3a/8kx9fnHGPfv895nuc8594TDgJgNpu1vnTNOY6HFgDeAAkCz3HmX//85UsQQxSBCvm0rL/U1VabTMefAW1ONsQ7nf/6BKwjNnAtuM2/+u1liKWo8q0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download or upload has been blocked in accordance with company policy. Please contact your system administrator if you believe this is an error.</p>\r\n        <p><b>File name:</b> sync_archive</p>\r\n    </div>\r\n</div>\r\n</body>\r\n</html>\r\n', '_time_started': 1657710693.8140585, '_time_updated': 1657710709.5194378, '_time_ended': 1657710709.5194378, '_expected_duration': 0.9589296913146974, '_pid': 24365}
  3. Delete everything until it looks like this: 

    {'_site_id': '<broken-site-name>', '_phase': 'done', '_state': 'error', '_status_text': 'Failed', '_status_details': 'Started at: 07:59:01. Finished at: 07:59:17. '_time_started': 1657778341.2947986, '_time_updated': 1657778357.4187014, '_time_ended': 1657778357.4187014, '_expected_duration': 10.0, '_pid': 15347}
  4. Save the file and do an omd reload
  5. then activation should work again (assuming the http/https proxy is eliminated)