Project

General

Profile

Scénario #34046

Internal Server Error EOP

Added by moncef ziani almost 2 years ago. Updated almost 2 years ago.

Status:
Terminé (Sprint)
Priority:
Normal
Assigned To:
Category:
-
Start date:
04/19/2022
Due date:
05/06/2022
% Done:

100%

Story points:
1.0
Remaining (hours):
0.00 hour
Velocity based estimate:
Release:
Release relationship:
Auto

Description

Bonjour,

Depuis un certain temps lorsque nous accédons à EOP nous avons le message : "Internal Server Error"

Pour information nous sommes sur des scribe en 2.7.2.

Ci-dessous les logs disponibles dans /var/log/eoleflask/eop.log

2022-04-13 07:59:30,083: eop ERROR log_exception - Exception on /documents [GET]
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1982, in wsgi_app
response = self.full_dispatch_request()
File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1614, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1517, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1612, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/lib/python2.7/dist-packages/flask/app.py", line 1598, in dispatch_request
return self.view_functions[rule.endpoint](
*req.view_args)
File "/usr/lib/python2.7/dist-packages/eoleauthlib/authclient.py", line 193, in decorated_function
return f(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/eop/modules/documents/documents.py", line 25, in show
return render_template('documents/documents.html', username=username, form=form, form4=form4, form5=form5, url_logout=url_logout, max_upload_file_size = current_app.config['MAX_UPLOAD_FILE_SIZE'])
File "/usr/lib/python2.7/dist-packages/flask/templating.py", line 134, in render_template
context, ctx.app)
File "/usr/lib/python2.7/dist-packages/flask/templating.py", line 116, in _render
rv = template.render(context)
File "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 1008, in render
return self.environment.handle_exception(exc_info, True)
File "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 780, in handle_exception
reraise(exc_type, exc_value, tb)
File "/usr/share/eole/flask/eop/templates/documents/documents.html", line 2, in top-level template code {% set letitre = "Gestion des documents" %}
File "/usr/share/eole/flask/eop/templates/layout.html", line 34, in top-level template code {% set menus = get_user_menus() %}
File "/usr/lib/python2.7/dist-packages/eop/utils.py", line 159, in get_user_menus
etabadmin = est_admin_etab()
File "/usr/lib/python2.7/dist-packages/eop/utils.py", line 90, in est_admin_etab
return proxy.remote_est_admin_etab(username)
File "/usr/lib/python2.7/xmlrpclib.py", line 1243, in call
return self.__send(self.__name, args)
File "/usr/lib/python2.7/xmlrpclib.py", line 1602, in _request
verbose=self.
_verbose
File "/usr/lib/python2.7/xmlrpclib.py", line 1283, in request
return self.single_request(host, handler, request_body, verbose)
File "/usr/lib/python2.7/xmlrpclib.py", line 1316, in single_request
return self.parse_response(response)
File "/usr/lib/python2.7/xmlrpclib.py", line 1493, in parse_response
return u.close()
File "/usr/lib/python2.7/xmlrpclib.py", line 800, in close
raise Fault(*self._stack0)
Fault: <Fault 8002: 'error'>

Dans l'attente de votre retour.

Cordaielement


Subtasks

Tâche #34081: Pouvoir distribuer des devoirsFerméEmmanuel GARETTE

History

#1 Updated by Emmanuel GARETTE almost 2 years ago

Bonjour,

L'erreur que l'on voit signifie qu'il y a un problème dans le service controle-vnc. Pourriez-vous également fournir les logs de ce logiciel ?

Cordialement,

#2 Updated by moncef ziani almost 2 years ago

comme demandé, vous trouverez ci-dessous les logs controle-vnc se situant dans /var/log/rsyslog/local/controle-vnc/controle-vnc.info.log

2022-04-13T06:57:00.625053+02:00 s1peda.290045s.ac-rennes.fr controle-vnc25058: 2022-04-13T06:57:00+0200 [_GenericHTTPChannelProtocol,8,127.0.0.1] Unhandled Error
2022-04-13T06:57:00.625172+02:00 s1peda.290045s.ac-rennes.fr controle-vnc25058: #011Traceback (most recent call last):
2022-04-13T06:57:00.625212+02:00 s1peda.290045s.ac-rennes.fr controle-vnc25058: #011 File "/usr/lib/python2.7/dist-packages/twisted/web/server.py", line 195, in process
2022-04-13T06:57:00.625247+02:00 s1peda.290045s.ac-rennes.fr controle-vnc25058: #011 self.render(resrc)
2022-04-13T06:57:00.625284+02:00 s1peda.290045s.ac-rennes.fr controle-vnc25058: #011 File "/usr/lib/python2.7/dist-packages/twisted/web/server.py", line 255, in render
2022-04-13T06:57:00.625321+02:00 s1peda.290045s.ac-rennes.fr controle-vnc25058: #011 body = resrc.render(self)
2022-04-13T06:57:00.625354+02:00 s1peda.290045s.ac-rennes.fr controle-vnc25058: #011 File "/usr/lib/python2.7/dist-packages/twisted/web/resource.py", line 250, in render
2022-04-13T06:57:00.625386+02:00 s1peda.290045s.ac-rennes.fr controle-vnc25058: #011 return m(request)
2022-04-13T06:57:00.625418+02:00 s1peda.290045s.ac-rennes.fr controle-vnc25058: #011 File "/usr/lib/python2.7/dist-packages/twisted/web/xmlrpc.py", line 172, in render_POST
2022-04-13T06:57:00.625451+02:00 s1peda.290045s.ac-rennes.fr controle-vnc25058: #011 d = defer.maybeDeferred(function, *args)
2022-04-13T06:57:00.625483+02:00 s1peda.290045s.ac-rennes.fr controle-vnc25058: #011--- <exception caught here> ---
2022-04-13T06:57:00.625523+02:00 s1peda.290045s.ac-rennes.fr controle-vnc25058: #011 File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 150, in maybeDeferred
2022-04-13T06:57:00.625556+02:00 s1peda.290045s.ac-rennes.fr controle-vnc25058: #011 result = f(*args, **kw)
2022-04-13T06:57:00.625594+02:00 s1peda.290045s.ac-rennes.fr controle-vnc25058: #011 File "/usr/share/eole/controlevnc/xmlrpc_eop.py", line 118, in xmlrpc_remote_est_admin_etab
2022-04-13T06:57:00.625627+02:00 s1peda.290045s.ac-rennes.fr controle-vnc25058: #011 adminetab = "admin-" + etab
2022-04-13T06:57:00.625660+02:00 s1peda.290045s.ac-rennes.fr controle-vnc25058: #011exceptions.TypeError: cannot concatenate 'str' and 'NoneType' objects
2022-04-13T06:57:00.625697+02:00 s1peda.290045s.ac-rennes.fr controle-vnc25058: #011

Je vous remercie pour votre aide.

Cordialement

#3 Updated by Joël Cuissinat almost 2 years ago

  • Tracker changed from Demande to Scénario
  • Start date deleted (04/13/2022)
  • Release set to Carnet de produit (Cadoles)
  • Story points set to 1.0

#4 Updated by Emmanuel GARETTE almost 2 years ago

  • Due date set to 05/06/2022
  • Target version set to Prestation Cadoles MEN 2022 16-18
  • Start date set to 04/19/2022

#5 Updated by Emmanuel GARETTE almost 2 years ago

  • Status changed from Nouveau to En cours
  • Assigned To set to Emmanuel GARETTE

#6 Updated by Joël Cuissinat almost 2 years ago

  • Status changed from En cours to Terminé (Sprint)
  • Release changed from Carnet de produit (Cadoles) to EOLE 2.7.2

Also available in: Atom PDF