Projet

Général

Profil

Bug #19241

Erreur 500 Webservice Archimed

Ajouté par Josué Kouka il y a plus de 6 ans. Mis à jour il y a plus de 5 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Josué Kouka
Catégorie:
-
Version cible:
-
Début:
06 octobre 2017
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Non
Planning:

Description

failed to GET https://mediatheques-test-entrouvert.montpellier3m.fr/_mandaye/ws/account/1253d18014f249778a27d2f6062a7b8f/?orig=compte-usager-test.montpellier3m.fr&algo=sha256&timestamp=2017-10-06T08%3A59%3A26Z&nonce=5f0bd59d8041c14318728abaafb9c691L&signature=K9Fzzi41zsByp1Ce0zFKjD4s5ADuTq5DF/0EJkZOjwU%3D (500)

Request repr(): 
<WSGIRequest
path:/ajax/cell/1/data_configjsoncell-1/,
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'A2_OPENED_SESSION': '1',
 'csrftoken': '3igk53PHelCpmJ7ppjByqXphJfwfuwyV',
 'csrftoken-13adf6': 'QKAatbsNlCJlCPYMDd7lQHWPmMMUtyKP',
 'sessionid-13adf6': 'py6yng9e2no4qcckyjeoyplyertif9ug'},
META:{u'CSRF_COOKIE': u'QKAatbsNlCJlCPYMDd7lQHWPmMMUtyKP',
 'HTTP_ACCEPT': 'text/html, */*; q=0.01',
 'HTTP_ACCEPT_ENCODING': 'gzip, deflate, br',
 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.5',
 'HTTP_CACHE_CONTROL': 'no-cache',
 'HTTP_CONNECTION': 'close',
 'HTTP_COOKIE': 'csrftoken=3igk53PHelCpmJ7ppjByqXphJfwfuwyV; A2_OPENED_SESSION=1; csrftoken-13adf6=QKAatbsNlCJlCPYMDd7lQHWPmMMUtyKP; sessionid-13adf6=py6yng9e2no4qcckyjeoyplyertif9ug',
 'HTTP_HOST': 'compte-usager-test.montpellier3m.fr',
 'HTTP_PRAGMA': 'no-cache',
 'HTTP_REFERER': 'https://compte-usager-test.montpellier3m.fr/',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0',
 'HTTP_X_FORWARDED_FOR': '80.12.92.47',
 'HTTP_X_FORWARDED_PROTO': 'https',
 'HTTP_X_FORWARDED_PROTOCOL': 'ssl',
 'HTTP_X_FORWARDED_SSL': 'on',
 'HTTP_X_REAL_IP': '80.12.92.47',
 'PATH_INFO': u'/ajax/cell/1/data_configjsoncell-1/',
 'QUERY_STRING': '',
 'RAW_URI': '/ajax/cell/1/data_configjsoncell-1/',
 'REMOTE_ADDR': '80.12.92.47',
 'REQUEST_METHOD': 'GET',
 'SCRIPT_NAME': u'',
 'SERVER_NAME': 'compte-usager-test.montpellier3m.fr',
 'SERVER_PORT': '443',
 'SERVER_PROTOCOL': 'HTTP/1.0',
 'SERVER_SOFTWARE': 'gunicorn/19.6.0',
 'gunicorn.socket': <socket._socketobject object at 0x7fe01866bad0>,
 'wsgi.errors': <gunicorn.http.wsgi.WSGIErrorsWrapper object at 0x7fe018de0cd0>,
 'wsgi.file_wrapper': <class 'gunicorn.http.wsgi.FileWrapper'>,
 'wsgi.input': <gunicorn.http.body.Body object at 0x7fe018d36b90>,
 'wsgi.multiprocess': True,
 'wsgi.multithread': False,
 'wsgi.run_once': False,
 'wsgi.url_scheme': 'https',
 'wsgi.version': (1, 0)}>
--===============2613806258467695847==
MIME-Version: 1.0
Content-Type: text/html; charset="utf-8" 
Content-Transfer-Encoding: 7bit

Historique

#1

Mis à jour par Josué Kouka il y a plus de 6 ans

  • Statut changé de Nouveau à Solution déployée

Un problème dans la config ssl de nginx.
La solution a été de ne plus passer forwaded le proto https pour /_mandaye/ws/

    location ~ ^/_mandaye/ws/(.+) {                                                                             
      proxy_pass  http://unix:/run/mandayejs/mandayejs.sock;
      proxy_set_header   Host $http_host;
      proxy_set_header   X-Real-IP       $remote_addr;
      proxy_set_header   X-Forwarded-For $proxy_add_x_forwarded_for;
      proxy_set_header   X-Forwarded-Host $server_name;
    }   

#2

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

  • Statut changé de Solution déployée à Fermé

Formats disponibles : Atom PDF