Hola a todos.
estoy presentando este mismo error.
el contenido de los logs por si ayuda es:
`[pid: 1598|app: 0|req: 149/350] 190.145.254.110 () {76 vars in 2095 bytes} [Tue May 3 16:44:19 2022] POST /grabacion/buscar/1/ => generated 44095 bytes in 119 msecs (HTTP/1.1 200) 7 headers in 421 bytes (1 switches on core 0)
[pid: 1598|app: 0|req: 150/351] 190.145.254.110 () {64 vars in 1610 bytes} [Tue May 3 16:44:19 2022] GET /jsi18n/ => generated 3328 bytes in 11 msecs (HTTP/1.1 200) 6 headers in 260 bytes (2 switches on core 0)
2022-05-03 16:44:19,632 [ ERROR] django.request - Internal Server Error: /api/v1/grabacion/archivo/
Traceback (most recent call last):
File "/opt/omnileads/virtualenv/lib64/python3.6/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/opt/omnileads/virtualenv/lib64/python3.6/site-packages/django/core/handlers/base.py", line 115, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/opt/omnileads/virtualenv/lib64/python3.6/site-packages/django/core/handlers/base.py", line 113, in get_response
response = wrapped_callback(request, callback_args, **callback_kwargs)
File "/usr/lib64/python3.6/contextlib.py", line 52, in inner
return func(args, **kwds)
File "/opt/omnileads/virtualenv/lib64/python3.6/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
return view_func(*args, **kwargs)
File "/opt/omnileads/virtualenv/lib64/python3.6/site-packages/django/views/generic/base.py", line 71, in view
return self.dispatch(request, *args, **kwargs)
File "/opt/omnileads/virtualenv/lib64/python3.6/site-packages/rest_framework/views.py", line 505, in dispatch
response = self.handle_exception(exc)
File "/opt/omnileads/virtualenv/lib64/python3.6/site-packages/rest_framework/views.py", line 465, in handle_exception
self.raise_uncaught_exception(exc)
File "/opt/omnileads/virtualenv/lib64/python3.6/site-packages/rest_framework/views.py", line 476, in raise_uncaught_exception
raise exc
File "/opt/omnileads/virtualenv/lib64/python3.6/site-packages/rest_framework/views.py", line 502, in dispatch
response = handler(request, args, **kwargs)
File "/opt/omnileads/ominicontacto/api_app/views/grabaciones.py", line 55, in get
return HttpResponseRedirect(s3_handler.get_file_url(filename))
File "/opt/omnileads/ominicontacto/api_app/services/storage_service.py", line 64, in get_file_url
ExpiresIn=3600)
File "/opt/omnileads/virtualenv/lib64/python3.6/site-packages/botocore/signers.py", line 587, in generate_presigned_url
params = self.emit_api_params(params, operation_model, context)
File "/opt/omnileads/virtualenv/lib64/python3.6/site-packages/botocore/client.py", line 770, in emit_api_params
params=api_params, model=operation_model, context=context)
File "/opt/omnileads/virtualenv/lib64/python3.6/site-packages/botocore/hooks.py", line 357, in emit
return self.emitter.emit(aliased_event_name, kwargs)
File "/opt/omnileads/virtualenv/lib64/python3.6/site-packages/botocore/hooks.py", line 228, in emit
return self._emit(event_name, kwargs)
File "/opt/omnileads/virtualenv/lib64/python3.6/site-packages/botocore/hooks.py", line 211, in emit
response = handler(kwargs)
File "/opt/omnileads/virtualenv/lib64/python3.6/site-packages/botocore/handlers.py", line 253, in validate_bucket_name
raise ParamValidationError(report=error_msg)
botocore.exceptions.ParamValidationError: Parameter validation failed:
Invalid bucket name "": Bucket name must match the regex "^[a-zA-Z0-9.-]{1,255}$" or be an ARN matching the regex "arn🙁aws).🙁s3|s3-object-lambda):[a-z-0-9]:[0-9]{12}:accesspoint[/:][a-zA-Z0-9-.]{1,63}$|arn🙁aws).:s3-outposts:[a-z-0-9]+:[0-9]{12}:outpost[/:][a-zA-Z0-9-]{1,63}[/:]accesspoint[/:][a-zA-Z0-9-]{1,63}$"
==> /opt/omnileads/log/django.log <==
2022-05-03 16:44:19,632 [ ERROR] django.request - Internal Server Error: /api/v1/grabacion/archivo/
Traceback (most recent call last):
File "/opt/omnileads/virtualenv/lib64/python3.6/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/opt/omnileads/virtualenv/lib64/python3.6/site-packages/django/core/handlers/base.py", line 115, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/opt/omnileads/virtualenv/lib64/python3.6/site-packages/django/core/handlers/base.py", line 113, in get_response
response = wrapped_callback(request, callback_args, **callback_kwargs)
File "/usr/lib64/python3.6/contextlib.py", line 52, in inner
return func(args, **kwds)
File "/opt/omnileads/virtualenv/lib64/python3.6/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
return view_func(*args, **kwargs)
File "/opt/omnileads/virtualenv/lib64/python3.6/site-packages/django/views/generic/base.py", line 71, in view
return self.dispatch(request, *args, **kwargs)
File "/opt/omnileads/virtualenv/lib64/python3.6/site-packages/rest_framework/views.py", line 505, in dispatch
response = self.handle_exception(exc)
File "/opt/omnileads/virtualenv/lib64/python3.6/site-packages/rest_framework/views.py", line 465, in handle_exception
self.raise_uncaught_exception(exc)
File "/opt/omnileads/virtualenv/lib64/python3.6/site-packages/rest_framework/views.py", line 476, in raise_uncaught_exception
raise exc
File "/opt/omnileads/virtualenv/lib64/python3.6/site-packages/rest_framework/views.py", line 502, in dispatch
response = handler(request, args, **kwargs)
File "/opt/omnileads/ominicontacto/api_app/views/grabaciones.py", line 55, in get
return HttpResponseRedirect(s3_handler.get_file_url(filename))
File "/opt/omnileads/ominicontacto/api_app/services/storage_service.py", line 64, in get_file_url
ExpiresIn=3600)
File "/opt/omnileads/virtualenv/lib64/python3.6/site-packages/botocore/signers.py", line 587, in generate_presigned_url
params = self.emit_api_params(params, operation_model, context)
File "/opt/omnileads/virtualenv/lib64/python3.6/site-packages/botocore/client.py", line 770, in emit_api_params
params=api_params, model=operation_model, context=context)
File "/opt/omnileads/virtualenv/lib64/python3.6/site-packages/botocore/hooks.py", line 357, in emit
return self.emitter.emit(aliased_event_name, kwargs)
File "/opt/omnileads/virtualenv/lib64/python3.6/site-packages/botocore/hooks.py", line 228, in emit
return self._emit(event_name, kwargs)
File "/opt/omnileads/virtualenv/lib64/python3.6/site-packages/botocore/hooks.py", line 211, in emit
response = handler(kwargs)
File "/opt/omnileads/virtualenv/lib64/python3.6/site-packages/botocore/handlers.py", line 253, in validate_bucket_name
raise ParamValidationError(report=error_msg)
botocore.exceptions.ParamValidationError: Parameter validation failed:
Invalid bucket name "": Bucket name must match the regex "^[a-zA-Z0-9.-]{1,255}$" or be an ARN matching the regex "arn🙁aws).🙁s3|s3-object-lambda):[a-z-0-9]:[0-9]{12}:accesspoint[/:][a-zA-Z0-9-.]{1,63}$|arn🙁aws).:s3-outposts:[a-z-0-9]+:[0-9]{12}:outpost[/:][a-zA-Z0-9-]{1,63}[/:]accesspoint[/:][a-zA-Z0-9-]{1,63}$"
==> /opt/omnileads/log/oml_uwsgi.log <==
[pid: 1598|app: 0|req: 151/352] 190.145.254.110 () {66 vars in 1760 bytes} [Tue May 3 16:44:19 2022] GET /api/v1/grabacion/archivo/?filename=/2022-05-03/Inbound-1651604678.0.wav => generated 1499 bytes in 41 msecs (HTTP/1.1 500) 5 headers in 182 bytes (2 switches on core 0)
C
[root@omnileads ~]# C
[root@omnileads ~]# tail -f /opt/omnileads/log/*
==> /opt/omnileads/log/django.log <==
2022-05-03 16:58:05,614 [WARNING] ominicontacto_app.services.wombat_service - - Comando ejecutado: ['curl', '--user', 'omnileads:N0v41p2014', '-X', 'POST', 'http://localhost:8080/wombat/api/live/runs/']
2022-05-03 16:58:05,614 [ ERROR] reportes_app.management.commands.actualizar_reportes_llamadas_dialers - Fallo del comando: 'NoneType' object has no attribute 'items'
2022-05-03 16:59:05,251 [ INFO] ominicontacto_app.management.commands.actualizar_campanas_preview - Actualizando 0 asignaciones de contactos a agentes en campañas preview
2022-05-03 16:59:05,417 [WARNING] ominicontacto_app.services.wombat_service - Exit status erroneo: 7
2022-05-03 16:59:05,418 [WARNING] ominicontacto_app.services.wombat_service - - Comando ejecutado: ['curl', '--user', 'omnileads:N0v41p2014', '-X', 'POST', 'http://localhost:8080/wombat/api/live/runs/']
2022-05-03 16:59:05,418 [ ERROR] reportes_app.management.commands.actualizar_reportes_llamadas_dialers - Fallo del comando: 'NoneType' object has no attribute 'items'
2022-05-03 17:00:06,674 [WARNING] ominicontacto_app.services.wombat_service - Exit status erroneo: 7
2022-05-03 17:00:06,675 [WARNING] ominicontacto_app.services.wombat_service - - Comando ejecutado: ['curl', '--user', 'omnileads:N0v41p2014*', '-X', 'POST', 'http://localhost:8080/wombat/api/live/runs/']
2022-05-03 17:00:06,675 [ ERROR] reportes_app.management.commands.actualizar_reportes_llamadas_dialers - Fallo del comando: 'NoneType' object has no attribute 'items'
2022-05-03 17:00:06,825 [ INFO] ominicontacto_app.management.commands.actualizar_campanas_preview - Actualizando 0 asignaciones de contactos a agentes en campañas preview
==> /opt/omnileads/log/oml_uwsgi.log <==
return self.emitter.emit(aliased_event_name, kwargs)
File "/opt/omnileads/virtualenv/lib64/python3.6/site-packages/botocore/hooks.py", line 228, in emit
return self.emit(event_name, kwargs)
File "/opt/omnileads/virtualenv/lib64/python3.6/site-packages/botocore/hooks.py", line 211, in emit
response = handler(kwargs)
File "/opt/omnileads/virtualenv/lib64/python3.6/site-packages/botocore/handlers.py", line 253, in validate_bucket_name
raise ParamValidationError(report=error_msg)
botocore.exceptions.ParamValidationError: Parameter validation failed:
Invalid bucket name "": Bucket name must match the regex "^[a-zA-Z0-9.-]{1,255}$" or be an ARN matching the regex "arn🙁aws).🙁s3|s3-object-lambda):[a-z-0-9]:[0-9]{12}:accesspoint[/:][a-zA-Z0-9-.]{1,63}$|arn🙁aws).*:s3-outposts:[a-z-0-9]+:[0-9]{12}:outpost[/:][a-zA-Z0-9-]{1,63}[/:]accesspoint[/:][a-zA-Z0-9-]{1,63}$"
[pid: 1598|app: 0|req: 151/352] 190.145.254.110 () {66 vars in 1760 bytes} [Tue May 3 16:44:19 2022] GET /api/v1/grabacion/archivo/?filename=/2022-05-03/Inbound-1651604678.0.wav => generated 1499 bytes in 41 msecs (HTTP/1.1 500) 5 headers in 182 bytes (2 switches on core 0)`