"1С-Битрикс: Корпоративный портал 21.900.0"
BitrixCRM 7.5.2. стоит в корпоративной сети, закрыт от интернета
NodeJS настроен, секретные ключи одинаковые
выходит ошибка
main.js?attr=4Vt__n5Sgk1P94X5CBdHPqcY6VXWqZhLjYyAlegD5XEbwfOWPx5CITj Bz6uClOVA19gMUQWA4ovUyWGmN1AUsdtiGwONxg5ldxcO-ep9UR0:2590 POST 401 (Unauthorized)
а там KasperskyLab.XMLHttpRequestSend.apply(this, [].slice.call(arguments));
портал в доверенных в корп сети
rest.client.js:305 BX.rest: csrf-token has expired, replace to a new token
слетает токен?
а так же ошибка что пользователь не авторизован
Pull: could not read push-server config. s {status: 401, ex: {…}}ex: {error: 'access_denied', error_description: 'User not authorized', sessid: '493f0e93c1897be9368f058d06a34303', extended_error: 'user_not_authorized', ex: s}status: 401[[Prototype]]: Object
BitrixCRM 7.5.2. стоит в корпоративной сети, закрыт от интернета
NodeJS настроен, секретные ключи одинаковые
выходит ошибка
main.js?attr=4Vt__n5Sgk1P94X5CBdHPqcY6VXWqZhLjYyAlegD5XEbwfOWPx5CITj
а там KasperskyLab.XMLHttpRequestSend.apply(this, [].slice.call(arguments));
портал в доверенных в корп сети
rest.client.js:305 BX.rest: csrf-token has expired, replace to a new token
слетает токен?
а так же ошибка что пользователь не авторизован
Pull: could not read push-server config. s {status: 401, ex: {…}}ex: {error: 'access_denied', error_description: 'User not authorized', sessid: '493f0e93c1897be9368f058d06a34303', extended_error: 'user_not_authorized', ex: s}status: 401[[Prototype]]: Object
| Код |
|---|
Request URL: http://portal.vc.int/company/personal/user/2639/tasks/ Request Method: GET Status Code: 200 OK Remote Address: 10.16.134.40:80 Referrer Policy: strict-origin-when-cross-origin Cache-Control: no-store, no-cache, must-revalidate Connection: keep-alive Content-Type: text/html; charset=UTF-8 Date: Tue, 13 Sep 2022 08:00:17 GMT Expires: Thu, 19 Nov 1981 08:52:00 GMT P3P: policyref="/bitrix/p3p.xml", CP="NON DSP COR CUR ADM DEV PSA PSD OUR UNR BUS UNI COM NAV INT DEM STA" Pragma: no-cache Server: nginx Set-Cookie: PHPSESSID=vXy87ZbaAxqMBa1TjeAapp12unkb1Lyp; path=/; HttpOnly Set-Cookie: BITRIX_SM_SALE_UID=0; path=/ Set-Cookie: BITRIX_SM_UIDH=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; HttpOnly Set-Cookie: BITRIX_SM_UIDL=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; HttpOnly Transfer-Encoding: chunked X-Content-Type-Options: nosniff X-Frame-Options: SAMEORIGIN X-Powered-CMS: Bitrix Site Manager (845a6a9cc66008a1f235aac6dfcd4cdc) Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9 Accept-Encoding: gzip, deflate Accept-Language: ru,en;q=0.9 Connection: keep-alive Cookie: BITRIX_SM_TIME_ZONE=-180; BITRIX_CONVERSION_CONTEXT_s1=%7B%22ID%22%3A1%2C%22EXPIRE%22%3A1663102740%2C%22UNIQUE%22%3A%5B%22conversion_visit_day%22%5D%7D; BITRIX_SM_SALE_UID=0; BITRIX_SM_LOGIN=testuha; BITRIX_SM_SOUND_LOGIN_PLAYED=Y; PHPSESSID=nk7rb3BcjUDPTP7Q1sxbN0kp1A96T3P0; BITRIX_SM_UIDH=58aa851c09d4db48447e3e6c326a1678; BITRIX_SM_UIDL=testuha Host: portal.vc.int Referer: http://portal.vc.int/services/ Upgrade-Insecure-Requests: 1 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.160 YaBrowser/22.5.4.904 Yowser/2.5 Safari/537.36 |
файл .settings.php
| Код |
|---|
<?phpreturn array ( 'utf_mode' => array ( 'value' => true, 'readonly' => true, ), 'cache' => array( 'value' => array ( 'type' => 'memcache', 'memcache' => array( 'host' => 'unix:///tmp/memcached.sock', 'port' => '0' ), 'sid' => $_SERVER["DOCUMENT_ROOT"]."#01" ), ),'pull_s1' => 'BEGIN GENERATED PUSH SETTINGS. DON\'T DELETE COMMENT!!!!', 'pull' => Array( 'value' => array( 'path_to_listener' => "http://#DOMAIN#/bitrix/sub/", 'path_to_listener_secure' => "https://#DOMAIN#/bitrix/sub/", 'path_to_modern_listener' => "http://#DOMAIN#/bitrix/sub/", 'path_to_modern_listener_secure' => "https://#DOMAIN#/bitrix/sub/", 'path_to_mobile_listener' => "http://#DOMAIN#:8893/bitrix/sub/", 'path_to_mobile_listener_secure' => "https://#DOMAIN#:8894/bitrix/sub/", 'path_to_websocket' => "ws://#DOMAIN#/bitrix/subws/", 'path_to_websocket_secure' => "wss://#DOMAIN#/bitrix/subws/", 'path_to_publish' => 'http://127.0.0.1:8895/bitrix/pub/', 'nginx_version' => '4', 'nginx_command_per_hit' => '100', 'nginx' => 'Y', 'nginx_headers' => 'N', 'push' => 'Y', 'websocket' => 'Y', 'signature_key' => 'WKb2cJF4sJ99K4zYlkGDhyULVe05G1YLoLgjIFGcADqV31lLkMGiRtgBx4uXD5UYTqs0EOOm6w6RJE2Gwvrveqafg9angPwV1zUxIEDpWWYfucaKFyebEAo2JjPNIsCu', 'signature_algo' => 'sha1', 'guest' => 'N', ), ),'pull_e1' => 'END GENERATED PUSH SETTINGS. DON\'T DELETE COMMENT!!!!', 'cache_flags' => array ( 'value' => array ( 'config_options' => 3600, 'site_domain' => 3600, ), 'readonly' => false, ), 'cookies' => array ( 'value' => array ( 'secure' => false, 'http_only' => false, ), 'readonly' => false, ), 'exception_handling' => array ( 'value' => array ( 'debug' => false, 'handled_errors_types' => 4437, 'exception_errors_types' => 4437, 'ignore_silence' => false, 'assertion_throws_exception' => true, 'assertion_error_type' => 256, 'log' => array ( 'settings' => array ( 'file' => '/var/log/php/exceptions.log', 'log_size' => 1000000, ), ), ), 'readonly' => false, ), 'crypto' => array ( 'value' => array ( 'crypto_key' => '9188jawml2s5afvsekm2lilc9hc5a2tv', ), 'readonly' => true, ), 'connections' => array ( 'value' => array ( 'default' => array ( 'className' => '\\Bitrix\\Main\\DB\\MysqliConnection', 'host' => 'localhost', 'database' => 'sitemanager', 'login' => 'bitri', 'password' => '3l3aIB(!z8]', 'options' => 2, ), ), 'readonly' => true, )); |