Deprecated: Use of "parent" in callables is deprecated in /var/www/html/forum/src/vendor/league/flysystem-eventable-filesystem/src/EventableFilesystem.php on line 431
  • 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.

Sinusbot can't connect on TS3 Client

I tried to find similar threads in this forum, hoping someone had my same problem, but none was found with this kind of log I have or with a proper solution. The log below has been increased with loglevel 10 but I don't know what's wrong in the log. I see lines about X11 conection broken, but don't understand why it might be related since sinusbot works without GUI. I hope someone might help me. (BTW this is a log a freshly installed sinusbot)

Code:
2020-04-12T16:18:16+02:00 eof from data
2020-04-12T16:18:16+02:00 eof from voice
2020-04-12T16:18:16+02:00 closing channels
2020-04-12T16:18:15+02:00 TSClient quit. LogLevel has been increased, please try to connect again to see more details.
2020-04-12T16:18:15+02:00 Closed.
2020-04-12T16:18:15+02:00 TS> after 204 requests (200 known processed) with 0 events remaining.
2020-04-12T16:18:15+02:00 TS>XIO: fatal IO error 2 (No such file or directory) on X server "unix/:40.0"
2020-04-12T16:18:15+02:00 TS>The X11 connection broke: Maximum allowed requested length exceeded (code 4)
2020-04-12T16:18:15+02:00 TS>libpng warning: iCCP: known incorrect sRGB profile
2020-04-12T16:18:15+02:00 TS>QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
2020-04-12T16:18:15+02:00 TS>QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
2020-04-12T16:18:15+02:00 TS>qt.qpa.xkeyboard: no keyboard layouts with latin keys present
2020-04-12T16:18:15+02:00 TS>QCoreApplication::applicationDirPath: Please instantiate the QApplication object first
2020-04-12T16:18:15+02:00 TS |INFO | | |successfully downloaded revocation list for myteamspeak id
2020-04-12T16:18:15+02:00 TS |INFO | | |successfully downloaded revocation list for accounting
2020-04-12T16:18:15+02:00 TS |INFO |Plugins | |Loading plugin: libsoundbot_plugin.so
2020-04-12T16:18:15+02:00 TS |INFO |Addons | |Checking for addon updates...
2020-04-12T16:18:15+02:00 TS |ERROR |RevocationListCache| |Failed to import revocation list from cache
2020-04-12T16:18:15+02:00 TS |INFO |ClientUI | |Unable to create an Open GL context.
2020-04-12T16:18:15+02:00 TS |DEBUG |PulseAudio | |connected to pulse audio server -
2020-04-12T16:18:15+02:00 TS |INFO | | |SystemInformation: Linux 4.15.0-96-generic #97-Ubuntu SMP Wed Apr 1 03:25:46 UTC 2020 x86_64 Binary: 64bit
2020-04-12T16:18:15+02:00 TS |INFO | | |TeamSpeak Client 3.5.2 (2020-04-02 07:35:52)
2020-04-12T16:18:15+02:00 TS>DUMP defined! Dumpdir is: /home/desktop/Public/Softwares/sinusbot/data/ts3/3482493b-3e32-462f-8f1b-a2723fcc4729/2c5713e6-17c5-4537-8116-1272daec23ba/crashdumps
2020-04-12T16:18:15+02:00 TS>Crashdump ENABLED, directory is: /home/desktop/Public/Softwares/sinusbot/data/ts3/3482493b-3e32-462f-8f1b-a2723fcc4729/2c5713e6-17c5-4537-8116-1272daec23ba/crashdumps
2020-04-12T16:18:14+02:00 Starting instance ts3server://[ip-address]?port=[port]&nickname=WelcomeBot&password=&cid=45&channelpassword=
 

irgendwr

no longer active, "retired" staff member
is awesome!
V.I.P.
is uber awesome!
Contributor
Insider
I see lines about X11 conection broken, but don't understand why it might be related since sinusbot works without GUI.
The SinusBot itself does not need an X server. This is due to the TeamSpeak client requiring an X server.
How do you run the SinusBot?

It would be helpful if you provided the output of the diagScript as mentioned in read me before you post.
 
Here you go @irgendwr

Code:
==========================================================
SINUSBOT RELATED
SYSTEM INFORMATION
 - Operating System: Ubuntu 18.04.4 LTS
 - Kernel: Linux 4.15.0-96-generic x86_64
 - Load Average: 1.47 1.41 1.54
 - Uptime: 0 days, 6 hours, 33 minutes, 34 seconds
 - OS x64 check: OK
 - OS Updates: 0 (well done!)
 - OS Missing Packages: None
 - OS APT Last Update: 17.04.2020 11:22:43 CEST +02:00:00
 - Shell Locale: en_US.UTF-8
 - Bot Start Script: not found
 - CPU:
    Architecture:        x86_64
    CPU(s):              8
    Thread(s) per core:  2
    Core(s) per socket:  4
    Socket(s):           1
    Model name:          Intel(R) Core(TM) i7 CPU         950  @ 3.07GHz
    CPU MHz:             1730.361
    Virtualization:      VT-x
 - RAM: 5.64 GB/15.65 GB in use (36%)
 - SWAP: 948.25 MB/3.99 GB in use (23%)
 - DISK: 1.19 TB/1.78 TB in use (66%)
 - Package versions:
   - libglib: 2.56.4-0ubuntu0.18.04.62.56.4-0ubuntu0.18.04.6

BOT INFORMATION
 - Status: not running
 - Webinterface: port locally reachable (Port: 8087)
 - Binary: /home/desktop/Public/Softwares/sinusbot/sinusbot
 - Binary Info: MD5 Hash: 224b687db910b732fe5a7cfec4f6c78e, Perms: 755, User: desktop
 - Version: 1.0.0-beta.10-202ee4d
 - TS3 Plugin: installed (md5 hash match)
   - Bot Plugin: aa483aea105cb62033392b1ce6d317ab
   - TS3 Client: aa483aea105cb62033392b1ce6d317ab
 - Config:
   - LogLevel = 10 (debug log active)
   - TS3Path = /home/desktop/Public/Softwares/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64 (Version 3.5.2)
   - YoutubeDLPath = /usr/local/bin/youtube-dl (does exist, version: 2020.03.24)
 - Installed scripts: advertising.js; alonemode.js; bookmark.js; command.js; followme.js; norecording.js; rememberChannel.js; sinusbot-commands.js; welcome.js

BOT TECHNICAL INFORMATION
 - File exists:
   - TS3Client/libqxcb-glx-integration.so: no
 - LDD output:
    linux-vdso.so.1 (0x00007fff9bad3000)
    libswresample.so.2 (0x00007fa253094000)
    libavfilter.so.6 (0x00007fa252d3c000)
    libavformat.so.57 (0x00007fa25293b000)
    libavcodec.so.57 (0x00007fa251fd6000)
    libavutil.so.55 (0x00007fa251d62000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fa251b5e000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fa2517c0000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fa2515a1000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fa251218000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fa251000000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fa250c0f000)
    libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fa2509f2000)
    librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fa2507ea000)
    /lib64/ld-linux-x86-64.so.2 (0x00007fa2532ae000)

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.15.74: SUCCESS [CODE #404]
    update02.sinusbot.com -> 104.28.15.74: SUCCESS [CODE #404]
    update03.sinusbot.com -> 104.28.14.74: SUCCESS [CODE #404]

TIME INFORMATION
 - Time (local): 17.04.2020 16:32:40 CEST +02:00:00
 - Time (remote): 17.04.2020 16:32:40 CEST +02:00:00
 - Time (difference): 0 secs (Time diff less than 2 secs. Good.)
 - Timezone: Europe/Rome

OTHER INFORMATION
 - TeamSpeak3 Version: 3.5.2
 - youtube-dl Version: 2020.03.24
 - DiagScript Version: 0.8.0
==========================================================
 
Thanks. And


Try running the SinusBot using our startscript: https://sinusbot.github.io/docs/installation/linux/#using-a-startscript

@irgendwr I tried, but no changes

Code:
2020-04-18T09:49:28+02:00 eof from data
2020-04-18T09:49:28+02:00 closing channels
2020-04-18T09:49:28+02:00 eof from voice
2020-04-18T09:49:27+02:00 TSClient quit.
2020-04-18T09:49:27+02:00 Closed.
2020-04-18T09:49:27+02:00 TS>      after 204 requests (200 known processed) with 0 events remaining.
2020-04-18T09:49:27+02:00 TS>XIO:  fatal IO error 2 (No such file or directory) on X server "unix/:40.0"
2020-04-18T09:49:27+02:00 TS>The X11 connection broke: Maximum allowed requested length exceeded (code 4)
2020-04-18T09:49:27+02:00 TS>libpng warning: iCCP: known incorrect sRGB profile
2020-04-18T09:49:27+02:00 TS>QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
2020-04-18T09:49:27+02:00 TS>QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
2020-04-18T09:49:27+02:00 TS>QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-desktop'
2020-04-18T09:49:27+02:00 TS>qt.qpa.xkeyboard: no keyboard layouts with latin keys present
2020-04-18T09:49:27+02:00 TS>QCoreApplication::applicationDirPath: Please instantiate the QApplication object first
2020-04-18T09:49:26+02:00 Could not send var command: HTTP returned an error: Error; Code: 500; Message: Error
2020-04-18T09:49:26+02:00 Could not send config: HTTP returned an error: Error; Code: 500; Message: Error
2020-04-18T09:49:26+02:00 TS |INFO    |Plugins       |   |Loading plugin: libsoundbot_plugin.so
2020-04-18T09:49:25+02:00 TS |INFO    |Addons        |   |Checking for addon updates...
2020-04-18T09:49:25+02:00 TS |INFO    |              |   |successfully downloaded revocation list for myteamspeak id
2020-04-18T09:49:25+02:00 TS |INFO    |              |   |successfully downloaded revocation list for accounting
2020-04-18T09:49:25+02:00 TS |ERROR   |RevocationListCache|   |Failed to import revocation list from cache
2020-04-18T09:49:25+02:00 TS |INFO    |ClientUI      |   |Unable to create an Open GL context.
2020-04-18T09:49:25+02:00 TS |DEBUG   |PulseAudio    |   |connected to pulse audio server -
2020-04-18T09:49:23+02:00 TS |INFO    |              |   |SystemInformation: Linux 4.15.0-96-generic #97-Ubuntu SMP Wed Apr 1 03:25:46 UTC 2020 x86_64 Binary: 64bit
2020-04-18T09:49:23+02:00 TS |INFO    |              |   |TeamSpeak Client 3.5.2 (2020-04-02 07:35:52)
2020-04-18T09:49:23+02:00 TS>DUMP defined! Dumpdir is: /home/desktop/Public/Softwares/sinusbot/data/ts3/3482493b-3e32-462f-8f1b-a2723fcc4729/2c5713e6-17c5-4537-8116-1272daec23ba/crashdumps
2020-04-18T09:49:23+02:00 TS>Crashdump ENABLED,  directory is: /home/desktop/Public/Softwares/sinusbot/data/ts3/3482493b-3e32-462f-8f1b-a2723fcc4729/2c5713e6-17c5-4537-8116-1272daec23ba/crashdumps
2020-04-18T09:49:21+02:00 Starting instance ts3server://[ip-address]?port=[port]&nickname=VAG%20%7C%20WelcomeBot&password=&cid=45&channelpassword=
 
Top