Projet

Général

Profil

Izar to Jabbah

Ajouté par Antoine TIXIER il y a plus d'un an

Bonjour,

Toujours dans les tests de migration d'une LTS vers une autre, Izar vers Jabbah s'est globalement bien passé (téléphone vers téléphone OK)

Par contre, je suis confronté à un refus du serveur nginx (502) pour les connexions entrantes provenant du Desktop Client "/ucassistant", ou sur "/" et "/switchboard"

"/admin" passe par contre sans problème.

2023/04/06 13:40:58 [error] 12#12: *2580 connect() failed (111: Connection refused) while connecting to upstream, client: 127.0.0.1, server: $domain, request: "GET /external_api.js HTTP/1.0", upstream: "http://172.17.0.1:8070/external_api.js", host: "xivo.local.domain"
2023/04/06 13:40:58 [error] 11#11: *2576 connect() failed (111: Connection refused) while connecting to upstream, client: *ipMachineCliente*, server: $domain, request: "GET /ucassistant HTTP/1.1", upstream: "http://172.17.0.1:8070/ucassistant", host: "xivo.local.domain"

Après désactivation de fail2ban et purge des iptables + Policy à ACCEPT, pas mieux

Où peut t on trouver l'équivalent des virtualhost sous nginx pour voir s'il est bien à l'écoute sur le 8070 ?


Réponses (3)

RE: Izar to Jabbah - Ajouté par Antoine TIXIER il y a plus d'un an

Auto-réponse : xucmgt n'était pas dans la dernière version, après un pull tout fonctionne.

08c5b03e8e90   xivoxc/xuc:2022.10.latest                        "bin/xuc_docker"          2 hours ago    Up 2 hours             0.0.0.0:8090->9000/tcp, :::8090->9000/tcp                                                                             xivocc_xuc_1
04d759e7b754   xivoxc/recording-server:2022.10.latest           "bin/recording-serve…"    2 hours ago    Up 2 hours             0.0.0.0:9400->9000/tcp, :::9400->9000/tcp                                                                             xivocc_recording_server_1
8013ff4a2380   xivoxc/mattermost:2022.10.latest                 "/entrypoint.sh matt…"    2 hours ago    Up 2 hours (healthy)   8000/tcp                                                                                                              xivocc_mattermost_1
0afd85bf2e71   xivoxc/pgxivocc:2022.10.latest                   "docker-entrypoint.s…"    2 hours ago    Up 2 hours             0.0.0.0:5443->5432/tcp, :::5443->5432/tcp                                                                             xivocc_pgxivocc_1
b0429c7b2304   xivoxc/xivo-db-replication:2022.10.latest        "/usr/local/bin/star…"    2 hours ago    Up About an hour                                                                                                                             xivo_db_replic_1
84f962f7ff0f   xivoxc/xivo-switchboard-reports:2022.10.latest   "bin/xivo-switchboar…"    2 hours ago    Up About an hour       127.0.0.1:9510->9510/tcp                                                                                              xivo_switchboard_reports_1
57276ac87916   xivoxc/xivo-outcall:2022.10.latest               "bin/xivo-outcall-do…"    2 hours ago    Up About an hour                                                                                                                             xivo_outcall_1
838788d0352f   xivoxc/config-mgt:2022.10.latest                 "bin/config-mgt-dock…"    2 hours ago    Up About an hour       0.0.0.0:9100->9000/tcp, :::9100->9000/tcp                                                                             xivo_config_mgt_1
e12bc93e6a87   xivoxc/xivo-ctid:2022.10.latest                  "/usr/local/bin/dock…"    2 hours ago    Up About an hour                                                                                                                             xivo_ctid_1
b7d258bd5416   xivoxc/xivo-proxy:2022.10.latest                 "/docker-entrypoint.…"    2 hours ago    Up 2 hours                                                                                                                                   xivo_proxy_1
c51652927d6e   xivoxc/xivo-webi:2022.10.latest                  "docker-php-entrypoi…"    2 hours ago    Up 2 hours             9000/tcp, 0.0.0.0:9090->9090/tcp, :::9090->9090/tcp                                                                   xivo_webi_1
8b0e2ff66049   xivoxc/xivo-nginx:2022.10.latest                 "/usr/local/bin/dock…"    2 hours ago    Up 2 hours             0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp, 0.0.0.0:8443->8443/tcp, :::8443->8443/tcp   xivo_nginx_1
e53bb13a57ed   xivoxc/xivo-db:2022.10.latest                    "docker-entrypoint.s…"    2 hours ago    Up 2 hours             0.0.0.0:5432->5432/tcp, :::5432->5432/tcp                                                                             xivo_db_1
9841ab7ddb5a   xivoxc/rabbitmq:2022.10.latest                   "docker-entrypoint.s…"    2 hours ago    Up 2 hours                                                                                                                                   xivo_rabbitmq_1
c256a8edb523   xivoxc/xivo-full-stats:2022.05.latest            "/usr/local/bin/star…"    4 months ago   Up 2 hours                                                                                                                                   xivocc_xivo_stats_1
612a9c5760f2   xivoxc/pack-reporting:2022.05.latest             "/bin/sh -c 'echo \"W…"   4 months ago   Up 42 minutes                                                                                                                                xivocc_pack_reporting_1
dd66ae586e05   **xivoxc/xucmgt:2022.05.latest**                     "bin/xucmgt_docker"       4 months ago   Up 42 minutes          127.0.0.1:8070->9000/tcp                                                                                              xivocc_xucmgt_1
c5b8ec944554   **xivoxc/xucmgt:2022.10.latest**                     "bin/xucmgt_docker"       4 hours ago    Up 4 hours             0.0.0.0:8070->9000/tcp, :::8070->9000/tcp                                                                             xivocc_xucmgt_1
08c5b03e8e90   xivoxc/xuc:2022.10.latest                        "bin/xuc_docker"          6 hours ago    Up 6 hours             0.0.0.0:8090->9000/tcp, :::8090->9000/tcp                                                                             xivocc_xuc_1
04d759e7b754   xivoxc/recording-server:2022.10.latest           "bin/recording-serve…"    6 hours ago    Up 6 hours             0.0.0.0:9400->9000/tcp, :::9400->9000/tcp                                                                             xivocc_recording_server_1
8013ff4a2380   xivoxc/mattermost:2022.10.latest                 "/entrypoint.sh matt…"    6 hours ago    Up 6 hours (healthy)   8000/tcp                                                                                                              xivocc_mattermost_1
0afd85bf2e71   xivoxc/pgxivocc:2022.10.latest                   "docker-entrypoint.s…"    6 hours ago    Up 6 hours             0.0.0.0:5443->5432/tcp, :::5443->5432/tcp                                                                             xivocc_pgxivocc_1
b0429c7b2304   xivoxc/xivo-db-replication:2022.10.latest        "/usr/local/bin/star…"    6 hours ago    Up 39 seconds                                                                                                                                xivo_db_replic_1
84f962f7ff0f   xivoxc/xivo-switchboard-reports:2022.10.latest   "bin/xivo-switchboar…"    6 hours ago    Up 41 seconds          127.0.0.1:9510->9510/tcp                                                                                              xivo_switchboard_reports_1
57276ac87916   xivoxc/xivo-outcall:2022.10.latest               "bin/xivo-outcall-do…"    6 hours ago    Up 44 seconds                                                                                                                                xivo_outcall_1
838788d0352f   xivoxc/config-mgt:2022.10.latest                 "bin/config-mgt-dock…"    6 hours ago    Up 45 seconds          0.0.0.0:9100->9000/tcp, :::9100->9000/tcp                                                                             xivo_config_mgt_1
e12bc93e6a87   xivoxc/xivo-ctid:2022.10.latest                  "/usr/local/bin/dock…"    6 hours ago    Up 46 seconds                                                                                                                                xivo_ctid_1
b7d258bd5416   xivoxc/xivo-proxy:2022.10.latest                 "/docker-entrypoint.…"    6 hours ago    Up 6 hours                                                                                                                                   xivo_proxy_1
c51652927d6e   xivoxc/xivo-webi:2022.10.latest                  "docker-php-entrypoi…"    6 hours ago    Up 6 hours             9000/tcp, 0.0.0.0:9090->9090/tcp, :::9090->9090/tcp                                                                   xivo_webi_1
8b0e2ff66049   xivoxc/xivo-nginx:2022.10.latest                 "/usr/local/bin/dock…"    6 hours ago    Up 6 hours             0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp, 0.0.0.0:8443->8443/tcp, :::8443->8443/tcp   xivo_nginx_1
e53bb13a57ed   xivoxc/xivo-db:2022.10.latest                    "docker-entrypoint.s…"    6 hours ago    Up 6 hours             0.0.0.0:5432->5432/tcp, :::5432->5432/tcp                                                                             xivo_db_1
9841ab7ddb5a   xivoxc/rabbitmq:2022.10.latest                   "docker-entrypoint.s…"    6 hours ago    Up 6 hours                                                                                                                                   xivo_rabbitmq_1
c256a8edb523   xivoxc/xivo-full-stats:2022.05.latest            "/usr/local/bin/star…"    4 months ago   Up 6 hours                                                                                                                                   xivocc_xivo_stats_1
612a9c5760f2   xivoxc/pack-reporting:2022.05.latest             "/bin/sh -c 'echo \"W…"   4 months ago   Up 5 hours                                                                                                                                   xivocc_pack_reporting_1

RE: Izar to Jabbah - Ajouté par Laurent MEILLER il y a plus d'un an

Attention, il semble que certains modules de stats soit encore resté en Izar....

Bizarre, avez vous eu un problème de téléchargement des images docker ?

RE: Izar to Jabbah - Ajouté par Antoine TIXIER il y a plus d'un an

Effectivement, je n'avais pas noté de problème de téléchargement sur la MaJ, j'ai relancé un pull global. N'étaient pas à jour : xuc, xucmgt, xivo-full-stats et pack-reporting

Merci.

CONTAINER ID   IMAGE                                            COMMAND                   CREATED          STATUS                PORTS                                                                                                                 NAMES
6dd6ce8583fe   xivoxc/xivo-full-stats:2022.10.latest            "/usr/local/bin/star…"    18 seconds ago   Up 18 seconds                                                                                                                               xivocc_xivo_stats_1
1b40fd19d8c6   xivoxc/pack-reporting:2022.10.latest             "/bin/sh -c 'echo \"W…"   19 seconds ago   Up 18 seconds                                                                                                                               xivocc_pack_reporting_1
c70841739f5d   xivoxc/xuc:2022.10.latest                        "bin/xuc_docker"          3 days ago       Up 3 days             0.0.0.0:8090->9000/tcp, :::8090->9000/tcp                                                                             xivocc_xuc_1
04a117d84a08   xivoxc/recording-server:2022.10.latest           "bin/recording-serve…"    3 days ago       Up 3 days             0.0.0.0:9400->9000/tcp, :::9400->9000/tcp                                                                             xivocc_recording_server_1
c22fd8af3872   xivoxc/mattermost:2022.10.latest                 "/entrypoint.sh matt…"    3 days ago       Up 3 days (healthy)   8000/tcp                                                                                                              xivocc_mattermost_1
be26097eb8ca   xivoxc/pgxivocc:2022.10.latest                   "docker-entrypoint.s…"    3 days ago       Up 3 days             0.0.0.0:5443->5432/tcp, :::5443->5432/tcp                                                                             xivocc_pgxivocc_1
6e7b1b122e41   xivoxc/xucmgt:2022.10.latest                     "bin/xucmgt_docker"       3 days ago       Up 3 days             0.0.0.0:8070->9000/tcp, :::8070->9000/tcp                                                                             xivocc_xucmgt_1
eca8abfd4bdd   xivoxc/config-mgt:2022.10.latest                 "bin/config-mgt-dock…"    3 days ago       Up 3 days             0.0.0.0:9100->9000/tcp, :::9100->9000/tcp                                                                             xivo_config_mgt_1
4447fd95df7f   xivoxc/xivo-switchboard-reports:2022.10.latest   "bin/xivo-switchboar…"    3 days ago       Up 3 days             127.0.0.1:9510->9510/tcp                                                                                              xivo_switchboard_reports_1
ebd85df1443c   xivoxc/xivo-outcall:2022.10.latest               "bin/xivo-outcall-do…"    3 days ago       Up 3 days                                                                                                                                   xivo_outcall_1
0fa4b55295c0   xivoxc/xivo-db-replication:2022.10.latest        "/usr/local/bin/star…"    3 days ago       Up 3 days                                                                                                                                   xivo_db_replic_1
eee5e9876064   xivoxc/xivo-ctid:2022.10.latest                  "/usr/local/bin/dock…"    3 days ago       Up 3 days                                                                                                                                   xivo_ctid_1
17eadb253b44   xivoxc/xivo-proxy:2022.10.latest                 "/docker-entrypoint.…"    3 days ago       Up 3 days                                                                                                                                   xivo_proxy_1
54709457fad1   xivoxc/xivo-webi:2022.10.latest                  "docker-php-entrypoi…"    3 days ago       Up 3 days             9000/tcp, 0.0.0.0:9090->9090/tcp, :::9090->9090/tcp                                                                   xivo_webi_1
c30c6607cb58   xivoxc/xivo-nginx:2022.10.latest                 "/usr/local/bin/dock…"    3 days ago       Up 3 days             0.0.0.0:80->80/tcp, :::80->80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp, 0.0.0.0:8443->8443/tcp, :::8443->8443/tcp   xivo_nginx_1
2c730e9adff5   xivoxc/xivo-db:2022.10.latest                    "docker-entrypoint.s…"    3 days ago       Up 3 days             0.0.0.0:5432->5432/tcp, :::5432->5432/tcp                                                                             xivo_db_1
98ef79c025fa   xivoxc/rabbitmq:2022.10.latest                   "docker-entrypoint.s…"    3 days ago       Up 3 days                                                                                                                                   xivo_rabbitmq_1
    (1-3/3)