Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BungeeAuth & Snap : There are no available servers #7

Closed
Euphillya opened this issue Mar 18, 2021 · 8 comments
Closed

BungeeAuth & Snap : There are no available servers #7

Euphillya opened this issue Mar 18, 2021 · 8 comments
Labels
missing information We need more information plugin compatibility Issues when running certain plugins on Snap

Comments

@Euphillya
Copy link

Euphillya commented Mar 18, 2021

Used Version

Latest (15/03)

Config

# BungeeAuth Config File

Use SQLite: true
# Set this to true if you want to use a file based database (SQLite) rather than MySQL

Host: 127.0.0.1
# Please enter the Host of your MySQL database here.

Port: 3306
# Please enter the port where your MySQL database is hosted.

Username: 'root'
# The Username which should be used to login to the MySQL database.

Password: ''
# The Password which should be used to login to the MySQL database. If you don't have a password, please leave two single quotation marks (') in this field.

DBName: Bungee
#The name of the MySQL database where BungeeAuth's Tables shall be created.

Lobby: lobby
# The name of the lobby server.

Fallback Lobby: lobby
# The name of the fallback lobby server in case the main lobby is down.

AuthLobby: lobby
# The name of the lobby where players are pushed before they authenticate. leave it same as normal lobby if you don't have an auth lobby.

Fallback AuthLobby: lobby
# The name of the fallback AuthLobby server in case the main AuthLobby is down.

Ask Email: false
# Set this to True if you want the plugin to prompt users to register their email when they login to the server for the first time.

Session Length: 5
# How long (in minutes) does the user's session remains running after a player quits. This allows the user to log back in within the time frame without
# having to type their password again. If user logs in from a different IP, they will be asked to type their password again for security reasons.

Guest Session Length: 60
# How long (in seconds) the user has before they have to register or login. Set this to 0 to disable guest session time limits.

Legal Usernames Characters: "[a-zA-Z0-9_]*"
# Allowed Characters in Usernames (). Enclose in quotation marks.

Users per IP: 5
# Number of users that can register (not login) from the same IP.

Password Tries: 5
# Number of times a player can input a wrong password before getting their account locked. Set this to 0 to disable this feature.

Wrong Password Timeout: 5
# Timeout (in minutes) for players who spam commands. The timeout occurs if a player tries to use a BungeeAuth command more than 10 times. Set this to 0 to disable this feature.

Guest Server Failsafe Check: true
# A failsafe method that runs every 10 seconds to check if a guest player is in AuthLobby, and if not, moves them to AuthLobby.

#---------------------------- PHP API AREA ----------------------------#

Enable PHP API: false
# Enabling this will make the plugin listen to API requests from a port.

PHP API Port: 1395
# The port that the plugin will be listening for API requests on.

API Password: 'aaaa'
# The password required in the API requests for a response. If you don't have a password, please leave two single quotation marks (') in this field.

API Error Limit: 5
# Set the maximum number of wrong api password attempts used by a php script before it's ip gets blocked. IP will be blocked until removed from apiblacklist.txt

Environment description

Full Log

Just :

[connected player] DoctaEnkoda (/10.8.0.200:52200) has disconnected: There are no available servers.
[14:01:56 INFO]: [server connection] DoctaEnkoda -> lobby has disconnected

What other programs/plugins are you running?

https://github.com/vik1395/BungeeAuth-Minecraft

What is happening?

Impossible to connect any server 'lobby'

@Euphillya Euphillya changed the title BungeeAuth : BungeeAuth : Server disconnect Mar 18, 2021
@Euphillya Euphillya changed the title BungeeAuth : Server disconnect BungeeAuth & Snap : There are no available servers Mar 18, 2021
@Phoenix616
Copy link
Owner

"Latest" is not a version, please provide your actual plugin version or simply your full log as requested by the issue template.

@Phoenix616 Phoenix616 added the missing information We need more information label Mar 18, 2021
@Euphillya
Copy link
Author

Version : Loaded plugin snap 1.0-SNAPSHOT (build 10) by Phoenix616
latest...

@Phoenix616
Copy link
Owner

What part of the plugin fails to work exactly? Also providing your log file could help too.

@Euphillya
Copy link
Author

java -jar .\velocity-proxy-1.1.5-SNAPSHOT-all.jar
[14:01:30 INFO]: Booting up Velocity 1.1.5-SNAPSHOT (git-ad0d17b4-bunknown)...
[14:01:30 INFO]: Connections will use NIO channels, Java 11 compression, Java ciphers
[14:01:30 WARN]: The proxy is running in offline mode! This is a security risk and you will NOT receive any support!
[14:01:30 INFO]: Loading plugins...
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.inject.internal.cglib.core.$ReflectUtils$1 (file:/C:/Users/docta/Desktop/Mini-Infra/Proxy-3/velocity-proxy-1.1.5-SNAPSHOT-all.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[14:01:31 INFO]: Loaded plugin floodgate 1.0-SNAPSHOT by GeyserMC
[14:01:31 INFO]: Loaded plugin luckperms 5.3.0 by Luck
[14:01:31 INFO]: Loaded plugin skinsrestorer 14.0.0-SNAPSHOT by Blackfire62, McLive
[14:01:31 INFO]: Loaded plugin snap 1.0-SNAPSHOT (build 10) by Phoenix616
[14:01:31 INFO]: Loaded 4 plugins
[14:01:31 INFO]:         __
[14:01:31 INFO]:   |    |__)   LuckPerms v5.3.0
[14:01:31 INFO]:   |___ |      Running on Velocity - Velocity
[14:01:31 INFO]:
[14:01:31 INFO] [luckperms]: Loading configuration...
[14:01:31 INFO] [luckperms]: Loading storage provider... [H2]
[14:01:31 INFO] [luckperms]: Loading internal permission managers...
[14:01:31 INFO] [luckperms]: Performing initial data load...
[14:01:31 INFO] [luckperms]: Successfully enabled. (took 641ms)
[14:01:31 INFO] [org.geysermc.floodgate.VelocityPlugin]: Floodgate injection process succeeded!
[14:01:32 INFO] [org.geysermc.floodgate.VelocityPlugin]: Loading Floodgate linked player database...
[14:01:32 INFO] []: [SkinsRestorer] Enabling SkinsRestorer v14.0.0-SNAPSHOT
[14:01:32 INFO] []: [SkinsRestorer] Enabled SkinsRestorer v14.0.0-SNAPSHOT
[14:01:32 INFO]: [SkinsRestorer] ----------------------------------------------
[14:01:32 INFO]: [SkinsRestorer]     +===============+
[14:01:32 INFO]: [SkinsRestorer]     | SkinsRestorer |
[14:01:32 INFO]: [SkinsRestorer]     +===============+
[14:01:32 INFO]: [SkinsRestorer] ----------------------------------------------
[14:01:32 INFO]: [SkinsRestorer]     Current version: 14.0.0-SNAPSHOT
[14:01:32 INFO]: [SkinsRestorer]     This is the latest version!
[14:01:32 INFO]: [SkinsRestorer] ----------------------------------------------
[14:01:33 INFO]: C:\Users\docta\Desktop\Mini-Infra\Proxy-3\plugins\snap\plugins\BungeeAuth/SQLite.db
[14:01:33 INFO]: C:\Users\docta\Desktop\Mini-Infra\Proxy-3\plugins\snap\plugins\BungeeAuth/SQLite.db
[14:01:33 INFO]: C:\Users\docta\Desktop\Mini-Infra\Proxy-3\plugins\snap\plugins\BungeeAuth/SQLite.db
[14:01:33 INFO]: C:\Users\docta\Desktop\Mini-Infra\Proxy-3\plugins\snap\plugins\BungeeAuth/SQLite.db
[14:01:33 INFO]: C:\Users\docta\Desktop\Mini-Infra\Proxy-3\plugins\snap\plugins\BungeeAuth/SQLite.db
[14:01:33 INFO] [BungeeAuth]: BungeeAuth has successfully started!
[14:01:33 INFO] [BungeeAuth]: Created by Vik1395
[14:01:33 INFO] [Snap]: Enabled plugin BungeeAuth version 1.4 by Vik1395
[14:01:33 INFO] [snap]: Loaded 1 plugins!
[14:01:33 INFO]: Listening on /[0:0:0:0:0:0:0:0]:25577
[14:01:33 INFO]: Done (2,65s)!
[14:01:56 INFO]: [connected player] DoctaEnkoda (/10.8.0.200:52200) has connected
[14:01:56 INFO]: [server connection] DoctaEnkoda -> lobby has connected
[14:01:56 INFO]: [connected player] DoctaEnkoda (/10.8.0.200:52200) has disconnected: There are no available servers.
[14:01:56 INFO]: [server connection] DoctaEnkoda -> lobby has disconnected

@Euphillya
Copy link
Author

without bungeauth, its work

@Phoenix616
Copy link
Owner

Are you sure that you have configured a server by that name in your Velocity config? I don't see any other way for this to occur otherwise.

@Euphillya
Copy link
Author

Euphillya commented Mar 18, 2021

Yes

[servers]
	# Configure your servers here. Each key represents the server's name, and the value
	# represents the IP address of the server to connect to.
	lobby = "127.0.0.1:25567"
	# In what order we should try servers when a player logs in or is kicked from a server.
	try = ["lobby"]

I am try your latest version Build 11 and not work
Error log is identic

@Phoenix616 Phoenix616 added the plugin compatibility Issues when running certain plugins on Snap label Apr 30, 2021
@kubo6472
Copy link

kubo6472 commented Jul 6, 2021

@DoctaEnkoda I am using AuthMeBungee with snap without any errors. You can give it a try: https://github.com/AuthMe/AuthMeBungee

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
missing information We need more information plugin compatibility Issues when running certain plugins on Snap
Projects
None yet
Development

No branches or pull requests

3 participants