DragonetMC / DragonProxy

🐲 A proxy to allow Minecraft: Bedrock clients to connect to Minecraft: Java Edition servers.
https://invite.gg/DragonetMC
GNU General Public License v3.0
990 stars 134 forks source link

"Access token can not be null or empty." #365

Closed partyp770 closed 6 years ago

partyp770 commented 6 years ago

When I try to connect to my server via Minecraft PE, I get this error: `INFO: The LoginPacket has been successfully verified for integrity

[12:02:05][INFO ] Player partypenguin770 login with protocol 274(actual 274)

[12:02:05][INFO ] Player partypenguin770[/192.168.0.13:port#] connected!

[12:02:06][INFO ] Bridge established for player partypenguin770[/192.168.0.10:41860]! 

[12:02:07][INFO ] DisconnectingEvent com.github.steveice10.mc.auth.exception.request.RequestException: Access Token can not be null or empty. Login failed: Authentication error: Access Token can not be null or empty.

[12:02:07][INFO ] DisconnectedEvent com.github.steveice10.mc.auth.exception.request.RequestException: Access Token can not be null or empty. Login failed: Authentication error: Access Token can not be null or empty.`

I couldn't get any help on the discord server, so I came here instead. If you need additional information, I'll be happy to provide it.

HoverEpic commented 6 years ago

Hi, you have closed your issue, i guess your problem is resolved. For those who wonder what the problem here, it seems it's a hybrid auth mode setup, and the Bungeecord plugin is missing or not configured.

partyp770 commented 6 years ago

I closed it because I just deleted DragonProxy out of frustration.

partyp770 commented 6 years ago

I DID have the bungee plugin installed as well.

HoverEpic commented 6 years ago

Ok, i understand it's not easy to setup. Have you read the hybrid mod setup readme? It seems the Bungeecord plugin is not configured in your setup.

denisglotov commented 5 years ago

I am having the same issue but I have no plugins, just clear spigot with empty plugins directory.

DragonProxy version 0.0.2-SNAPSHOT (downloaded today from README link) Spigot server version 1.14.4 (built locally as https://www.spigotmc.org/wiki/buildtools/#latest tells) Minecraft 1.12.0.6 beta android client.

DragonProxy logs

[18:21:55 INFO]: vaktus connected
[18:21:55 INFO]: Player connected to remote 127.0.0.1
[18:21:55 INFO]: vaktus connected
[18:21:55 INFO]: Player  disconnected from remote. Reason: Login failed: Authentication error: Access Token can not be null or empty.

Spigot logs just one line:

[18:21:55] [Server thread/INFO]: com.mojang.authlib.GameProfile@322651d3[id=<null>,name=vaktus,properties={},legacy=false] (/127.0.0.1:53722) lost connection: Disconnected
SkRThatOneDude commented 5 years ago

This is a closed issue from over a year ago. You should have started a new one or asked on discord.

That being said, make sure your proxy config matches your Java server config for Auth mode.

If your Java server is online mode, set remote-auth to credentials. Is Java is offline mode, set remote-auth to offline.