Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thingsboard-gateway device connected, but not created in thingsboard devices. #58

Closed
niks-coder opened this issue Apr 13, 2018 · 3 comments

Comments

@niks-coder
Copy link

Hi,
I in running thingsboard application and thingsboard gate way application on the same machine. I am establishing a gateway between mqtt mosquitto and thingsboard application. when i am publishing the data i am getting device connected in thingsboard gateway log but the device is not getting created.
The log i am getting is,

2018-04-13 12:14:43,481 [MQTT Call: cbb9442b-ec70-4178-a88d-92452c60dcb2] INFO o.t.g.s.gateway.MqttGatewayService - [Niks] Device Connected!
2018-04-13 12:14:43,786 [pool-4-thread-1] INFO o.t.g.service.MqttMessageSender - Outgoing queue is not empty. [1] messages are still in progress
2018-04-13 12:14:43,786 [pool-4-thread-1] INFO o.t.g.service.MqttMessageSender - Waiting until all messages are sent before going to the next bucket
2018-04-13 12:14:44,791 [pool-4-thread-1] INFO o.t.g.service.MqttMessageSender - Outgoing queue is not empty. [1] messages are still in progress

I am continuously getting outgoing queue is not empty. [1] messages are still in progress.

my thingsboard gateway.yml configuration is.

server:

Server bind address

address: "0.0.0.0"

Server bind port

port: "9090"

Check new version updates parameters

updates:

Enable/disable updates checking.

enabled: "${UPDATES_ENABLED:true}"

gateways:
tenants:
-
label: "tenant"
reporting:
interval: 60000
persistence:
type: file
path: storage
bufferSize: 1000
connection:
host: "${GATEWAY_HOST:localhost}"
port: 1883
retryInterval: 3000
maxInFlight: 100
security:
accessToken: "${GATEWAY_ACCESS_TOKEN:yWcNs3hZ9ch4rPpI9t79}"
remoteConfiguration: true
extensions:
-
id: "http"
type: "HTTP"
extensionConfiguration: http-config.json
-
id: "mqtt"
type: "MQTT"
extensionConfiguration: mqtt-config.json

Please help me the solve this issue.

@niks-coder niks-coder changed the title Thingsboard gateway device connected but not created in thingsboard devices. Thingsboard-gateway device connected, but not created in thingsboard devices. Apr 13, 2018
@mp-loki
Copy link
Contributor

mp-loki commented Apr 14, 2018

Hi @nikhilbijagarni ! So what was the issue?

@rof20004
Copy link

@mp-loki ...when i am publishing the data i am getting device connected in thingsboard gateway log but the device is not getting created.

@niks-coder
Copy link
Author

niks-coder commented Jul 10, 2018

The solution for me that worked was, I observed that each time you change parameters from GUI it was not getting Sync. I had to restart thingsboard service every time i update configuration, then i would see the new configuration was sync. After this when i published data to mosquitto the device was getting created and data was also visible on thingsboard. I was using Snapshot version to build application. but when i used the released version this issue was gone and now its working fine.

badsaarow added a commit to huinnoaim/thingsboard-gateway that referenced this issue Mar 7, 2023
badsaarow added a commit to huinnoaim/thingsboard-gateway that referenced this issue Mar 8, 2023
badsaarow added a commit to huinnoaim/thingsboard-gateway that referenced this issue Mar 8, 2023
badsaarow added a commit to huinnoaim/thingsboard-gateway that referenced this issue Mar 8, 2023
badsaarow added a commit to huinnoaim/thingsboard-gateway that referenced this issue Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants