-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Description
Upon running locally, I receive the following error for every possible maapping as shown below:
I followed the docker setup instructions based on https://github.com/OWASP/OpenCRE/blob/main/docs/my-opencre-user-guide.md.
Stack trace:
2025-12-04 15:57:45.593 | INFO:application.utils.gap_analysis:Gap analysis result for CWE >> ASVS does not exist
2025-12-04 15:57:45.596 | ERROR:application:Exception on /rest/v1/map_analysis [GET]
2025-12-04 15:57:45.596 | Traceback (most recent call last):
2025-12-04 15:57:45.596 | File "/usr/local/lib/python3.11/site-packages/redis/connection.py", line 277, in connect
2025-12-04 15:57:45.596 | sock = self.retry.call_with_retry(
2025-12-04 15:57:45.596 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-12-04 15:57:45.596 | File "/usr/local/lib/python3.11/site-packages/redis/retry.py", line 62, in call_with_retry
2025-12-04 15:57:45.596 | return do()
2025-12-04 15:57:45.596 | ^^^^
2025-12-04 15:57:45.596 | File "/usr/local/lib/python3.11/site-packages/redis/connection.py", line 278, in <lambda>
2025-12-04 15:57:45.596 | lambda: self._connect(), lambda error: self.disconnect(error)
2025-12-04 15:57:45.596 | ^^^^^^^^^^^^^^^
2025-12-04 15:57:45.596 | File "/usr/local/lib/python3.11/site-packages/redis/connection.py", line 639, in _connect
2025-12-04 15:57:45.596 | raise err
2025-12-04 15:57:45.596 | File "/usr/local/lib/python3.11/site-packages/redis/connection.py", line 627, in _connect
2025-12-04 15:57:45.596 | sock.connect(socket_address)
2025-12-04 15:57:45.596 | ConnectionRefusedError: [Errno 111] Connection refused
2025-12-04 15:57:45.596 |
2025-12-04 15:57:45.596 | During handling of the above exception, another exception occurred:
2025-12-04 15:57:45.596 |
2025-12-04 15:57:45.597 | Traceback (most recent call last):
2025-12-04 15:57:45.597 | File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 1473, in wsgi_app
2025-12-04 15:57:45.597 | response = self.full_dispatch_request()
2025-12-04 15:57:45.597 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-12-04 15:57:45.597 | File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 882, in full_dispatch_request
2025-12-04 15:57:45.597 | rv = self.handle_user_exception(e)
2025-12-04 15:57:45.597 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-12-04 15:57:45.597 | File "/usr/local/lib/python3.11/site-packages/flask_cors/extension.py", line 178, in wrapped_function
2025-12-04 15:57:45.597 | return cors_after_request(app.make_response(f(*args, **kwargs)))
2025-12-04 15:57:45.597 | ^^^^^^^^^^^^^^^^^^
2025-12-04 15:57:45.597 | File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 880, in full_dispatch_request
2025-12-04 15:57:45.597 | rv = self.dispatch_request()
2025-12-04 15:57:45.597 | ^^^^^^^^^^^^^^^^^^^^^^^
2025-12-04 15:57:45.597 | File "/usr/local/lib/python3.11/site-packages/flask/app.py", line 865, in dispatch_request
2025-12-04 15:57:45.597 | return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
2025-12-04 15:57:45.597 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-12-04 15:57:45.597 | File "/code/application/web/web_main.py", line 243, in map_analysis
2025-12-04 15:57:45.597 | gap_analysis_dict = gap_analysis.schedule(standards, database)
2025-12-04 15:57:45.597 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-12-04 15:57:45.597 | File "/code/application/utils/gap_analysis.py", line 74, in schedule
2025-12-04 15:57:45.597 | gap_analysis_results = conn.get(standards_hash)
2025-12-04 15:57:45.597 | ^^^^^^^^^^^^^^^^^^^^^^^^
2025-12-04 15:57:45.597 | File "/usr/local/lib/python3.11/site-packages/redis/commands/core.py", line 1821, in get
2025-12-04 15:57:45.597 | return self.execute_command("GET", name)
2025-12-04 15:57:45.597 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-12-04 15:57:45.597 | File "/usr/local/lib/python3.11/site-packages/redis/client.py", line 545, in execute_command
2025-12-04 15:57:45.597 | conn = self.connection or pool.get_connection(command_name, **options)
2025-12-04 15:57:45.597 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025-12-04 15:57:45.597 | File "/usr/local/lib/python3.11/site-packages/redis/connection.py", line 1074, in get_connection
2025-12-04 15:57:45.597 | connection.connect()
2025-12-04 15:57:45.597 | File "/usr/local/lib/python3.11/site-packages/redis/connection.py", line 283, in connect
2025-12-04 15:57:45.597 | raise ConnectionError(self._error_message(e))
2025-12-04 15:57:45.597 | redis.exceptions.ConnectionError: Error 111 connecting to localhost:6379. Connection refused.
Metadata
Metadata
Assignees
Labels
No labels