Projet

Général

Profil

Actions

Anomalie #1634

fermé

Bind telemetry action

Ajouté par Johan Cwiklinski il y a presque 2 ans. Mis à jour il y a 8 mois.

Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Catégorie:
-
Version cible:
-
Début:
08/06/2022
Echéance:
% réalisé:

100%

Temps estimé:
Version utilisée:

Description

When telemetry renewal popup appears, it seems that no actions are bound.

Mis à jour par Guillaume AGNIERAY il y a presque 2 ans

I am experiencing the same issue only when using a self signed wildcard certificate on my localhost :

Galette error:
Type: ErrorException
Message: get_headers(): Peer certificate CN=`*.localhost' did not match expected CN=`galette.localhost'
File: /home/guillaume/devel/galette/galette/lib/Galette/Util/Telemetry.php
Line: 153

Adding the following before source:galette/lib/Galette/Util/Telemetry.php@develop#L153 resolves the issue in such situation :

stream_context_set_default( [
    'ssl' => [
        'verify_peer' => false,
        'verify_peer_name' => false,
    ],
]);

Solution found here
But I'm not sure it's the right way to follow.

Mis à jour par Johan Cwiklinski il y a presque 2 ans

Guillaume Agniéray a écrit (#note-1):

I am experiencing the same issue only when using a self signed wildcard certificate on my localhost :

The same issue? DId you post this comment in the wrong ticket?

[...]

Adding the following before source:galette/lib/Galette/Util/Telemetry.php@develop#L153 resolves the issue in such situation :

[...]

Solution found here
But I'm not sure it's the right way to follow.

I guess that's not a problem, since this call is done only to get some information about local webserver for telemetry.

Mis à jour par Guillaume AGNIERAY il y a presque 2 ans

Johan Cwiklinski a écrit (#note-2):

The same issue? DId you post this comment in the wrong ticket?

No. I misunderstood the issue :D

Mis à jour par Johan Cwiklinski il y a presque 2 ans

Guillaume Agniéray a écrit (#note-3):

Johan Cwiklinski a écrit (#note-2):

The same issue? DId you post this comment in the wrong ticket?

No. I misunderstood the issue :D

OK, no problem :D

Anyway, this was still a real issue, and this should be fixed with proposed PR (Telemetry script has been done for GLPI at the origin, I just took back changes made since I integrate the script in Galette).

Mis à jour par Johan Cwiklinski il y a presque 2 ans

  • Statut changé de Nouveau à Résolu
  • % réalisé changé de 0 à 100

Mis à jour par Johan Cwiklinski il y a 8 mois

  • Statut changé de Résolu à Fermé
Actions

Formats disponibles : Atom PDF