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

validator JWT token expired #380

Open
pisuke opened this issue Jun 28, 2022 · 1 comment
Open

validator JWT token expired #380

pisuke opened this issue Jun 28, 2022 · 1 comment
Assignees

Comments

@pisuke
Copy link
Collaborator

pisuke commented Jun 28, 2022

I've attempted doing a long validator run on a IoT Core registry that has more than 10k devices, but unfortunately the process stops with the following output:

[MQTT Rec: projects/someproject/locations/us-central1/registries/UDMS-REFLECT/devices/SOME-REGISTRY] WARN com.google.bos.iot.core.proxy.MqttPublisher - MQTT connection lost SOME-REGISTRY
Connection lost (32109) - java.io.EOFException
	at org.eclipse.paho.client.mqttv3.internal.CommsReceiver.run(CommsReceiver.java:146)
	at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: java.io.EOFException
	at java.base/java.io.DataInputStream.readByte(DataInputStream.java:272)
	at org.eclipse.paho.client.mqttv3.internal.wire.MqttInputStream.readMqttWireMessage(MqttInputStream.java:65)
	at org.eclipse.paho.client.mqttv3.internal.CommsReceiver.run(CommsReceiver.java:107)
	... 1 more
mqtt client error: Connection lost

After a little bit more investigations, on IoT Core this error status is recorded

[16] mqtt: SERVER: The authorization token expired.

Perhaps validator doesn't refresh the JWT token?

@grafnu
Copy link
Collaborator

grafnu commented Oct 11, 2022 via email

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

2 participants