Project

General

Profile

Segnalazione #126

Timeout xmlrpc nella creazione di utenti

Added by Enrico Zini over 7 years ago. Updated about 7 years ago.

Status:
Chiuso
Priority:
Normale
Assignee:
Start date:
12/20/2016
Due date:
% Done:

0%

Estimated time:

Description

https://paste.truelite.it/jNVw3WTZ

Traceback:
File "/usr/lib/python3/dist-packages/django/core/handlers/base.py" in get_response
  132.                     response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python3/dist-packages/django/views/generic/base.py" in view
  71.             return self.dispatch(request, *args, **kwargs)
File "/usr/share/octonet/octonet/mixins.py" in dispatch
  101.         return super().dispatch(request, *args, **kw)
File "/usr/lib/python3/dist-packages/django/views/generic/base.py" in dispatch
  89.         return handler(request, *args, **kwargs)
File "/usr/lib/python3/dist-packages/django/views/generic/edit.py" in post
  215.             return self.form_valid(form)
File "/usr/share/octonet/users/views.py" in form_valid
  217.                 tree.create(user["uid"], user)
File "/usr/lib/python3/dist-packages/octofuss/tree.py" in create
  114.         return self.lcreate(_tolist(path), value)
File "/usr/lib/python3/dist-packages/octofuss/tree.py" in lcreate
  169.         return self.tree.lcreate(self.root + path, value, **kw)
File "/usr/lib/python3/dist-packages/octofuss/xmlrpc.py" in lcreate
  84.         return self._wrap_call(self.server.create, "/".join(path), dumps(value))
File "/usr/lib/python3/dist-packages/octofuss/xmlrpc.py" in _wrap_call
  44.                 raise UnknownException(msg)

Exception Type: UnknownException at /users/csvimport
Exception Value: error receiving data: timed out

Files

utenti.csv (115 KB) utenti.csv Christopher R. Gabriel, 01/18/2017 11:09 AM
reproduce126 (579 Bytes) reproduce126 Enrico Zini, 01/27/2017 12:10 PM

History

#1

Updated by Christopher R. Gabriel about 7 years ago

Ti allego un file per fare prove.

#2

Updated by Christopher R. Gabriel about 7 years ago

  • Assignee set to Mark Caglienzi
#3

Updated by Mark Caglienzi about 7 years ago

  • Status changed from Nuovo to In elaborazione
#4

Updated by Enrico Zini about 7 years ago

Allego uno script per cercare di riprodurre l'issue, e non riesco a riprodurlo sul mio sistema (Debian testing).

Sono arrivato a pensare che potesse essere octofussd che gira in un terminale lento, e che viene rallentato dalla velocità dello scrolling sul terminale, in modo da dare timeout non solo all'interno della chiamata xmlrpc ma anche proprio all'inizio della chiamata xmlrpc, ma anche dando ^S/^Q sul terminale di octofussd non sono riuscito a riprodurlo :/

Christopher, puoi provare a lanciare lo script nel tuo sistema di test e vedere se riproduce la cosa?

#5

Updated by Christopher R. Gabriel about 7 years ago

  • Status changed from In elaborazione to Commenti
  • Assignee changed from Christopher R. Gabriel to Enrico Zini

non riesco a riprodurlo, arriva in fondo senza problemi, pure facendo scrolling sul terminale.

#6

Updated by Enrico Zini about 7 years ago

  • Status changed from Commenti to Chiuso

Ok, se non si riproduce piú allora chiudiamo.

Also available in: Atom PDF