dev-lu / osint_toolkit

A full stack web application that combines many tools and services for security analysts into a single tool.
MIT License
501 stars 83 forks source link

Uncaught runtime errors #34

Closed meetgyn closed 3 months ago

meetgyn commented 3 months ago

Help Please

image image

dev-lu commented 3 months ago

Hello meetgyn,

The issue was caused by an error when using newer versions of Python with an older version of Pydantic. I've updated the requirements, so it should work now. Please clone the latest version of the repository and run docker compose build to rebuild the image.

Additionally, your compose file needs some adjustments. Based on your configuration, it should look like this:

version: "3.8"
services:
  backend:
    build: ./backend
    container_name: backend
    ports:
      - "8010:8000"
    volumes:
      - ./data:/backend/database/data
  frontend:
    build:
      context: ./frontend
      args:
        BACKEND_URL: http://localhost:8010  # Backend URL without trailing slash
    container_name: frontend
    ports:
      - "3000:3000"
    stdin_open: true
    tty: true
meetgyn commented 3 months ago

image

dev-lu commented 3 months ago

It seems like your Docker host or installation is not able to connect to the internet to install the dependencies. Please check your network configuration to fix this error.

meetgyn commented 3 months ago

Hello, my friend. So, I did some new tests here, and indeed, this problem persists. I have four more Docker containers running without any issues, so I believe it's neither a network problem with Docker nor with the host. But thanks for your help. I am giving up on this.