os2iot / os2iot-docker Goto Github PK
View Code? Open in Web Editor NEWThis repository contains the docker-compose file and configuration needed to run the OS2IoT project.
License: Mozilla Public License 2.0
This repository contains the docker-compose file and configuration needed to run the OS2IoT project.
License: Mozilla Public License 2.0
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:
docker compose up
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.