• 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.

Solved New connection status 0; Error 1797

Status
Not open for further replies.

Jo0Lz

New Member
Hi! Thanks for your awesome bot service, we greatly enjoy the music bot.
We have issues with server load, and want to move the bot to another server.

I have installed the bot, and it connects to the TS, but after a few seconds, the connection drops. The logfile states that there is an error.

Diag:
Code:
==========================================================
SINUSBOT RELATED
SYSTEM INFORMATION
- Operating System: Ubuntu 16.04.1 LTS
- OS x64 check: OK
- Kernel: Linux 3.14.32-xxxx-grs-ipv6-64 x86_64
- Load Average: 0.60 0.23 0.12
- Uptime: 0 days, 19 hours, 4 minutes, 18 seconds
- OS Updates: 0 (well done!)
- OS Missing Packages: None (v1)
- OS APT Last Update: 12.09.2016 14:30:59 CEST +02:00:00
- Bot Start Script: found at /etc/init.d/sinusbot [perms: 755]
- DNS resolution check: google.com -> OK
- CPU:
    Architecture:          x86_64
    CPU(s):                4
    Thread(s) per core:    2
    Core(s) per socket:    2
    Socket(s):             1
    Model name:            Intel(R) Atom(TM) CPU N2800   @ 1.86GHz
    CPU MHz:               798.000
- RAM: 190.57 MB/1.92 GB in use (9%)
- SWAP: 0 B/510.99 MB in use (0%)
- DISK: 1.39 GB/433.02 GB in use (0%)
- Package versions:
   > libglib: 2.48.1-1~ubuntu16.04.1

BOT INFORMATION
- Status: running (PIDs: 31192 31191, User: ***
sinusbot)
- Webinterface: port locally reachable (Port: 8087)
- Binary: /opt/sinusbot/sinusbot (MD5 Hash: 731121f8516ade834d3bc3e9ebf64a4f)
- Version: 0.9.12.3-36fce3c
- TS3 Plugin: installed (md5 hash match)
   - Bot Plugin: a27dfe2f92730b55119b69ca0dc2268d
   - TS3 Client: a27dfe2f92730b55119b69ca0dc2268d
- Config:
   - LogLevel = 3
   - TS3Path = /opt/sinusbot/teamspeak3-client/ts3client_linux_amd64 (Version 3.0.19.4)
   - YoutubeDLPath = not set
- Installed scripts: advertising.js; aloneMode.js; badchan.js; bookmark.js; covatar.js; dev.js; followme.js; idle.js.js; showcase.js; sound.js; welcometext.js

OTHER INFORMATION
- Report date: 12.09.2016 15:21:05 CEST +02:00:00 (timezone: Europe/Paris)
- TeamSpeak 3 Version: 3.0.19.4
- youtube-dl Version: unknown
- DiagScript version: 0.4.6
==========================================================

Bot:
Code:
___ ___ _  _ _   _ ___ ___  ___ _____  BETA
/ __|_ _| \| | | | / __| _ )/ _ \_   _|
\__ \| || .` | |_| \__ \ _ \ (_) || |
|___/___|_|\_|\___/|___/___/\___/ |_|

Version: 0.9.12.3-36fce3c
(C) 2013-2016 Michael Friese. All rights reserved.

2016/09/12 15:22:54 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin advertising.js
2016/09/12 15:22:54 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin aloneMode.js
2016/09/12 15:22:54 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin badchan.js
2016/09/12 15:22:54 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin bookmark.js
2016/09/12 15:22:54 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin covatar.js
2016/09/12 15:22:54 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin dev.js
2016/09/12 15:22:54 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin followme.js
2016/09/12 15:22:54 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin idle.js
2016/09/12 15:22:54 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin metadata.js
2016/09/12 15:22:54 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin norecording.js
2016/09/12 15:22:54 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin rememberChannel.js
2016/09/12 15:22:54 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin showcase.js
2016/09/12 15:22:54 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin sound.js
2016/09/12 15:22:54 [GENERAL/SCRIPTS] INFO   Loading ScriptPlugin welcometext.js
2016/09/12 15:22:54 X [MAIN] Starting up fake x-server...
2016/09/12 15:22:54 a5eda1a5          INFO   Loading instances
2016/09/12 15:22:55 a5eda1a5          INFO   Loading instance://698e99a9-7bd4-42ba-b147-9954802b88aa
2016/09/12 15:22:55 a5eda1a5 698e99a9 INFO   Initialization complete
2016/09/12 15:22:55 [GENERAL/FFMPEG ] INFO   FFmpeg/avcodec v3741798; license: LGPL version 2.1 or later; 81 codecs
2016/09/12 15:22:55 [GENERAL/FFMPEG ] INFO   FFmpeg/avformat v3742052; license: LGPL version 2.1 or later; 143 formats
2016/09/12 15:22:55 [GENERAL/!!!!!!!] NOTICE You may now configure and launch the bots from the webinterface. http://0.0.0.0:8087
2016/09/12 15:22:55 [GENERAL/RADIO  ] INFO   RadioStation data loaded
2016/09/12 15:22:56 a5eda1a5          DEBUG  Added EVListener
2016/09/12 15:22:56 [GENERAL/RADIO  ] INFO   Imported radio stations
2016/09/12 15:23:18 a5eda1a5          DEBUG  Added EVListener
2016/09/12 15:24:02 a5eda1a5 698e99a9 INFO   BOT-CONFIG [admin] NAME CHAN CHANPW ANNOUNCE DESCRIPTION ANNOUNCESTR TTSURL CC OK
2016/09/12 15:24:03 a5eda1a5 698e99a9 DEBUG  > PrepareListener
2016/09/12 15:24:03 a5eda1a5 698e99a9 DEBUG  < PrepareListener
2016/09/12 15:24:03 a5eda1a5 698e99a9 DEBUG  Could not delete from Notificationsno such table: Notifications
2016/09/12 15:24:03 a5eda1a5 698e99a9 DEBUG  Could not insert into Notifications-Tableno such table: Notifications
2016/09/12 15:24:03 a5eda1a5 698e99a9 DEBUG  Could not delete from Notificationsno such table: Notifications
2016/09/12 15:24:03 a5eda1a5 698e99a9 DEBUG  Could not insert into Notifications-Tableno such table: Notifications
2016/09/12 15:24:03 a5eda1a5 698e99a9 INFO   Starting instance ts3server://server.nl?port=9987&nickname=MusicDemo&password=&channel=&channelpassword=
2016/09/12 15:24:03 X [MAIN] New connection
2016/09/12 15:24:04 a5eda1a5 698e99a9 DEBUG  TS>Crashdump ENABLED,  directory is: /opt/sinusbot/data//ts3/a5eda1a5-6928-4343-95c3-45525adf53c4/698e99a9-7bd4-42ba-b147-9954802b88aa/crashdumps
2016/09/12 15:24:04 a5eda1a5 698e99a9 DEBUG  TS>DUMP defined! Dumpdir is: /opt/sinusbot/data//ts3/a5eda1a5-6928-4343-95c3-45525adf53c4/698e99a9-7bd4-42ba-b147-9954802b88aa/crashdumps
2016/09/12 15:24:04 a5eda1a5 698e99a9 INFO   TS |INFO    |              |   |TeamSpeak 3 Client 3.0.19.4 (2016-07-14 10:16:58)
2016/09/12 15:24:04 a5eda1a5 698e99a9 INFO   TS |INFO    |              |   |SystemInformation: Linux 3.14.32-xxxx-grs-ipv6-64 #7 SMP Wed Jan 27 18:05:09 CET 2016 x86_64 Binary: 64bit
2016/09/12 15:24:04 a5eda1a5 698e99a9 INFO   TS |ERROR   |SoundBckndIntf|   |libpulse.so.0: cannot open shared object file: No such file or directory
2016/09/12 15:24:04 a5eda1a5 698e99a9 INFO   TS |ERROR   |SoundBckndIntf|   |libasound.so.2: cannot open shared object file: No such file or directory
2016/09/12 15:24:04 a5eda1a5 698e99a9 INFO   TS |WARNING |SoundDevManager|   |Did not load any sound backends. No (usable) dynamic libraries found.
2016/09/12 15:24:04 a5eda1a5 698e99a9 INFO   TS |INFO    |              |   |Loading plugin: libclientquery_plugin
2016/09/12 15:24:04 a5eda1a5 698e99a9 INFO   TS |INFO    |              |   |Loading plugin: liblua_plugin
2016/09/12 15:24:04 a5eda1a5 698e99a9 INFO   TS |INFO    |              |   |Loading plugin: libsoundbot_plugin
2016/09/12 15:24:04 a5eda1a5 698e99a9 INFO   TS |INFO    |              |   |Loading plugin: libtest_plugin
2016/09/12 15:24:04 a5eda1a5 698e99a9 INFO   TS |INFO    |Query         |   |listening on 127.0.0.1:25639
2016/09/12 15:24:04 X [MAIN] New connection
2016/09/12 15:24:04 a5eda1a5 698e99a9 DEBUG  TS>ClientQueryPlugin: currentServerConnectionChanged 1 (0)
2016/09/12 15:24:04 a5eda1a5 698e99a9 INFO   TS |INFO    |              |   |*** Time [MAINWINDOW]: 306
2016/09/12 15:24:04 a5eda1a5 698e99a9 INFO   TS |INFO    |              |   |*** Time [INIT]: 307
2016/09/12 15:24:04 a5eda1a5 698e99a9 INFO   TS |INFO    |ClientUI      |   |Failed to init text to speech engine
2016/09/12 15:24:04 a5eda1a5 698e99a9 INFO   TS |INFO    |ClientUI      |   |Qt version: 5.5.1
2016/09/12 15:24:04 a5eda1a5 698e99a9 INFO   TS |INFO    |ClientUI      |   |Using configuration location: /opt/sinusbot/data//ts3/a5eda1a5-6928-4343-95c3-45525adf53c4/698e99a9-7bd4-42ba-b147-9954802b88aa/settings.db
2016/09/12 15:24:04 a5eda1a5 698e99a9 INFO   TS |INFO    |ClientUI      |   |ts3server: server.nl?port=9987&nickname=MusicDemo&password=&channel=&channelpassword=
2016/09/12 15:24:04 a5eda1a5 698e99a9 INFO   TS |INFO    |ClientUI      |1  |Connect to server: server.nl
2016/09/12 15:24:04 a5eda1a5 698e99a9 INFO   TS |INFO    |ClientUI      |1  |Trying to resolve server.nl
2016/09/12 15:24:04 a5eda1a5 698e99a9 INFO   TS |INFO    |TSDNS         |   |SRV DNS resolve unsuccessful for "_ts3._udp.server.nl"
2016/09/12 15:24:04 a5eda1a5 698e99a9 INFO   TS |INFO    |TSDNS         |   |DNS resolve successful, "server.nl"=10.0.0.1
2016/09/12 15:24:05 a5eda1a5 698e99a9 INFO   TS |INFO    |ClientUI      |   |Last update check was: Sun Jan 1 00:00:01 2017
2016/09/12 15:24:05 a5eda1a5 698e99a9 INFO   TS |INFO    |ClientUI      |   |Checking for update
2016/09/12 15:24:05 a5eda1a5 698e99a9 INFO   TS |INFO    |Update        |   |Checking for updates...
2016/09/12 15:24:05 a5eda1a5 698e99a9 INFO   TS |INFO    |ClientUI      |1  |Lookup finished: 10.0.0.1 9987 server.nl 0 0
2016/09/12 15:24:05 a5eda1a5 698e99a9 INFO   TS |INFO    |ClientUI      |1  |Resolve successful: 10.0.0.1:9987
2016/09/12 15:24:05 a5eda1a5 698e99a9 INFO   TS |INFO    |ClientUI      |1  |Blacklist check ok
2016/09/12 15:24:05 a5eda1a5 698e99a9 INFO   TS |INFO    |ClientUI      |1  |Initiating connection: 10.0.0.1:9987 server.nl
2016/09/12 15:24:06 a5eda1a5 698e99a9 INFO   TS |INFO    |PreProSpeex   |1  |Speex version: 1.2rc1
2016/09/12 15:24:06 a5eda1a5 698e99a9 INFO   TS |INFO    |ClientUI      |1  |Connect status: Connecting
2016/09/12 15:24:06 a5eda1a5 698e99a9 INFO   New connection status 1; Error 0
2016/09/12 15:24:06 a5eda1a5 698e99a9 DEBUG  >> BREQ POST /api/v1/config
2016/09/12 15:24:06 a5eda1a5 698e99a9 INFO   TS |INFO    |Update        |   |Check license version: 1
2016/09/12 15:24:06 a5eda1a5 698e99a9 INFO   TS |INFO    |LicenseViewer |   |License language: en
2016/09/12 15:24:06 a5eda1a5 698e99a9 INFO   TS |INFO    |LicenseViewer |   |Found cached license for version 1 and language en
2016/09/12 15:24:08 a5eda1a5 698e99a9 INFO   TS |DEVELOP |PktHandler    |   |Puzzle solve time: 27
2016/09/12 15:24:08 a5eda1a5 698e99a9 DEBUG  >> BREQ GET /api/v1/ping
2016/09/12 15:24:08 a5eda1a5 698e99a9 DEBUG  >> BREQ GET /api/v1/updateUsers
2016/09/12 15:24:14 a5eda1a5 698e99a9 INFO   TS |INFO    |ClientUI      |1  |Connect status: Disconnected
2016/09/12 15:24:14 a5eda1a5 698e99a9 INFO   TS |INFO    |ClientUI      |1  |Failed to connect to server, want autoreconnect = 0
2016/09/12 15:24:14 a5eda1a5 698e99a9 INFO   The bot could not connect. This might have several reasons: the server doesn't exist at that address, the server password is wrong, the default channel doesn't exist, the bot has been banned, the server is an illegal installation or the password is wrong or the security level of your identity is too low.
2016/09/12 15:24:14 a5eda1a5 698e99a9 INFO   New connection status 0; Error 1797
2016/09/12 15:24:14 a5eda1a5 698e99a9 DEBUG  >> BREQ POST /api/v1/disconnect
2016/09/12 15:24:15 a5eda1a5 698e99a9 DEBUG  TS>libpng warning: iCCP: known incorrect sRGB profile
2016/09/12 15:24:15 a5eda1a5 698e99a9 DEBUG  TS>QObject::connect: Cannot connect (null)::stateChanged(QNetworkSession::State) to QNetworkReplyHttpImpl::_q_networkSessionStateChanged(QNetworkSession::State)
2016/09/12 15:24:15 a5eda1a5 698e99a9 DEBUG  TS>warning: The VAD has been replaced by a hack pending a complete rewrite
2016/09/12 15:24:15 a5eda1a5 698e99a9 DEBUG  Closed.
2016/09/12 15:24:15 a5eda1a5 698e99a9 INFO   TSClient quit.
2016/09/12 15:24:16 a5eda1a5 698e99a9 DEBUG  > CloseListener
2016/09/12 15:24:16 a5eda1a5 698e99a9 DEBUG  < CloseListener
2016/09/12 15:24:21 a5eda1a5 698e99a9 DEBUG  Storing configuration.

The bot connects, I moved it to the correct channel and assigned server group. However, the TS user times out, and it states "Connection dropped".

Any help is appreciated.
 
Last edited:

Jo0Lz

New Member
I though it was related to security level, so I created identities with higher security levels. (12, 24 and 25), that didn't resolve the issue.
 

flyth

is reticulating splines
Staff member
Developer
Contributor
=> The bot could not connect. This might have several reasons: the server doesn't exist at that address, the server password is wrong, the default channel doesn't exist, the bot has been banned, the server is an illegal installation or the password is wrong or the security level of your identity is too low.

Usually one of those (however, not the "server doesn't exist" one)^^
 

Jo0Lz

New Member
=> The bot could not connect. This might have several reasons: the server doesn't exist at that address, the server password is wrong, the default channel doesn't exist, the bot has been banned, the server is an illegal installation or the password is wrong or the security level of your identity is too low.

Usually one of those (however, not the "server doesn't exist" one)^^
The three reasons marked in bold can't be the case. The server has no password, and the default channel is the lobby, I moved it to another room and gave it a server group (sort of moderator group). I have another bot running on the current server and it connects fine. It has security level 9, and so does the new installation. How can the installation be illegal when I am running another bot on it. (Or, is the fact that the current bot is still connected causing the issue?)
 

Jo0Lz

New Member
the server is an illegal installation

This is the only thing that could be an issue. Is there a limit to the amount of bots one can install? How can I check this?
 

Jo0Lz

New Member
Okay, I have re-installed the server, and re-installed Sinusbot, but still the same message appears. The old bot users level 8, the new id of the new bot is also 8, the bot on the localhost of the server works fine, but the bot I run from another server drops connection.
If the TS3 server was illegal, wouldn't all other clients lose their connection as well?

I'm really at a loss here. The server I run TS on has limited CPU capacity, which is why I would prefer to move the installation...

Any help is appreciated. Any ideas on how I can check / alter the remaining points?
 

Jo0Lz

New Member
I've updated the TS installation to the last version. I've seen the parse of whitelist.txt, so I know the IP the new bot connects from is whitelisted.
Still, the bot won't stay on the server. It drops the connection. I've copied over the installation that is now running locally on the TS server, and it runs, but the same thing happens. It connects, but it then "drops connection".

I'm lost, I've tried everything I can think of, even with the identity that is now running on the local machine again, it disconnects after a minute or two...
 

Jo0Lz

New Member
So. I'm not crazy. It wasn't related to my server install, teamspeak or config at all!

I updated to the latest version because the bot wouldn't launch and figured I'd give the install on my other server another try. It's working flawlessly now.
Geez, wish I would have known, would have saved me a LOT of time.
 
Status
Not open for further replies.
Top