Skip to content

Query server not syncronizing with consensus servers #140

@Shalashtein

Description

@Shalashtein

Hey, I've tried to follow the documentation to setup a consensus server and a query server so I can connect to the query server from my javascript application this is a docker compose example

  fluree:
    image: fluree/server:latest
    container_name: fluree
    volumes:
      - ./storage/fluree:/opt/fluree-server/data
    environment:
      - FLUREE_CONSENSUS_SERVERS=/ip4/fluree/tcp/62071
      - FLUREE_CONSENSUS_THIS_SERVER=/ip4/fluree/tcp/62071
    networks:
      - app-network
  fluree-query:
    image: fluree/server:latest
    container_name: fluree-query
    ports:
      - "58091:8090"
    environment:
      - FLUREE_SERVERS=/ip4/fluree/tcp/8090
    networks:
      - app-network

networks:
  app-network:
    driver: bridge

I tried using the 62071 port, tried appending 8090 with /http and tested the connection between the containers by curling each of their ips from within each of the containers. I've tested the same setup on VPS servers with public ips and I have the exact same issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions