secvisogram/csaf-cms-backend

Issue with `host.docker.internal` on Linux (Ubuntu)

Opened this issue · 2 comments

Hi @rainer-exxcellent et all,

I encountered an issue when trying to run the Secvisogram app on Ubuntu.

The host.docker.internal hostname is not available on Linux, which causes the application to fail with connection errors like no route to host.

This appears to be a limitation specific to Linux environments.

Error Log:
Error proxying to upstream server: dial tcp: lookup host.docker.internal on 127.0.0.11:53: no such host

Steps to Reproduce:

  1. Clone the Secvisogram repository.
  2. Follow the instructions to set up the application on Ubuntu.
  3. Attempt to start the application using Docker Compose.
  4. Observe the connection errors due to host.docker.internal.

Request:
Could you provide alternative solutions or different ways to run/install the application on Linux? Any guidance or modifications to make it work on Ubuntu would be greatly appreciated.

Thank you!

Hi @vBarbaros,

I have checked the issue and added a Secvisogram container to the dev / example environment. You can try #195 or https://github.com/secvisogram/csaf-cms-backend/tree/fix/hostdockerinternal . You just have to start the backend with maven.

I also added some documentation. Logout isn't working in the PR at the moment. I will have a look on this in the next week.

The issue with host.docker.internal should be fixed. The setup is working on my Ubuntu setup.

I will also work on further documentation according the setup routine.

PR has been merged into main-branch.

The issue with the logout is also fixed.