dnavarrom / aws_mosquitto_broker Goto Github PK
View Code? Open in Web Editor NEWDocker Image for AWS IOT connected Mosquitto broker iot
Home Page: https://github.com/dnavarrom/aws_mosquitto_broker
License: MIT License
Docker Image for AWS IOT connected Mosquitto broker iot
Home Page: https://github.com/dnavarrom/aws_mosquitto_broker
License: MIT License
Hi Diego,
First of all a great thank you for creating this MQTT broker. Really appreciate it. A small change is needed.
fetch http://dl-cdn.alpinelinux.org/alpine/v3.6/community/x86_64/APKINDEX.tar.gz
ERROR: unsatisfiable constraints:
mosquitto-1.4.12-r0:
breaks: world[mosquitto=1.4.10-r2]
The command '/bin/sh -c apk --no-cache add mosquitto=1.4.10-r2 && mkdir -p /mosquitto/config /mosquitto/data /mosquitto/log && chmod -R 777 /mosquitto && chown -R mosquitto:mosquitto /mosquitto' returned a non-zero code: 1
The mosquitto package has to be update to mosquitto-1-4.12-r0 for it to build. Also I used Alpine 3.6 instead of 3.5.
Should I send you a PR for the Dockerfile? The updates are really minor ...
Hello Diego,
Thank you so much for creating this wonderful broker.
I'm stuck in Step 7 : Run Docker Image.
"Socket error on client local.bridgeawsiot, disconnecting"
Do you have any clue for solving this problem?
$ docker run -ti -p 1883:1883 -p 9001:9001 --name mqtt aws_mqtt_broker
1551368695: mosquitto version 1.4.15 (build date 2018-03-04 15:19:39+0000) starting
1551368695: Config loaded from /mosquitto/config/mosquitto.conf.
1551368695: Opening ipv4 listen socket on port 1883.
1551368695: Opening ipv6 listen socket on port 1883.
1551368695: Bridge local.bridgeawsiot doing local SUBSCRIBE on topic localgateway_to_awsiot
1551368695: Bridge local.bridgeawsiot doing local SUBSCRIBE on topic both_directions
1551368695: Connecting bridge awsiot (**********.iot.ap-northeast-1.amazonaws.com:1883)
1551368695: Bridge bridgeawsiot sending CONNECT
1551368754: Socket error on client local.bridgeawsiot, disconnecting.
1551368785: Bridge local.bridgeawsiot doing local SUBSCRIBE on topic localgateway_to_awsiot
1551368785: Bridge local.bridgeawsiot doing local SUBSCRIBE on topic both_directions
1551368785: Connecting bridge awsiot (**********.iot.ap-northeast-1.amazonaws.com:1883)
1551368785: Bridge bridgeawsiot sending CONNECT
1551368845: Socket error on client local.bridgeawsiot, disconnecting.
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.