Отсутствует подключение к internet

Добрый день!

MikoPBX 2022.3.15

Недавно в уведомлениях появилось сообщение “Отсутствует подключение к internet. Возможны проблемы в платных модулях”.

Станция расположена на виртуальной машине в VK cloud. Пинги до lic.miko.ru и lm.miko.ru идут. Что это может быть?

Фактически АТС выполняет проверку отправкой запроса GET:

curl https://lic.miko.ru/protect/v1/ping

сервер должен вернуть ответ:

<response action='ping' status='ok' message='pong' intcode='2000' extcode='0' />

Ссылка на исходники:

https://github.com/mikopbx/Core/blob/a249f09d3db61602e60bf830fd78d6ca7ae9ff88/src/AdminCabinet/Controllers/LicensingController.php#L77-L77

Вообщем пока ковырялся с этим вопросом, слетела привязка лицензии на атс. Ввожу строку с лицензией - страничка обновляется, как нивчем не бывало и все.

Если на сетевых адаптерах отключить DHCP и указать внешний DNS, например 1.1.1.1 и 1.0.0.1 тогда сообщение об отсутствии подключения к internet уходит. Но лицензию зарегистрировать все равно не получается.

Кстати в логах nast/gnatsd.log пишет:

[7656] 2022/11/29 18:38:32.465161 [WRN] No way to capture feature (33) as:

В логах модуля панели телефонии примерно также:

[8163] 2022/11/29 18:26:29.871836 [WRN] 192.168.77.104:56613 - cid:7 - No way to capture feature ([30]) as:

[8163] 2022/11/29 18:26:30.259681 [WRN] 192.168.77.106:54473 - cid:8 - No way to capture feature ([30]) as:

[8163] 2022/11/29 18:26:30.341746 [WRN] 192.168.77.102:55508 - cid:9 - No way to capture feature ([30]) as:

[8163] 2022/11/29 18:26:55.593618 [WRN] 192.168.77.108:63571 - cid:10 - No way to capture feature ([30]) as:

Чего ему не хватает?

Подключитесь к АТС по ssh, выполните команду:

curl -v 'https://lic.miko.ru/protect/v1/ping'

Какой получите результат? Как быстро получаете ответ?

Подключение по ssh:
https://wiki.mikopbx.ru/faq:putty

Вот вывод команды: 

~# curl -v 'https://lic.miko.ru/protect/v1/ping'

*   Trying 54.194.68.101:443...

* Connected to lic.miko.ru (54.194.68.101) port 443 (#0)

* ALPN, offering http/1.1

* successfully set certificate verify locations:

*  CAfile: /etc/curl/cacert.pem

*  CApath: none

* TLSv1.3 (OUT), TLS handshake, Client hello (1):

* TLSv1.3 (IN), TLS handshake, Server hello (2):

* TLSv1.2 (IN), TLS handshake, Certificate (11):

* TLSv1.2 (IN), TLS handshake, Server key exchange (12):

* TLSv1.2 (IN), TLS handshake, Server finished (14):

* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):

* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):

* TLSv1.2 (OUT), TLS handshake, Finished (20):

* TLSv1.2 (IN), TLS handshake, Finished (20):

* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256

* ALPN, server accepted to use http/1.1

* Server certificate:

*  subject: CN=lic.miko.ru

*  start date: Mar  4 16:04:24 2022 GMT

*  expire date: Apr  5 16:04:23 2023 GMT

*  subjectAltName: host "lic.miko.ru" matched cert's "lic.miko.ru"

*  issuer: C=BE; O=GlobalSign nv-sa; CN=AlphaSSL CA - SHA256 - G2

*  SSL certificate verify ok.

> GET /protect/v1/ping HTTP/1.1

> Host: lic.miko.ru

> User-Agent: curl/7.74.0

> Accept: */*

>

* Mark bundle as not supporting multiuse

< HTTP/1.1 200 OK

< Date: Tue, 29 Nov 2022 17:59:14 GMT

< Content-Type: text/html; charset=UTF-8

< Transfer-Encoding: chunked

< Connection: keep-alive

< Server: nginx/1.20.0

< X-Powered-By: PHP/7.4.21

< RESP_HASH: 8845a4ffb697feafb3bf98f983df2e50

< RESP_TIME: 1669744754

< X-Cached: MISS

<

* Connection #0 to host lic.miko.ru left intact

<response action='ping' status='ok' message='pong' intcode='2000' extcode='0' />   

 ответ приходит сразуже