influxdata/telegraf

TeamSpeak plugin "unexpected EOF" error

已關閉

#15,738 建立於 2024年8月13日

 (2 則留言) (0 個反應) (1 位負責人)Go (5,838 個分叉)batch import
bughelp wantedsize/swaiting for response

倉庫指標

星標
 (17,764 顆星)
PR 合併指標
 (平均合併 2天 12小時) (30 天內合併 136 個 PR)

描述

Relevant telegraf.conf

[[inputs.teamspeak]]
  server = "teamspeak-host:10011"
  username = "monitoring"
  password = "MY_PASSWORD"
  nickname = "telegraf"
  [inputs.teamspeak.tags]
    service = "teamspeak"

Logs from Telegraf

2024-08-13T15:49:30Z E! [inputs.teamspeak] Error in plugin: unexpected EOF

System info

telegraf 1.31.2

Docker

No response

Steps to reproduce

  1. Restart the telegraf service
  2. Notice "nickname is already in use" error
  3. After a while, the error transforms to "Error in plugin: unexpected EOF"

Expected behavior

The plugin should disconnect from ServerQuery gracefully in order to "free" the nickname.

Actual behavior

Nickname isn't freed. Potentially causing the EOF error down the line.

Additional info

Sometimes when telegraf is restarted, it has trouble connecting to the same TeamSpeak server because "nickname is already in use". The errors might be related.

貢獻者指南