You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently experiencing an issue with my Flask application and need some assistance. The application starts normally, and I can access the frontend via the browser on port 5000. However, when I try to upload firmware, I encounter an "Internal Server Error" in the browser.
Here is the error message displayed in the browser:
Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
Below is the relevant error log from the application:
[2024-07-24 02:43:10,661] ERROR in app: Exception on /upload [GET]
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 2077, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1525, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.8/dist-packages/flask_restx/api.py", line 672, in error_router
return original_handler(e)
File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1523, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1509, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "/opt/FACT_core/src/./web_interface/security/decorator.py", line 11, in decorated_view
return fn(*args, **kwargs)
File "/opt/FACT_core/src/./web_interface/components/io_routes.py", line 43, in get_upload
analysis_plugins = sc.get_available_analysis_plugins()
File "/opt/FACT_core/src/./intercom/front_end_binding.py", line 34, in get_available_analysis_plugins
raise Exception('No available plug-ins found. FACT backend might be down!')
Exception: No available plug-ins found. FACT backend might be down!
[2024-07-24 02:43:10][app][ERROR]: Exception on /upload [GET]
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 2077, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1525, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.8/dist-packages/flask_restx/api.py", line 672, in error_router
return original_handler(e)
File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1523, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1509, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "/opt/FACT_core/src/./web_interface/security/decorator.py", line 11, in decorated_view
return fn(*args, **kwargs)
File "/opt/FACT_core/src/./web_interface/components/io_routes.py", line 43, in get_upload
analysis_plugins = sc.get_available_analysis_plugins()
File "/opt/FACT_core/src/./intercom/front_end_binding.py", line 34, in get_available_analysis_plugins
raise Exception('No available plug-ins found. FACT backend might be down!')
Exception: No available plug-ins found. FACT backend might be down!
The error suggests that there are no available plugins and that the FACT backend might be down. Here is the portion of the code where the exception is raised:
def get_available_analysis_plugins():
raise Exception('No available plug-ins found. FACT backend might be down!')
I've checked and ensured that the backend service appears to be running, but the error persists.
Could you please provide guidance on how to resolve this issue? Any help or suggestions would be greatly appreciated!
Thank you in advance.
The text was updated successfully, but these errors were encountered:
Hello,
I'm currently experiencing an issue with my Flask application and need some assistance. The application starts normally, and I can access the frontend via the browser on port 5000. However, when I try to upload firmware, I encounter an "Internal Server Error" in the browser.
Here is the error message displayed in the browser:
Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.
Below is the relevant error log from the application:
[2024-07-24 02:43:10,661] ERROR in app: Exception on /upload [GET]
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 2077, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1525, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.8/dist-packages/flask_restx/api.py", line 672, in error_router
return original_handler(e)
File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1523, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1509, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "/opt/FACT_core/src/./web_interface/security/decorator.py", line 11, in decorated_view
return fn(*args, **kwargs)
File "/opt/FACT_core/src/./web_interface/components/io_routes.py", line 43, in get_upload
analysis_plugins = sc.get_available_analysis_plugins()
File "/opt/FACT_core/src/./intercom/front_end_binding.py", line 34, in get_available_analysis_plugins
raise Exception('No available plug-ins found. FACT backend might be down!')
Exception: No available plug-ins found. FACT backend might be down!
[2024-07-24 02:43:10][app][ERROR]: Exception on /upload [GET]
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 2077, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1525, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.8/dist-packages/flask_restx/api.py", line 672, in error_router
return original_handler(e)
File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1523, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.8/dist-packages/flask/app.py", line 1509, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
File "/opt/FACT_core/src/./web_interface/security/decorator.py", line 11, in decorated_view
return fn(*args, **kwargs)
File "/opt/FACT_core/src/./web_interface/components/io_routes.py", line 43, in get_upload
analysis_plugins = sc.get_available_analysis_plugins()
File "/opt/FACT_core/src/./intercom/front_end_binding.py", line 34, in get_available_analysis_plugins
raise Exception('No available plug-ins found. FACT backend might be down!')
Exception: No available plug-ins found. FACT backend might be down!
The error suggests that there are no available plugins and that the FACT backend might be down. Here is the portion of the code where the exception is raised:
def get_available_analysis_plugins():
raise Exception('No available plug-ins found. FACT backend might be down!')
I've checked and ensured that the backend service appears to be running, but the error persists.
Could you please provide guidance on how to resolve this issue? Any help or suggestions would be greatly appreciated!
Thank you in advance.
The text was updated successfully, but these errors were encountered: