FIWARE / tutorials.Subscriptions

:blue_book: FIWARE 106: Subscribing to Changes in Context
https://fiware-orion.rtfd.io/
MIT License
4 stars 5 forks source link

Orion-ld crashes several times during the start of the example #17

Open baston888 opened 1 year ago

baston888 commented 1 year ago

Dear colleagues, when executing the "sudo ./service orion legacy" command, orion-ld serially exits with code 1. Obviously, the health check of the application is triggered. This can be understood from the following log. image Orion-ld must be restarted with "sudo docker start" many times before it returns a 200 code. image

jason-fox commented 1 year ago

This is probably a bug within Orion-LD itself - can you supply more details? I am unable t observe this fault when I run with the latest stable release as shown.

orion:
    labels:
      org.fiware: 'tutorial'
    image: quay.io/fiware/orion-ld:1.4.0
    hostname: orion
    container_name: fiware-orion
    depends_on:
      - mongo-db
    networks:
      - default
    ports:
      - 1026:1026
    command: -dbhost mongo-db -logLevel DEBUG -forwarding  -experimental
    healthcheck:
      test: curl --fail -s http://orion:1026/version || exit 1