Projet

Général

Profil

Development #32771

portail-famille.meyzieu.fr: invalid json

Ajouté par Christophe Siraut il y a presque 5 ans. Mis à jour il y a presque 5 ans.

Statut:
Rejeté
Priorité:
Normal
Assigné à:
-
Catégorie:
-
Version cible:
-
Début:
03 mai 2019
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Non
Planning:
Non

Description

Depuis la tentative de déplacement de cette instance vers le nouveau SaaS, ensuite rollback, nous recevons des traces:

invalid json:

Request repr(): unavailable

Dans mandaye/utils.py un subprocess est lancé avec:

['/opt/phantomjs/bin/phantomjs', '--ignore-ssl-errors=yes', '--ssl-protocol=any', '/usr/lib/python2.7/dist-packages/mandayejs/do_login.js']

mais phatomjs donne :

PhantomJS process timeout, context: {'cookies': [], 'address': 'https://portail-famille.meyzieu.fr/meyzieu/auth/teamnetauth', 'auth_checker': u'/var/lib/mandayejs/collectstatic/teamnet/js/auth.checker.js', 'form_submit_element': u"input[type=submit][value='Me connecter']"}

Historique

#2

Mis à jour par Frédéric Péters il y a presque 5 ans

  • Statut changé de Nouveau à Rejeté

Il y avait dans le settings.d/ l'environnement modifié pour les futures versions de phantomjs, incompatible.

 $ QT_QPA_PLATFORM=offscreen QT_QPA_FONTDIR=/usr/share/fonts /opt/phantomjs/bin/phantomjs --ignore-ssl-errors=yes --ssl-protocol=any /usr/lib/python2.7/dist-packages/mandayejs/do_login.js < /tmp/in 
This application failed to start because it could not find or load the Qt platform plugin "offscreen".

Available platform plugins are: phantom.

Reinstalling the application may fix this problem.
PhantomJS has crashed. Please read the bug reporting guide at
<http://phantomjs.org/bug-reporting.html> and file a bug report.
Abandon

Formats disponibles : Atom PDF