GithubHelp home page GithubHelp logo

os2iot / os2iot-docker Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 4.0 19.29 MB

This repository contains the docker-compose file and configuration needed to run the OS2IoT project.

License: Mozilla Public License 2.0

Shell 15.05% Dockerfile 29.00% Go 55.95%

os2iot-docker's People

Contributors

aramalsabti avatar augusthjerrild avatar christianeskehansen avatar fcv-iteratorit avatar gufcab avatar joiversen avatar madssvejstrup avatar mstenkaer avatar nc-ruth avatar ncjej avatar os2git avatar ramogens avatar tcrnetcomp avatar virtualsatai avatar zorp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

os2iot-docker's Issues

Mosquitto cannot start up properly

Hello,

I have a problem with running whole infrastructure on localhost using Docker. After successful fetch and installation of all services, I noticed, that backend os2iot-docker_os2iot-backend (port: 3000) cannot run properly - the last error terminates the whole app:

[Nest] 19 - 06/17/2021, 11:01:13 AM [GenericChirpstackConfigurationService] GET http://chirpstack-application-server:8080/api/network-servers?limit=100&offset=0 got error: Error: connect ECONNREFUSED 172.20.0.12:8080 +17ms

Then I started investigating what's happening in service os2iot-docker_chirpstack-application-server (port: 8080)

time="2021-06-17T11:27:21Z" level=error msg="integration/mqtt: connecting to broker error, will retry in 2s: Network Error : dial tcp 172.20.0.7:1883: connect: connection refused"
time="2021-06-17T11:27:23Z" level=error msg="integration/mqtt: connecting to broker error, will retry in 2s: Network Error : dial tcp 172.20.0.7:1883: connect: connection refused"
time="2021-06-17T11:27:25Z" level=error msg="integration/mqtt: connecting to broker error, will retry in 2s: Network Error : dial tcp 172.20.0.7:1883: connect: connection refused"
(...) and so on

Port points me to Mosquitto os2iot-docker_mosquitto (port 1883):

1623927668: mosquitto version 2.0.11 starting
1623927668: Config loaded from /mosquitto/config/mosquitto.conf.
1623927668: Starting in local only mode. Connections will only be possible from clients running on this machine.
1623927668: Create a configuration file which defines a listener to allow remote access.
1623927668: For more details see https://mosquitto.org/documentation/authentication-methods/
1623927668: Opening ipv4 listen socket on port 1883.
1623927668: Opening ipv6 listen socket on port 1883.
1623927668: Error: Address not available
1623927668: mosquitto version 2.0.11 running

I found similar issue at this link eclipse/mosquitto#2040 and they say that line listener 1883 should be added to Mosquitto configuration file, but there is no such file in this solution.

Reproduction steps:

  1. Download all 3 repos
  2. Go into docker repo and run docker compose up

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.