-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Internal Server Error when Uploading APK #105
Comments
Hi @f0xp1t |
Hi @f0xp1t , |
Hi @mpast , Distributor ID: Kali Tried rebuilding it , removing the folder and as well pulling the github folder again and rebuilding it just in case . still getting the 500 error while uploading the apk , with regards the mrabbit , you are correct , below the excerpt of the log: rabbitmq_1 | {"Kernel pid terminated",application_controller,"{application_start_failure,rabbit,{{cannot_log_to_file,"/var/log/rabbitmq/rabbit@6fdd07c9f863_upgrade.log",eacces},{rabbit,start,[normal,[]]}}}"} Below the full log: |
Hi @mpast , hope you are doing well , any update on the previous information shared? Thanks. |
Sorry, I have not been able to reproduce, could you make sure docker containers have been stopped, removed and there are not dangling, could you try these commands?
thanks a lot |
ok , tried to rmi the built image and deleted all the containers related to this project and started from scratch... when uploading getting the following: web_1 | [ERROR] 05/Feb/2024 22:51:39 - Internal Server Error: /scan/create/1 |
keep getting this(Failure in name resolution) : | File "/usr/local/lib/python3.9/socket.py", line 954, in getaddrinfo web_1 | raise ConnectionError(str(exc)) from exc |
Hi ,
Having an error loading the APK File , on the frontend shows Server error:
Below the log of the issue. thanks.
web_1 | [ERROR] 14/Dec/2023 14:35:19 - Internal Server Error: /scan/create/1
web_1 | Traceback (most recent call last):
web_1 | File "/usr/local/lib/python3.9/site-packages/kombu/utils/functional.py", line 32, in call
web_1 | return self.value
web_1 | AttributeError: 'ChannelPromise' object has no attribute 'value'
web_1 |
web_1 | During handling of the above exception, another exception occurred:
web_1 |
web_1 | Traceback (most recent call last):
web_1 | File "/usr/local/lib/python3.9/site-packages/kombu/connection.py", line 472, in _reraise_as_library_errors
web_1 | yield
web_1 | File "/usr/local/lib/python3.9/site-packages/kombu/connection.py", line 459, in _ensure_connection
web_1 | return retry_over_time(
web_1 | File "/usr/local/lib/python3.9/site-packages/kombu/utils/functional.py", line 318, in retry_over_time
web_1 | return fun(*args, **kwargs)
web_1 | File "/usr/local/lib/python3.9/site-packages/kombu/connection.py", line 934, in _connection_factory
web_1 | self._connection = self._establish_connection()
web_1 | File "/usr/local/lib/python3.9/site-packages/kombu/connection.py", line 860, in _establish_connection
web_1 | conn = self.transport.establish_connection()
web_1 | File "/usr/local/lib/python3.9/site-packages/kombu/transport/pyamqp.py", line 203, in establish_connection
web_1 | conn.connect()
web_1 | File "/usr/local/lib/python3.9/site-packages/amqp/connection.py", line 324, in connect
web_1 | self.transport.connect()
web_1 | File "/usr/local/lib/python3.9/site-packages/amqp/transport.py", line 129, in connect
web_1 | self._connect(self.host, self.port, self.connect_timeout)
web_1 | File "/usr/local/lib/python3.9/site-packages/amqp/transport.py", line 172, in _connect
web_1 | entries = socket.getaddrinfo(
web_1 | File "/usr/local/lib/python3.9/socket.py", line 954, in getaddrinfo
web_1 | for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
web_1 | socket.gaierror: [Errno -2] Name or service not known
web_1 |
web_1 | The above exception was the direct cause of the following exception:
web_1 |
web_1 | Traceback (most recent call last):
web_1 | File "/usr/local/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
web_1 | response = get_response(request)
web_1 | File "/usr/local/lib/python3.9/site-packages/django/core/handlers/base.py", line 181, in _get_response
web_1 | response = wrapped_callback(request, *callback_args, **callback_kwargs)
web_1 | File "/usr/local/lib/python3.9/contextlib.py", line 79, in inner
web_1 | return func(*args, **kwds)
web_1 | File "/usr/local/lib/python3.9/site-packages/django/contrib/auth/decorators.py", line 21, in _wrapped_view
web_1 | return view_func(request, *args, **kwargs)
web_1 | File "/app/./app/views.py", line 182, in create_scan
web_1 | task_id = task_create_scan.delay(scan.id)
web_1 | File "/usr/local/lib/python3.9/site-packages/celery/app/task.py", line 425, in delay
web_1 | return self.apply_async(args, kwargs)
web_1 | File "/usr/local/lib/python3.9/site-packages/celery/app/task.py", line 575, in apply_async
web_1 | return app.send_task(
web_1 | File "/usr/local/lib/python3.9/site-packages/celery/app/base.py", line 788, in send_task
web_1 | amqp.send_task_message(P, name, message, **options)
web_1 | File "/usr/local/lib/python3.9/site-packages/celery/app/amqp.py", line 510, in send_task_message
web_1 | ret = producer.publish(
web_1 | File "/usr/local/lib/python3.9/site-packages/kombu/messaging.py", line 186, in publish
web_1 | return _publish(
web_1 | File "/usr/local/lib/python3.9/site-packages/kombu/connection.py", line 556, in _ensured
web_1 | return fun(*args, **kwargs)
web_1 | File "/usr/local/lib/python3.9/site-packages/kombu/messaging.py", line 195, in _publish
web_1 | channel = self.channel
web_1 | File "/usr/local/lib/python3.9/site-packages/kombu/messaging.py", line 218, in _get_channel
web_1 | channel = self._channel = channel()
web_1 | File "/usr/local/lib/python3.9/site-packages/kombu/utils/functional.py", line 34, in call
web_1 | value = self.value = self.contract()
web_1 | File "/usr/local/lib/python3.9/site-packages/kombu/messaging.py", line 234, in
web_1 | channel = ChannelPromise(lambda: connection.default_channel)
web_1 | File "/usr/local/lib/python3.9/site-packages/kombu/connection.py", line 953, in default_channel
web_1 | self._ensure_connection(**conn_opts)
web_1 | File "/usr/local/lib/python3.9/site-packages/kombu/connection.py", line 459, in _ensure_connection
web_1 | return retry_over_time(
web_1 | File "/usr/local/lib/python3.9/contextlib.py", line 137, in exit
web_1 | self.gen.throw(typ, value, traceback)
web_1 | File "/usr/local/lib/python3.9/site-packages/kombu/connection.py", line 476, in _reraise_as_library_errors
web_1 | raise ConnectionError(str(exc)) from exc
web_1 | kombu.exceptions.OperationalError: [Errno -2] Name or service not known
web_1 | [pid: 11|app: 0|req: 15/18] 172.21.0.3 () {54 vars in 1057 bytes} [Thu Dec 14 14:35:12 2023] POST /scan/create/1 => generated 145 bytes in 7119 msecs (HTTP/1.0 500) 7 headers in 217 bytes (1 switches on core 0)
The text was updated successfully, but these errors were encountered: