• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

Teamspeak Client crashes when playing music

Tryano

Member
Hello,

as seen in the headline, my teamspeak client (version 3.3.2) ceeps crashing when i start playing music with the bot.

Teamspeak Error Message:
Code:
2019-09-05 11:17:53.676787|ERROR   |SoundBckndIntf|   |/opt/sinusbot/teamspeak3-client/soundbackends/libpulseaudio_linux_amd64.so error: NOT_CONNECTED
2019-09-05 11:17:54.179911|ERROR   |SoundBckndIntf|   |/opt/sinusbot/teamspeak3-client/soundbackends/libpulseaudio_linux_amd64.so error: NOT_CONNECTED

I am runnig debian buster (x64). And i have already installed pulsaudio and all the dependencies written in the sinusbot installation guide (using the installation script).

Does anyone have an idea? Thank you!
 
Last edited:

olokos

Insider
Insider
It baffles me how some people act like they're entitled to get help using some sort of magical powers of getting information about their machine and setup and then they get angry when they are asked for more details.
I would bet my money that there's some serious fuckup in your pulseaudio configuration.
I'm running Ubuntu and I haven't seen this error ever for almost 3 years now.
 

Tryano

Member
It baffles me how some people act like they're entitled to get help using some sort of magical powers of getting information about their machine and setup and then they get angry when they are asked for more details.
I would bet my money that there's some serious fuckup in your pulseaudio configuration.
I'm running Ubuntu and I haven't seen this error ever for almost 3 years now.

Do you send me your money now? ;)


Code:
==========================================================
SINUSBOT RELATED
SYSTEM INFORMATION
 - Operating System: Debian GNU/Linux 10 (buster)
 - Kernel: Linux 4.19.0-6-amd64 x86_64
 - Load Average: 6.69 3.35 1.29
 - Uptime: 3 days, 7 hours, 2 minutes, 45 seconds
 - OS x64 check: OK
 - OS Updates: 0 (well done!)
 - OS Missing Packages: None
 - OS APT Last Update: 12.09.2019 22:44:19 CEST +02:00:00
 - Shell Locale: de_DE.UTF-8
 - Bot Start Script: not found
 - CPU:
    Architecture:        x86_64
    CPU(s):              8
    Thread(s) per core:  1
    Core(s) per socket:  4
    Socket(s):           2
    Model name:          Intel(R) Xeon(R) CPU           E5335  @ 2.00GHz
    CPU MHz:             1995.056
    Virtualization:      VT-x
 - RAM: 4.29 GB/7.78 GB in use (55%)
 - SWAP: 0 B/7.73 GB in use (0%)
 - DISK: 13.32 GB/908.27 GB in use (1%)
 - Package versions:
   - libglib: 2.58.3-2+deb10u1

BOT INFORMATION
 - Status: running (PIDs: 897 869, User: sinusbot)
 - Webinterface: port locally reachable (Port: 8087)
 - Binary: /opt/sinusbot/sinusbot
 - Binary Info: MD5 Hash: d770dee2259d159aa78550962d3251e3, Perms: 755, User: sinusbot
 - Version: 1.0.0-beta.3-735814e
 - TS3 Plugin: installed (md5 hash match)
   - Bot Plugin: 2e771e4332cf87da1f72d58aa6923f9f
   - TS3 Client: 2e771e4332cf87da1f72d58aa6923f9f
 - Config:
   - LogLevel = 10 (debug log active)
   - TS3Path = /opt/sinusbot/teamspeak3-client/ts3client_linux_amd64 (Version 3.3.2)
   - YoutubeDLPath = /usr/local/bin/youtube-dl (does exist, version: 2019.09.01)
 - Installed scripts: advertising.js; alonemode.js; bookmark.js; command.js; followme.js; norecording.js; rememberChannel.js; welcome.js

BOT TECHNICAL INFORMATION
 - File exists:
   - TS3Client/libqxcb-glx-integration.so: no
 - LDD output:
    linux-vdso.so.1 (0x00007ffc52583000)
    libswresample.so.2 => /opt/sinusbot/libswresample.so.2 (0x00007f8dff46e000)
    libavfilter.so.6 => /opt/sinusbot/libavfilter.so.6 (0x00007f8dff116000)
    libavformat.so.57 => /opt/sinusbot/libavformat.so.57 (0x00007f8dfed15000)
    libavcodec.so.57 => /opt/sinusbot/libavcodec.so.57 (0x00007f8dfe3b0000)
    libavutil.so.55 => /opt/sinusbot/libavutil.so.55 (0x00007f8dfe13c000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f8dfe125000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f8dfdfa0000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f8dfdf7f000)
    libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f8dfddfb000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f8dfdde1000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f8dfdc20000)
    libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f8dfda02000)
    librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f8dfd9f6000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f8dff68a000)

REACHABILITY CHECKS
 - HTTPS check with IPv4 mode: SUCCESS [Connection established to www.sinusbot.com, CODE #200]
 - HTTPS check with IPv6 mode: IGNORED [Disabled]
 - DNS resolution check: SUCCESS [www.sinusbot.com resolved to 104.28.15.74]
 - Update server checks:
    update01.sinusbot.com -> 104.28.14.74: SUCCESS [CODE #404]
    update02.sinusbot.com -> 104.28.14.74: SUCCESS [CODE #404]
    update03.sinusbot.com -> 104.28.15.74: SUCCESS [CODE #404]

TIME INFORMATION
 - Time (local): 12.09.2019 22:45:44 CEST +02:00:00
 - Time (remote): 12.09.2019 22:45:44 CEST +02:00:00
 - Time (difference): 0 secs (Time diff less than 2 secs. Good.)
 - Timezone: Europe/Berlin

OTHER INFORMATION
 - TeamSpeak3 Version: 3.3.2
 - youtube-dl Version: 2019.09.01
 - DiagScript Version: 0.8.0
==========================================================
 

Tryano

Member
config.ini

Code:
TS3Path = "/opt/sinusbot/teamspeak3-client/ts3client_linux_amd64"
ListenHost = "0.0.0.0"
DataDir = "/opt/sinusbot/data/"
ListenPort = 8087
LocalPlayback = false
EnableLocalFS = false
MaxBulkOperations = 300
LogLevel = 10
EnableProfiler = false
YoutubeDLPath = "/usr/local/bin/youtube-dl"
EnableDebugConsole = false
AllowStreamPush = false
UploadLimit = 83886080
RunAsUser = 0
RunAsGroup = 0
ExternalFileBase = ""
InstanceActionLimit = 6
UseSSL = false
SSLKeyFile = ""
SSLCertFile = ""
Hostname = ""
HostnameMask = ""
SampleInterval = 60
StartVNC = false
EnableWebStream = false
LogFile = ""
LicenseKey = "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
IsProxied = false
DenyStreamURLs = []
Pragma = 0
UserAgent = ""

[YoutubeDL]
  BufferSize = 524288
  MaxDownloadSize = 419430400
  MaxDownloadRate = 104857600
  MaxSimultaneousChunkDownloads = 6
  CacheStreamed = false
  TimeoutSingleDownloader = 0
  TimeoutMultiDownloader = 0
  ChunkSize = 3145728

[TS3]
  AvatarMaxWidth = 0
  AvatarMaxHeight = 0
  AllowGIF = false

[StreamRewrites]

[Scripts]
  Debug = false
  AllowReload = false
  EnableTimer = false
  DisableLegacyEvents = false
  DevMode = false
  ScriptTimeout = 5

[Themes]
  Default = ""

[SpeechRecognition]
  Enable = false

[FFmpeg]
  UserAgent = "SinusBot (1.0.0-beta.3-735814e)"
  WaitTime = 0

[DAV]
  Enable = false

[XServer]
  Delay = 0
  Debug = false

[SHMem]
  Enable = false
  Size = 0
  Delay = 0
  Interval = 0

[RadioStations]
  URL = ""
  UpdateInterval = 0

[TTS]
  Enabled = false
 

Tryano

Member
sinusbotlog
Code:
2019-09-12T23:42:48+02:00 TS |INFO | | |successfully downloaded revocation list for myteamspeak id
2019-09-12T23:42:48+02:00 TS |INFO | | |successfully downloaded revocation list for accounting
2019-09-12T23:42:47+02:00 TS |ERROR |RevocationListCache| |Failed to import revocation list from cache
2019-09-12T23:42:47+02:00 TS |INFO |ClientUI | |Unable to create an Open GL context.
2019-09-12T23:42:47+02:00 TS |ERROR |SoundBckndIntf| |/opt/sinusbot/teamspeak3-client/soundbackends/libpulseaudio_linux_amd64.so error: NOT_CONNECTED
2019-09-12T23:42:47+02:00 TS |ERROR |SoundBckndIntf| |/opt/sinusbot/teamspeak3-client/soundbackends/libpulseaudio_linux_amd64.so error: NOT_CONNECTED
2019-09-12T23:42:46+02:00 TS |INFO | | |SystemInformation: Linux 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2 (2019-08-28) x86_64 Binary: 64bit
2019-09-12T23:42:46+02:00 TS |INFO | | |TeamSpeak Client 3.3.2 (2019-08-25 21:13:34)
 

olokos

Insider
Insider
I said I would, not that I will ;)

First of all your sinusbot is outdated, you need to update it
Version: 1.0.0-beta.3-735814e

Second thing is that your youtube-dl is also outdated
youtube-dl Version: 2019.09.01 is not the latest version as of right now.

Last thing is that I told you to verify your pulseaudio configuration and you haven't said anything about it, so even if I said I will, I would keep my money at this point. :p

I haven't gone through config.ini yet, try the stuff I already wrote and report back how it went.

None of us had scaring you in mind. It's just that there are plenty of people having various issues, but provide no information that would allow others to help them. Gets annoying after a while, politeness is all that is needed to get help most of the time. ;)
 

Tryano

Member
So, first of all - thanks for your answere! :)

Actually you are right. Version 1.0.0-beta.3-735814e is not the latest, but its the version you get when you install the sinusbot from https://www.sinusbot.com/dl/sinusbot.current.tar.bz2 ...

And i don't how the youtube-dl should crash my teamspeak client but its also updated right now. :p


I figured out, that there is no default pulsaudio configuration ... this will be the problem.

I actually know that ... so most of the problems are layer 7 ... :D
Thanks for your help!
 

Tryano

Member
You're welcome. It's all about the right attitude ;)
So... I guess I won the bet? :D
You won, but tell me what of the additional informations you needed to help? :p
Just joking, I totally agree that useres who wants to get help needs to provide informations about their system. 😅😅😅
 

olokos

Insider
Insider
Great to hear that, so now hop on www.kiepownica.pl and donate 😂😂
Not gonna lie, I could use some help, but honestly I don't demand anything, do as you please ;)

Well, if you would listen to the first suggestion I made then the rest of information wouldn't be needed as it turned out :D
But of course that's not always the case, duh, it is rarely the case.
Somebody had a problem recently on the forums and it turned out his very old CPU didnt support a particular instruction set needed for proper operation of sinusbot. In that case my wild guess would not be enough to solve the issue.
 
Top