[MC-6586] Getting a "Failed to verify username!" message when trying to join a server Created: 08/Jan/13  Updated: 19/Jun/14  Resolved: 09/Jan/13

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Snapshot 13w01b
Fix Version/s: Snapshot 13w05b

Type: Bug
Reporter: Ben Jackson Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: multiplayer, server

Attachments: Text File server.log    
Issue Links:
Duplicate
is duplicated by MC-6669 error with my server for multiplayer Resolved
is duplicated by MC-6703 windows 8 and minecraft server Resolved
is duplicated by MC-7350 Server bug Resolved
is duplicated by MC-3943 Windows 8 and can not connect to my m... Resolved
Confirmation Status: Unconfirmed

 Description   

When ever me or my friend try to join my server we both get a message saying "Failed to verify username! [ internal error java.net.Socket.Exception: Network is unreachable:connet ]". i hosted 3 days ago and have changed nothing and now we are getting this. any suggestions or fixes?



 Comments   
Comment by A Y [ 19/Jun/14 ]

I got this problem in the newest Snapshot 14w25a! Even if i want to join offline it doesnt work.. I get into the server but there is no communication with the server.. And the Server got a very high use of the CPU (54% without any player!!!!!!!!).. I had to start the server with 8gb ram because it also had memory problems... And its also not the firewall ... with the same setting it worked in 1.7..

Offline:
[12:23:42] [Server thread/INFO]: Starting minecraft server version 14w25a
[12:23:42] [Server thread/INFO]: Loading properties
[12:23:42] [Server thread/INFO]: Default game type: CREATIVE
[12:23:42] [Server thread/INFO]: Generating keypair
[12:23:42] [Server thread/INFO]: Starting Minecraft server on 192.168.2.107:25565
[12:23:42] [Server thread/WARN]: **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
[12:23:42] [Server thread/WARN]: The server will make no attempt to authenticate usernames. Beware.
[12:23:42] [Server thread/WARN]: While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
[12:23:42] [Server thread/WARN]: To change this, set "online-mode" to "true" in the server.properties file.
[12:23:42] [Server thread/INFO]: Preparing level "world"
[12:23:42] [Server thread/INFO]: Preparing start region for level 0
[12:23:43] [Server thread/INFO]: Preparing spawn area: 8%
[12:23:44] [Server thread/INFO]: Preparing spawn area: 22%
[12:23:45] [Server thread/INFO]: Preparing spawn area: 32%
[12:23:46] [Server thread/INFO]: Preparing spawn area: 41%
[12:23:47] [Server thread/INFO]: Preparing spawn area: 51%
[12:23:48] [Server thread/INFO]: Preparing spawn area: 61%
[12:23:49] [Server thread/INFO]: Preparing spawn area: 69%
[12:23:50] [Server thread/INFO]: Preparing spawn area: 80%
[12:23:51] [Server thread/INFO]: Preparing spawn area: 91%
[12:23:52] [Server thread/INFO]: Done (10,188s)! For help, type "help" or "?"
[12:24:14] [Server thread/INFO]: Hitsuji[/192.168.2.107:65087] logged in with entity id 1825 at (207.5, 76.0, 273.5)
[12:24:14] [Server thread/INFO]: Hitsuji joined the game
[12:24:33] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 18717ms behind, skipping 374 tick(s)

Online:

[12:15:19] [Server thread/INFO]: Starting minecraft server version 14w25a
[12:15:19] [Server thread/INFO]: Loading properties
[12:15:19] [Server thread/INFO]: Default game type: CREATIVE
[12:15:19] [Server thread/INFO]: Generating keypair
[12:15:19] [Server thread/INFO]: Starting Minecraft server on 192.168.2.107:25565
[12:15:19] [Server thread/INFO]: Preparing level "world"
[12:15:20] [Server thread/INFO]: Preparing start region for level 0
[12:15:21] [Server thread/INFO]: Preparing spawn area: 9%
[12:15:22] [Server thread/INFO]: Preparing spawn area: 23%
[12:15:23] [Server thread/INFO]: Preparing spawn area: 36%
[12:15:24] [Server thread/INFO]: Preparing spawn area: 49%
[12:15:25] [Server thread/INFO]: Preparing spawn area: 61%
[12:15:26] [Server thread/INFO]: Preparing spawn area: 72%
[12:15:27] [Server thread/INFO]: Preparing spawn area: 85%
[12:15:28] [Server thread/INFO]: Preparing spawn area: 99%
[12:15:28] [Server thread/INFO]: Done (8,397s)! For help, type "help" or "?"
[12:15:46] User Authenticator #1/INFO: Disconnecting /192.168.2.107:64927: Failed to verify username!
[12:15:46] [Server thread/INFO]: /192.168.2.107:64927 lost connection: Failed to verify username!
[12:15:46] User Authenticator #2/INFO: UUID of player Hitsuji is c08e67cc-2b90-4991-bfc7-5dba90a70bac
[12:15:46] [Server thread/INFO]: Hitsuji[/192.168.2.107:64929] logged in with entity id 2045 at (-246.5, 69.0, 152.5)
[12:15:46] [Server thread/INFO]: Hitsuji joined the game
[12:16:02] [Server thread/WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 16061ms behind, skipping 321 tick(s)
[12:20:59] [Server thread/INFO]: Hitsuji lost connection: TranslatableComponent{key='disconnect.genericReason', args=[Internal Exception: java.io.IOException: Eine vorhandene Verbindung wurde vom Remotehost geschlossen], siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null, insertion=null}}
[12:20:59] [Server thread/INFO]: Hitsuji left the game

Comment by Anthony Rocha [ 09/Feb/13 ]

thank you what you sent worked so again thank you

Comment by Anthony Rocha [ 06/Feb/13 ]

i just try it again and with someone else and that are getting the same thing is it something that has to do with windows 8 ill post a log as well

3:11:29 PM CONSOLE: [INFO] Starting minecraft server version 1.4.7
3:11:29 PM CONSOLE: [INFO] Loading properties
3:11:29 PM CONSOLE: [INFO] Default game type: ADVENTURE
3:11:29 PM CONSOLE: [INFO] Generating keypair
3:11:29 PM CONSOLE: [INFO] Starting Minecraft server on 192.168.1.3:25566
3:11:29 PM CONSOLE: [INFO] Preparing level "world"
3:11:29 PM CONSOLE: [INFO] Preparing start region for level 0
3:11:29 PM CONSOLE: [INFO] Done (1.103s)! For help, type "help" or "?"
3:16:01 PM CONSOLE: [INFO] There are 0/30 players online:
3:16:01 PM CONSOLE: [INFO]
3:21:01 PM CONSOLE: [INFO] There are 0/30 players online:
3:21:01 PM CONSOLE: [INFO]
3:21:15 PM CONSOLE: [INFO] Disconnecting helow83 [/109.189.218.56:53895]: Failed to verify username! [internal error java.net.ConnectException: connect: Address is invalid on local machine, or port is not valid on remote machine]
3:21:15 PM CONSOLE: Address is invalid on local machine, or port is not valid on remote machine
3:24:55 PM CONSOLE: [INFO] Disconnecting bowfrog14 [/98.118.123.68:1024]: Failed to verify username! [internal error java.net.ConnectException: connect: Address is invalid on local machine, or port is not valid on remote machine]
3:24:55 PM CONSOLE: Address is invalid on local machine, or port is not valid on remote machine

Comment by Anthony Rocha [ 06/Feb/13 ]

i am have problems connecting to my server others can but i can not and i also have windows 8 here is a server log

7:49:27 PM CONSOLE: [INFO] Starting minecraft server version 1.4.7
7:49:27 PM CONSOLE: [INFO] Loading properties
7:49:27 PM CONSOLE: [INFO] Default game type: ADVENTURE
7:49:27 PM CONSOLE: [INFO] Generating keypair
7:49:27 PM CONSOLE: [INFO] Starting Minecraft server on 192.168.1.3:25566
7:49:27 PM CONSOLE: [INFO] Preparing level "world"
7:49:27 PM CONSOLE: [INFO] Preparing start region for level 0
7:49:27 PM CONSOLE: [INFO] Done (0.765s)! For help, type "help" or "?"
7:50:49 PM CONSOLE: [INFO] Disconnecting bowfrog14 [/192.168.1.3:62020]: Failed to verify username! [internal error java.net.ConnectException: connect: Address is invalid on local machine, or port is not valid on remote machine]
7:50:49 PM CONSOLE: Address is invalid on local machine, or port is not valid on remote machine

Comment by Anon Ymus [ 04/Feb/13 ]

We don't want mod issues!

Comment by Kumasasa [ 04/Feb/13 ]

Cannot confirm.

According to http://help.mojang.com/ all servers are up.

What do you get when you click on https://login.minecraft.net/ and https://session.minecraft.net/ ?

Comment by Anthony Rocha [ 04/Feb/13 ]

i seem to be getting something new now
Failed to verify username, session authentication server unavailable!

Comment by Ben Jackson [ 09/Jan/13 ]

ok, i will whitelist it.

Comment by [Mod] CubeTheThird [ 09/Jan/13 ]

Just note that when online mode is set to false, anybody with network access to your server can login (unless you use a whitelist).

Comment by Ben Jackson [ 09/Jan/13 ]

CubeTheThird, that worked. thanks alot!

Comment by Ben Jackson [ 09/Jan/13 ]

CubeTheThird, ill try that. also, Anon, it totally does...

Comment by [Mod] CubeTheThird [ 09/Jan/13 ]

What you can try is setting the online-mode property to false. Should this work, it likely means that the server cannot connect to the internet.

Comment by Anon Ymus [ 08/Jan/13 ]

He means "does the computer the server is running on have access to the internet?".

Comment by Ben Jackson [ 08/Jan/13 ]

CubeTheThird,what do you mean by that? like did i port forward? (because i did)

Comment by Ben Jackson [ 08/Jan/13 ]

Kumasasa, i tryed deleting everything, i can give a new server log if you'd like, uploading it now. i also don't think it could be firewall since i did host 3 days ago without changing anything but ill check it.

Comment by [Mod] CubeTheThird [ 08/Jan/13 ]

Does the server have direct access to the internet?

Comment by Kumasasa [ 08/Jan/13 ]

Firewall issue ?
Can you please attach your server logfile (take a look at it before, there are logged user names and ip adresses) ?

Generated at Sun Jan 12 12:11:41 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.