• 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 Can't connect

Status
Not open for further replies.

LukBoy99

Donor
is awesome!
I run on my sinusbot few instances on teamspeak server on same vps and they all work fine, now im trying another instance on a frien dserver it can't connect and i get this:

2016-01-19T10:40:44+02:00 Socket closed.
2016-01-19T10:40:44+02:00 TSClient quit.
2016-01-19T10:40:44+02:00 EOF
2016-01-19T10:40:44+02:00 TS>qt.network.ssl: QSslSocket: cannot resolve SSLv2_server_method
2016-01-19T10:40:44+02:00 TS>qt.network.ssl: QSslSocket: cannot resolve SSLv2_client_method
2016-01-19T10:40:44+02:00 TS>warning: The VAD has been replaced by a hack pending a complete rewrite
2016-01-19T10:40:44+02:00 TS>libpng warning: iCCP: known incorrect sRGB profile
2016-01-19T10:40:43+02:00 TS |INFO |ClientUI |1 |Failed to connect to server, want autoreconnect = 0
2016-01-19T10:40:43+02:00 New connection status 0; Error 1797
2016-01-19T10:40:43+02:00 The bot could not connect. This might have several reasons: the server doesn't exist at that address, the server password is wrong or the security level of your identity is too low.
2016-01-19T10:40:43+02:00 TS |INFO |ClientUI |1 |Connect status: Disconnected
2016-01-19T10:40:43+02:00 TS |INFO |ClientUI | |Blacklist check timeout
2016-01-19T10:40:39+02:00 TS |INFO |Newsticker | |Newsticker next check: Sun Jan 1 00:00:01 2017
2016-01-19T10:40:38+02:00 TS |INFO |LicenseViewer | |Found cached license for version 1 and language en
2016-01-19T10:40:38+02:00 TS |INFO |LicenseViewer | |License language: en
2016-01-19T10:40:38+02:00 TS |INFO |Update | |Check license version: 1
2016-01-19T10:40:38+02:00 TS |INFO |Update | |Checking for updates...
2016-01-19T10:40:38+02:00 TS |INFO |ClientUI | |Checking for update
2016-01-19T10:40:38+02:00 TS |INFO |ClientUI | |Last update check was: Sun Jan 1 00:00:01 2017
2016-01-19T10:40:38+02:00 New connection status 1; Error 0
2016-01-19T10:40:38+02:00 TS |INFO |ClientUI |1 |Connect status: Connecting
2016-01-19T10:40:38+02:00 TS |INFO |PreProSpeex |1 |Speex version: 1.2rc1
2016-01-19T10:40:38+02:00 TS |INFO |ClientUI |1 |Initiating connection: 51.254.112.124:5858 51.254.112.124
2016-01-19T10:40:38+02:00 TS |INFO |ClientUI |1 |Blacklist check ok
2016-01-19T10:40:38+02:00 TS |INFO |ClientUI |1 |Connect to server: 51.254.112.124
2016-01-19T10:40:38+02:00 TS |INFO |ClientUI | |ts3server: 51.254.112.124?port=5858&nickname=Music%20Bot&password=&channel=&channelpassword=
 

flyth

is reticulating splines
Staff member
Developer
Contributor
Not a bug (most likely), too little info.
 

LukBoy99

Donor
is awesome!
What info do you need?where to get it?( keep in mind the bot works on my server on same vps normally, this just happens for other servers )
 

armpit

Member
2016-01-19T10:40:43+02:00 The bot could not connect. This might have several reasons: the server doesn't exist at that address, the server password is wrong or the security level of your identity is too low.

Says it all right there. ;)
 

Xuxe

Containerholic
Staff member
is awesome!
V.I.P.
Contributor
Insider
  • used version: Latest update released last Thursday.
  • used operating system (e.g. Windows, 64bit): Linux Debian 8 VPS 32 bit
  • hardware specs (e.g. VPS, Core i7, 8 GB RAM): VPS 4GB RAM , 2gb Vswap , 30 gb ssd
  • used browser (and maybe plugins):Google Chrome

Hey,

Code:
const unsigned int ERROR_failed_connection_initialisation       = 0x0705; //1797
The Error Code 1797 is a Problem on connection init, you have running a Firewall or something?
Also in your logs i reading "Blacklist check timeout..." i am really sure that is a problem with your networking and not the bot self.

Please run: https://github.com/patschi/sinusbot-tools/blob/master/tools/diagSinusbot.sh
 

LukBoy99

Donor
is awesome!
Code:
==========================================================
SINUSBOT RELATED
SYSTEM INFORMATION
 - Operating System: Debian GNU/Linux 8.2 (jessie) (OpenVZ)
 - OS x64 check: OK
 - Kernel: Linux 2.6.32-042stab108.8 x86_64
 - Load Average: 0.45 0.49 0.38
 - Uptime: 9 days, 17 hours, 22 minutes, 52 seconds
 - OS Updates: 3 (updates available!)
 - OS Missing Packages: None (v1)
 - OS APT Last Update: 19.01.2016 04:32:36 EST -05:00:00
 - Bot Start Script: found at /etc/init.d/sinusbot [perms: 0755]
 - DNS resolution check: google.com -> OK
 - CPU:

 - RAM: 374.07 MB/4.00 GB in use (9%)
 - SWAP: 192.28 MB/2.00 GB in use (9%)
 - DISK: 14.50 GB/15.49 GB in use (93%)
 - Report date: 19.01.2016 09:28:34 EST -05:00:00 (timezone: America/New_York)

BOT INFORMATION
 - Status: running (PIDs: 23101 23099, User: sinusbot)
 - Webinterface: port locally reachable (Port: 8087)
 - Binary: /home/sinusbot/sinusbot (Hash: 8792e5fbe8cebf9acb2780fe22a784b0)
 - Version: 0.9.9-98d0cd5
 - TS3 Plugin: installed (md5 hash mismatch!)
   - Bot Plugin: cae22d367a30a6c9a4e31c13d722ff9a
   - TS3 Client: 28511bf58fe820d911609f7252594400
 - Config:
   - LogLevel = 3
   - TS3Path = /home/sinusbot/TeamSpeak3-Client-linux_amd64/ts3client_linux_amd64 (Version 3.0.18.2)
   - YoutubeDLPath = /usr/local/bin/youtube-dl (does exist, version: 2015.12.23)
 - Installed Scripts: advertising.js; aloneMode.js; badchan.js; bookmark.js; covatar.js; dev.js; digitalclock.js; followme.js; idle.js; metadata.js; norecording.js; rememberChannel.js; showcase.js; welcometext.js
==========================================================
 

flyth

is reticulating splines
Staff member
Developer
Contributor
- TS3 Plugin: installed (md5 hash mismatch!)
- Bot Plugin: cae22d367a30a6c9a4e31c13d722ff9a
- TS3 Client: 28511bf58fe820d911609f7252594400
You should fix that even if it doesn't have to do with the connection problems.

It could be that the TS-Server has other IP-Ranges blocked. You could try sending UDP packets to that server and see if it comes through via tcpdump or such. Those checks go way beyond the support we can offer here.
But it most likely doesn't have to do with the bot itself.
 

LukBoy99

Donor
is awesome!
You should fix that even if it doesn't have to do with the connection problems.

It could be that the TS-Server has other IP-Ranges blocked. You could try sending UDP packets to that server and see if it comes through via tcpdump or such. Those checks go way beyond the support we can offer here.
But it most likely doesn't have to do with the bot itself.
Server networking is ok, everything goes through, it cant connected to ANY other server except my own, Games such as CS:GO and Minecraft are working probably
 

Jovan

Member
I have the same problem, also works on localhost, but not working on any other server with the same reason the LukBoy99 have mentioned

I forgot to tell, my bot was fully working on any TeamSpeak server untill 2 days ago, I would say.
 

LukBoy99

Donor
is awesome!
Turned out to be a problem with ddos filters, was on a host called ginernet, now I changed to blazing fast and they knew the problwm when I told them and unblocked it for me
 

Jovan

Member
So I have to contact my provider (EVOVPS - OVH) and they should be able to allow me connecting my Music Bot to any other server than localhost ?
 

LukBoy99

Donor
is awesome!
To what I have found out, if you have no iptables that could be the reason then no, there's nothing you can do.
 

Jovan

Member
I asked support of my hosting to assist me with working on this problem and they did changed some configuration on iptables. My bot(s) works fine now. Thanks!
 
Status
Not open for further replies.
Top