When I run the “3D Sound Unity” scene included in teamspeak_sdk_3.1.0_2020_10_29_Unity_2019.4.12f1.unitypackage and press the Connect button after entering the Server IP, it fails with the message “Couldn’t connect to server: failed connection initialization”. .
When using the TeamSpeak3 client on the same server, it connects well.
The Unity example doesn’t have a manual so I don’t know what else to do.
Where is the Unity Integration Manual? Or what additional work do I have to do to connect to the server?
I host my TeamSpeak server on the same machine as a c++ server
ts3client_initClientLib() returns no error, ts3client_spawnNewServerConnectionHandler() returns no error.
ts3client_startConnection(scHandlerID, identity, “127.0.0.1”, 10011, “trinity”, NULL, “”, “wfHC0tw3”);
doesn’t connect me and I have no idea why, no error in terminal.
When I look at my logs on my c++ server:
2023-01-12 19:31:29.708078|INFO |TeamSpeak Client 3.1.1.0 (2021-01-14 08:14:46) SDK
2023-01-12 19:31:29.708078|INFO |SystemInformation : Windows 10 (22621) x64 (AMD or Intel) Binary : 64bit
2023-01-12 19:31:29.708078|INFO |Hardware usage aes
2023-01-12 19:31:29.720004|DEBUG |Direct Sound |Set timer resolution to 1ms -
2023-01-12 19:31:29.749616|ERROR |UDPClient | No connection could be established because the target machine actively denied it
2023-01-12 19:31:30.349854|ERROR |UDPClient | Connection could not be established because the target machine actively refused it.
2023-01-12 19:31:31.052052|ERROR |UDPClient |The connection could not be established because the target machine actively denied it.
2023-01-12 19:31:32.055629|ERROR |UDPClient |The connection could not be established because the target machine actively denied it.
2023-01-12 19:31:33.358102|ERROR |UDPClient |No connection could be established because the target machine actively refused it.
But in my Teamspeak server I have no error log:
2023-01-12 18:56:57.226029|INFO |ServerLibPriv |TeamSpeak 3 Server 3.13.7 (2022-06-20 12:21:53)
2023-01-12 18:56:57.227542|INFO |ServerLibPriv |SystemInformation: Windows 10 (22621) x64 (AMD or Intel) Binary: 64bit
2023-01-12 18:56:57.227542|INFO |ServerLibPriv |Using hardware aes
2023-01-12 18:56:57.266137|INFO |DatabaseQuery |dbPlugin name: SQLite3 plugin, Version 3, (c)TeamSpeak Systems GmbH
2023-01-12 18:56:57.267142|INFO |DatabaseQuery |dbPlugin version: 3.11.1
2023-01-12 18:56:57.270637|INFO |DatabaseQuery |checking database integrity (may take a while)
2023-01-12 18:56:57.312086|WARNING |Accounting |Unable to open licensekey.dat, falling back to limited functionality
2023-01-12 18:56:57.318471|INFO |Accounting |Licensing Information
2023-01-12 18:56:57.318471|INFO |Accounting | |licensed to : Anonymous
2023-01-12 18:56:57.318471|INFO |Accounting |Type: No License
2023-01-12 18:56:57.318471|INFO |Accounting |starting date: Tue Feb 1 00:00:00 2022
2023-01-12 18:56:57.318471|INFO |Accounting |ending date: Thu Jul 1 00:00:00 2027
2023-01-12 18:56:57.318471|INFO |Accounting |max virtualservers: 1
2023-01-12 18:56:57.318471|INFO |Accounting |max slots: 32
2023-01-12 18:56:57.964113|INFO | |Puzzle precompute time: 628
2023-01-12 18:56:57.969504|INFO |FileManager |listening on 0.0.0.0:30033, [::]:30033
2023-01-12 18:56:57.978200|INFO |Query |Using a query thread pool size of 2
2023-01-12 18:56:58.047619|INFO |Query |listening for query on 0.0.0.0:10011, [::]:10011
2023-01-12 18:56:58.050531|INFO |Query |listening for ssh query on 0.0.0.0:10022, [::]:10022
2023-01-12 18:56:58.050531|INFO |Query |listening for http query on 0.0.0.0:10080, [::]:10080
2023-01-12 18:56:58.053011|INFO |CIDRManager |updated query_ip_allowlist ips: 127.0.0.1/32, ::1/128,
I have opened the ports :
Voice UDP 9987
ServerQuery (raw) TCP 10011
ServerQuery (SSH) TCP 10022
And I remind that the two servers are on the same PC.
Do you know what could go wrong? Thanks in advance !
I’ve started a linux server on my machine (u22@u22:~/teamspeak3-server_linux_amd64$ TS3SERVER_LICENSE=accept ./ts3server)
Using the client SDK, I’m trying to connect to the server I just created, but I keep getting the following error 0x0705No TeamSpeak server running on the specified IP address and port.
The weird thing is that, when I spin up a server using the examples from the SDK, indeed I manage to connect to it.
So there seems to exist some kind of difference when connecting to a real server using the client SDK.
Has anyone experienced this before and knows more about it?