Zero Block
Click "Block Editor" to enter the edit mode. Use layers, shapes and customize adaptability. Everything is in your hands.
Tilda Publishing
create your own block from scratch
Zero Block
Click "Block Editor" to enter the edit mode. Use layers, shapes and customize adaptability. Everything is in your hands.
Tilda Publishing
create your own block from scratch
Фронт зависає на етапі встановлення з'єднання з ГК (Synchronization blocked by common entities main cash revision mismatch)
Симптоми
Варіант 1: В common-entities.log або front-update-service.log побачимо ось таку помилку
[2025-01-08 18:56:08,681] DEBUG [ 9] - Communication exception on DESKTOP-OU9EP28 (e1e342fd-81ea-4dd1-864a-12d789a32331) remote service call: Error in deserializing body of reply message for operation 'GetEntities'. The maximum array length quota (10000000) has been exceeded while reading XML data. This quota may be increased by changing the MaxArrayLength property on the XmlDictionaryReaderQuotas object used when creating the XML reader.

[2025-01-08 18:56:34,883] DEBUG [55] - Communication exception on DESKTOP-OU9EP28 (e1e342fd-81ea-4dd1-864a-12d789a32331) remote service call: Could not connect to net.tcp://169.254.93.116:8506/v8.8.8001.0/CommonEntitiesSynchronization. The connection attempt lasted for a time span of 00:00:15. TCP error code 10060: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 169.254.93.116:8506.
ВАЖЛИВО!!!

1) На фронті відсутні заблоковані замовлення або вже проведено скидання блокувань (приклад задачі)
2) На веденому фронті та головній касі налаштовано один тип мережі та прописано доступність в брандмауері порту 8506 (приклад задачі)

Варіант 2: В front-update-service.log побачимо ось таке повідомлення
[2024-07-30 21:20:16,801]  INFO [SynchronizationThread] - Synchronization blocked by common entities main cash revision mismatch. Known main cash revision is 5170901, but terminal has only 1320000
[2024-07-30 21:20:16,801]  INFO [SynchronizationThread] - Synchronization blocked by common entities main cash revision mismatch. Known main cash revision is 5170901, but terminal has only 1320000
[2024-07-30 21:20:16,801]  INFO [SynchronizationThread] - Synchronization blocked by common entities main cash revision mismatch. Known main cash revision is 5170901, but terminal has only 1320000
[2024-07-30 21:20:16,801]  INFO [SynchronizationThread] - Synchronization blocked by common entities main cash revision mismatch. Known main cash revision is 5170901, but terminal has only 1320000
[2024-07-30 21:20:16,801]  INFO [SynchronizationThread] - Synchronization blocked by common entities main cash revision mismatch. Known main cash revision is 5170901, but terminal has only 1320000
[2024-07-30 21:20:16,801]  INFO [SynchronizationThread] - Synchronization blocked by common entities main cash revision mismatch. Known main cash revision is 5170901, but terminal has only 1320000
Цей рядок повторюється на протязі довгого часу (орієнтовно до 10 хвилин), і не змінюється друге значення (but terminal has only 1320000)

Обидва види симптомів ведуть до однієї і тієї ж причини.
Проблема актуальна до версії 9.0.х, оскільки починаючи з 9.0.х те про що будемо говорити в цій статті уже зроблено по замовчуванню
Як лікувати
Проблему можна вирішити двума способами:
1) Підкласти базу даних entities.sdf з головної каси на ведений термінал
В цьому варіанті складного нічого немає, просто забираємо основну БД з ГК, де є вже всі необхідні дані і підкидуємо на ведений термінал

2) Виправити файл serviceModel.Bindings
2.1) Зупиняємо фронт
2.2) Заходимо в папку встановлення фронту ...\Front.Net\Config
2.3) Відкриваємо блокнотом файл serviceModel.Bindings
2.4) Виправити значення двух тегів так, як вказано нижче на картинці (замість 10000000 вказати 2147483647), зберегти зміни!
2.5) Запустити фронт
2.6) Повторити це на всіх фронтах в конкретній групі, включно з ГК