Comments (1)
One more observation: I have a suspicion regarding the dynamic IP aspect of EC2. For debugging purposes, I assigned a static IP yesterday, but the same issue persists. Today, I attempted to resolve the timeout issue through firewall commands, removing connector devices, and deleting images, but none of these efforts resolved it.
Interestingly, even with the static IP assigned, the problem persisted. However, I noticed that creating a new IoT gateway device and using its access token in the Docker Compose file resolves the issue temporarily. Despite this temporary workaround, the problem remains unresolved.
version: '3.4'
services:
# ThingsBoard IoT Gateway Service Configuration
tb-gateway:
image: thingsboard/tb-gateway
container_name: tb-gateway
restart: always
# Ports bindings - required by some connectors
ports:
- "5000:5000" # Comment if you don't use REST connector and change if you use another port
# Uncomment and modify the following ports based on connector usage:
# - "1052:1052" # BACnet connector
# - "5026:5026" # Modbus TCP connector (Modbus Slave)
# - "50000:50000/tcp" # Socket connector with type TCP
# - "50000:50000/udp" # Socket connector with type UDP
# Necessary mapping for Linux
extra_hosts:
- "host.docker.internal:host-gateway"
# Environment variables
environment:
- host=65.0.98.19
- port=1883
- accessToken=lx6ptnyhw1aesegsajva #New IoT Gateway device Token
# Volumes bind
volumes:
- tb-gw-config:/thingsboard_gateway/config
- tb-gw-logs:/thingsboard_gateway/logs
- tb-gw-extensions:/thingsboard_gateway/extensions
# Volumes declaration for configurations, extensions and configuration
volumes:
tb-gw-config:
name: tb-gw-config
tb-gw-logs:
name: tb-gw-logs
tb-gw-extensions:
name: tb-gw-extensions
After addition of new IoT Gateway Device access token in docker-compose.yml file
But it's not feasible to daily create New IoT Gateway Device. Could you please advise on a more permanent solution to this issue? Your guidance or suggestions would be greatly appreciated.
from thingsboard-gateway.
Related Issues (20)
- [BUG] Error log -- Timeout while waiting for a publish to ThingsBoard! HOT 5
- [BUG] OPC-UA AsyncIO does not find sub variables HOT 2
- [BUG] Latest version (3.4.6) not correctly recognized (version 0.0 instead of 3.4.6) HOT 2
- [HELP] modbus TCP reads only first "timeseries"
- Modbus TCP |ERROR| - [tb_logger.py] - tb_logger - exception - 98 - Exception Response(131, 3, IllegalAddress)[HELP] HOT 2
- [BUG] 100% CPU usuage of thingsboard-gateway HOT 6
- When The gateway runs for a long time, RuntimeError: Message publish failed: The client is not currently connected.
- Potential [BUG] MQTT connector not honoring client attribute requests , only shared attribute requests
- [HELP] RuntimeError: Message publish failed: The client is not currently connected.
- [HELP] Can't get the latest telemtry data HOT 1
- Cannot load GRPC connector!Gateway Shell HOT 3
- Can't correctly setup the rest.json configuration file [HELP] HOT 7
- How to connect my gateway to thingsboard Community Edition(Thingsboard CE) HOT 2
- ThingsBoard IoT Gateway not sending all the parameters configured in SNMP connector to ThingsBoard PE server - Help Wanted
- [HELP]: make Dynamic dashboard for 'Markers Placement' HOT 1
- [HELP] Ubuntu 24.04 LTS installation HOT 1
- [HELP] IoT Gateway as modbus slave to send TS data to PLC HOT 1
- thingsboard gateway installation problem HOT 1
- [HELP] Is there an easy way to read same timeseries from multiple devices Modbus TCP? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from thingsboard-gateway.