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

MQTT client connections cause errors/crashes #527

Closed
vordimous opened this issue Oct 21, 2023 · 0 comments · Fixed by #537
Closed

MQTT client connections cause errors/crashes #527

vordimous opened this issue Oct 21, 2023 · 0 comments · Fixed by #537
Labels
bug Something isn't working

Comments

@vordimous
Copy link
Contributor

Describe the bug
Running the load-test branch of zilla-demos/taxi I would periodically run into the below exceptions. Some happen on startup, and some happen when the taxi-service (the MQTT producer) is stopped or restarted.

The doStreamSignalNow(long, int)" because "stream" is null error happened pretty consistently after the demo was running stable for about 5 min.

java.util.NoSuchElementException
java.lang.IndexOutOfBoundsException: limit=860 is beyond maxLimit=512
java.lang.IndexOutOfBoundsException: limit=717 is beyond maxLimit=512
java.lang.IndexOutOfBoundsException: limit=700 is beyond maxLimit=512
java.lang.IndexOutOfBoundsException: limit=562 is beyond maxLimit=512
java.lang.IllegalArgumentException: invalid offset: -65536
java.lang.NullPointerException: Cannot invoke "io.aklivity.zilla.runtime.binding.kafka.internal.stream.KafkaClientConnectionPool$KafkaClientStream.doStreamSignalNow(long, int)" because "stream" is null

To Reproduce
Steps to reproduce the behavior:

  1. checkout zilla-demos/taxi@mqtt-load-test
  2. start the demo ./startup.sh
  3. Some errors will happen as soon as everything starts up. Zilla will automatically restart.
  4. Stop and restart the taxi-service: docker-compose -p zilla-taxi-demo restart taxi-service
  5. Once the setup is running stable the metric stream_active_received{namespace="zilla-taxi-demo",binding="mqtt_server"} should be 300
  6. After a few min the "stream" is null error pops up.

Desktop (please complete the following information):

  • OS: MacOS
  • Zilla: 0.9.55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants