R
R
run1822020-02-06 21:12:29
1C-Bitrix
run182, 2020-02-06 21:12:29

Why do these entries get into the browser console and how to remove them correctly from there?

The console gets errors, warnings, and messages that make it impossible to do your own debugging.

If the user is not authorized on the site, it shows the following errors and notification:
rest.client.min.js?15493827498529:1 POST https://www.***.ru/rest/batch.json?logTag=pull.config 401
rest.client.min.js?15493827498529:1 BX.rest: your csrf-token has expired, send query with a new token
rest.client.min.js?15493827498529:1 POST https://www.***. en/rest/batch.json?logTag=pull.config 401
kernel_pull_v1.js?157961869774835:14 2020-00-22 15:38: Pull: could not read push-server config. s {status: 401, ex: {…}}

And if the user is logged in, it adds the following messages to the console every second
:
:44: Pull: Websocket connection with push-server closed. Code: 1008, reason: {"http_status": 400, "explain":"Channel id is too large."
} attempt#0

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vladimir Korotenko, 2020-02-06
@firedragon

Pound the forum of the developer and this godless Bitrix

M
MrYupi, 2021-07-22
@MrYupi

The point is that this file is redirected in the urlrewriter to the /bitrix/services/rest/ folder, most likely if B24 there may be a ban on access to non-automated users, or some other hat.
PS if anyone has a store + b24 for the store, make the same entry in urlrewriter so that you don’t catch an error

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question