Jump to content
TrinityCore

Stuck at connected / infinite loop / login issues / battle.net


CFGhost
 Share

Recommended Posts

Hi,

 

Sorry to bump this topic but after patching my Wow.app (Mac OS) i would like to launch my game. It crash but when removing the tc_bundle.txt, my Wow.app work but unable to connect to my server :

[IBN_Login] Front disconnected | connectionId=1 | result=( | code=ERROR_NETWORK_MODULE_FAILED_TO_DOWNLOAD_CERT_BUNDLE (1021) | localizedMessage= | debugMessage=)
[GlueLogin] Fatal error while logging in | result=( | code=ERROR_NETWORK_MODULE_FAILED_TO_DOWNLOAD_CERT_BUNDLE (1021) | localizedMessage= | debugMessage=)

I think this error is logical because I removed the tc_bundle.txt my WoW folder but, how to solve the crash when the tc_bundle.txt is in my WoW folder?
Thank you !

Edited by Kedaewyn
Link to comment
Share on other sites

Well I had a similar problem. But did you change the in the bnetserver.conf of the external address to your IP, did you change the IP in the DB under auth? And I am guessing that your friends changed their wtf folder to your ip. If it does work then Creds are all to whoever helped me :p. 

If you're having trouble finding where to change the ips in the config file they are listed in

LoginREST.Port = 8081
LoginREST.ExternalAddress=<the ip you're trying to connect your friends to>
LoginREST.LocalAddress=<your IPv4 ip>

Link to comment
Share on other sites

hey guys, got a little problem, can anyone help me? i can join on my own server but my friends cant. They can choose the realm but if they choose them, they get the error WOW51900328. how can i solve this problem? i use hamachi to use tc
 

my ip: 25.73.157.241
my ivp6: 192.168.2.14


DB:
address: 25.73.157.241
local address: 192.168.2.14
localsubnetmask: 255.255.255.0

bnet config:
LoginREST.Port = 8081
LoginREST.ExternalAddress=25.73.157.241
LoginREST.LocalAddress= 192.168.2.14
 

Link to comment
Share on other sites

Hi all,

Having another issue getting TC to work at all. I've finally gotten everything compiled and running but naturally, given that this is linux, something else has to go wrong. I am running Ubuntu 16.04 LTS.

I am trying to open up my Trinity server so a few friends can play.

Following the official setup guide, I read the following:

  • The hostname (127.0.0.1) can stay the same if Trinity is being installed on the same computer that you run WoW on.
    Otherwise, follow the instruction in Realmlist Table if this is not the case. 

No problem. So I go to the Realmlist table, and the instructions are as follows:

Open the auth database and find the realmlist table. You need to edit the address field according to your needs:

  • LAN IP (192.168.x.x) - If you are installing TrinityCore on a different computer from where you run WoW, but all the computers involved are on the same network (router) use that computer's Local Area Network IP.
  • 127.0.0.1 - Also known as "localhost". Leave this setting alone here and in your configs if you've installed TrinityCore on the same computer you run WoW on, and only you are connecting to it.
  • External IP – If you want other people to connect to your server, use your external IP. Visit http://www.whatismyip.com/ to find your external IP address.

 

Great! So, I've made that modification in both places:

%7Boption%7Dhttp://i.imgur.com/lmWs4SG.png

And the following change in worldserver.conf:

BindIP = "xx.xxx.xx.xx"

Both are the same, my external IP.

 

However, doing so results in this error when starting worldserver:

TC>Exception caught in SocketMgr.StartNetwork (xx.xxx.xx.xx:8085): bind: Cannot assign requested address
Segmentation fault (core dumped)
 

After changing the worldserver.conf back to 0.0.0.0, or 127.0.0.1, the worldserver starts without issue, but then fails to connect. Selecting a server simply causes it to loop back to the realm selection, effectively making playing impossible, because it either crashes, or refuses connections.

What do I do to solve this? I have followed the guide to the letter.

Link to comment
Share on other sites

On 19.4.2016, 10:08:17, neelah said:

Thanks.

I tried address with 127.0.0.1 as well as 172.17.17.23 and localAddress with 172.17.17.23 and 127.0.0.1 and vice versa.

Unfortunately with the same result.

LocalSubnetMask is not documented at all so any insight on that would be great.

Actually any help would be very much appreciated. I love this project. It's very well documented. It's just the little details that are not. Thanks :-)

It looks like my thread was moved here. I don't think that this actually helps reolving the situation but that's just my personal opinion.

I still see the same problem. I cannot connect to the server setup in my LAN. It works locally though. Any help will be very much appreciated.

Link to comment
Share on other sites

realmlist table:

('1', 'Trinity', '172.26.0.27', '172.26.0.27', '255.255.255.0', '8085', '0', '2', '1', '0', '0', '21355', '2', '1');

bnetserver.conf
LoginREST.Port = 8081
LoginREST.ExternalAddress=172.26.0.27
LoginREST.LocalAddress=172.26.0.27

config.wtf
SET portal "172.26.0.27"

works for me (TM)

 

Link to comment
Share on other sites

4 hours ago, Aokromes said:

realmlist table:

('1', 'Trinity', '172.26.0.27', '172.26.0.27', '255.255.255.0', '8085', '0', '2', '1', '0', '0', '21355', '2', '1');

bnetserver.conf
LoginREST.Port = 8081
LoginREST.ExternalAddress=172.26.0.27
LoginREST.LocalAddress=172.26.0.27

config.wtf
SET portal "172.26.0.27"

works for me (TM)

 

The difference here is the subnet mask. I am using a 255.255.248.0 Subnet. unfortunately changing that accordingly doesn't make it work neither :-(

Link to comment
Share on other sites

If anyone else is having problems connecting to his own localhost via Hamachi IP, try to install Windows updates. Some update solved it for me.

If you can already connect to your localhost via Hamachi IP but your friend cannot - he gets instantly disconnected after entering credentials, you probably forgot to send him your tc_bundle.txt file.

Hope this helps :)

Edited by Lopfest
Link to comment
Share on other sites

Hello TrinityCore Community!

I recently set up a TrinityCore server to run on a dedicated server in order to learn and play with friends. However, I am having this issue where I have my IP binded to 199.XXX.103.XX (hidden by request of server host) and the realm returns as "127.0.0.1". The issue I'm having is that my config is as shown below which (according to the internet) is correct. Server accepts connection up till realm selection, at which I select the "Trinity" server as needed and will be returned with "Connecting" and then brought back to the realm selection. I also must note that the server also doesn't see any name changes in the database and always returns as "Trinity".

Running authserver returns the following:

TrinityCore rev. 17e661fd2d70 2016-04-29 02:44:55 +0200 (3.3.5 branch) (Unix, Release) (authserver)
<Ctrl-C> to stop.

Using configuration file /usr/local/etc/authserver.conf.
Using SSL version: OpenSSL 1.0.1f 6 Jan 2014 (library: OpenSSL 1.0.1f 6 Jan 2014)
Using Boost version: 1.55.0
Opening DatabasePool 'auth'. Asynchronous connections: 1, synchronous connections: 1.
MySQL client library: 5.6.28
MySQL server ver: 5.6.28-0ubuntu0.15.04.1
Connected to MySQL database at 199.XXX.103.XX
MySQL client library: 5.6.28
MySQL server ver: 5.6.28-0ubuntu0.15.04.1
Connected to MySQL database at 199.XXX.103.XX
DatabasePool 'auth' opened successfully. 2 total connections running.
Updating Auth database...
>> Auth database is up-to-date! Containing 1 new and 10 archived updates.
Started auth database connection pool.
Added realm "Trinity" at 127.0.0.1:8085.

--------------------------------------------------------


MySQL Database: auth.realmlist

mysql> show columns from `realmlist`;
+----------------------+----------------------+------+-----+----------------+-------+
| Field                | Type                 | Null | Key | Default        | Extra |
+----------------------+----------------------+------+-----+----------------+-------+
| id                   | int(10) unsigned     | NO   | PRI | 1              |       |
| name                 | varchar(32)          | NO   | UNI | Trinity        |       |
| address              | varchar(255)         | NO   |     | 199.168.103.10 |       |
| localAddress         | varchar(255)         | NO   |     | localhost      |       |
| localSubnetMask      | varchar(255)         | NO   |     | 255.255.255.0  |       |
| port                 | smallint(5) unsigned | NO   |     | 8085           |       |
| icon                 | tinyint(3) unsigned  | NO   |     | 1              |       |
| flag                 | tinyint(3) unsigned  | NO   |     | 0              |       |
| timezone             | tinyint(3) unsigned  | NO   |     | 1              |       |
| allowedSecurityLevel | tinyint(3) unsigned  | NO   |     | 0              |       |
| population           | float unsigned       | NO   |     | 0              |       |
| gamebuild            | int(10) unsigned     | NO   |     | 12340          |       |
+----------------------+----------------------+------+-----+----------------+-------+
12 rows in set (0.00 sec)

All help is appreciated!
Thanks! :D

Edited by vec1phyr
Link to comment
Share on other sites

8 minutes ago, Aokromes said:

Connected to MySQL database at 199.XXX.103.XX

Never connect mysql to public ip, change localAddress to 127.0.0.1.

Alright, I fixed the database and conf. The error still persists where the authserver shows as the following:

TrinityCore rev. 17e661fd2d70 2016-04-29 02:44:55 +0200 (3.3.5 branch) (Unix, Release) (authserver)
<Ctrl-C> to stop.

Using configuration file /usr/local/etc/authserver.conf.
Using SSL version: OpenSSL 1.0.1f 6 Jan 2014 (library: OpenSSL 1.0.1f 6 Jan 2014)
Using Boost version: 1.55.0
Opening DatabasePool 'auth'. Asynchronous connections: 1, synchronous connections: 1.
MySQL client library: 5.6.28
MySQL server ver: 5.6.28-0ubuntu0.15.04.1
Connected to MySQL database at 127.0.0.1
MySQL client library: 5.6.28
MySQL server ver: 5.6.28-0ubuntu0.15.04.1
Connected to MySQL database at 127.0.0.1
DatabasePool 'auth' opened successfully. 2 total connections running.
Updating Auth database...
>> Auth database is up-to-date! Containing 1 new and 10 archived updates.
Started auth database connection pool.
Added realm "Trinity" at 127.0.0.1:8085.

Whenever I also change any of the data (ex: Changing the name of the realm) the data doesn't change according to authserver. It will always show as "Trinity" at 127.0.0.1:8085

Link to comment
Share on other sites

Whoops lol, I'm new to using command-line MySQL. I figured from what the table was actually showing me was what I needed to change which was the defaults. Seems to be working now after a smack in the head and some value-changes! Thanks!

Link to comment
Share on other sites

Hey guys,

I compiled and setup a trinitycore 6.x server a few days ago.  The server is running on Archlinux and everything comes up fine.  I then downloaded and complied trinitycore 6.x on my window laptop and compile it.  I made a copy of my wow directory and update the WTF/Config.wtf file with the portal entry to my server (this is all internal networking, at least atm) and ran the connection_patcher.exe into the wow directory and I can connect fine to my server.  The issue comes in when I try and patch the wow version on my desktop.  

I made a copy of my wow directory there, copied over the connection_patcher.exe and put it in the wow directory.  Then did the same steps, updated WTF/Config.wtf with same portal entry.  Ran the connection_patcher on wow-64.exe.  But this time when I run the wow-64_patched.exe and try to connect I get the "You've been disconnected (BLZ51914003) error.  I installed the same VS that I did on my laptop for the dll dependency for the connection patcher.

BattleNet.log show:

5/3 09:20:37.875  [IBN_Login] Starting up | hasFrontInterface=false | hasBackInterface=false
5/3 09:20:45.501  [GlueLogin] Starting login | launcherPortal=nullopt | loginPortal=192.168.1.21:1119
5/3 09:20:45.501  [GlueLogin] Resetting
5/3 09:20:45.501  [IBN_Login] Initializing
5/3 09:20:45.501  [IBN_Login] Attempting logon | host=192.168.1.21 | port=1119
5/3 09:20:45.501  [GlueLogin] Waiting for server response.
5/3 09:20:45.595  [GlueLogin] Waiting for server response.
5/3 09:20:45.605  [GlueLogin] Waiting for server response.
5/3 09:20:45.716  [GlueLogin] Fatal error while logging in | result=( | code=ERROR_HTTP_FAILED (14003) | localizedMessage= | debugMessage=JSON error: ERROR_HTTP_FAILED (14003) token: 1)
5/3 09:20:45.716  [IBN_Login] Front disconnecting | connectionId=1
5/3 09:20:45.716  [GlueLogin] Disconnecting from authentication server.
5/3 09:20:45.716  [IBN_Login] Front disconnected | connectionId=1 | result=( | code=ERROR_OK (0) | localizedMessage= | debugMessage=)
5/3 09:20:45.716  [GlueLogin] Disconnected from authentication server.
5/3 09:20:45.716  [IBN_Login] Destroying | isInitialized=true
5/3 09:20:49.956  [IBN_Login] Destroying | isInitialized=false
5/3 09:20:50.476  [IBN_Login] Shutting down

bnetserver.conf is set correctly or my laptop wouldn't be able to connect

LoginREST.Port = 8081
LoginREST.ExternalAddress=192.168.1.21
LoginREST.LocalAddress=127.0.0.1

BindIP = "0.0.0.0"

And the realmlist is setup correctly

mysql> select id,name,address,localAddress,localSubnetMask,port from realmlist;
+----+---------+--------------+--------------+-----------------+------+
| id | name    | address      | localAddress | localSubnetMask | port |
+----+---------+--------------+--------------+-----------------+------+
|  1 | Trinity | 192.168.1.21 | 127.0.0.1    | 255.255.255.0   | 8085 |
+----+---------+--------------+--------------+-----------------+------+

I'm stumped at this point...  I even tried just copying over the wow directory to my desktop but I get the same results.

Like I said earlier it's all internal networking so there isn't any DNS or NATing to worry about...

 

Any ideas of where less to look or try?

 

Thanks!

Link to comment
Share on other sites

  • 3 weeks later...

Hey, 

I've just set up a 3.3.5a server on ubuntu 16.04, I've followed the guide 100% to the best of my knowledge, however when connecting to the server I get instantly disconnected with the normal "You have been disconnected from the server" message. 

Anyone have any ideas as to what's going on? 

Jack.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...