Troubleshooting: Difference between revisions
No edit summary |
|||
| (22 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
{{notice|If your question is not answered here, check out [http://forum.fcraft.net/viewforum.php?f{{=}}15 fCraft.net Support Forums]}} | |||
==="System.DllNotFoundException: libMonoPosixHelper.so" -or- "System.EntryPointNotFoundException: CreateZStream"=== | |||
''libMonoPosixHelper'' is a Mono library that provides compression functionality. If you installed Mono via a package manager, make sure that <code>libmono-posix2.0-cil</code> package is installed. If you built or configured your own copy of Mono, make sure that LD_LIBRARY_PATH includes Mono's library path (use <code>find / -name libMonoPosixHelper.so</code> to locate Mono's library path). | |||
===Server does not show up on minecraft.net list=== | ===Server does not show up on minecraft.net list=== | ||
Make sure that server is public. Open ConfigGUI, select "General" tab, set Visibility to "Public" (or set [[List_of_config_keys#General|IsPublic]] to true in ''config.xml''). | |||
==="Error getting response stream (Write: The authentication or decryption has failed.): SendFailure"=== | |||
Common problem for Mono users. You need to import certificates for Mono to work with HTTPS. See replies to [http://stackoverflow.com/questions/10781279/c-sharp-the-authentication-or-decryption-has-failed-error-while-using-twitt this StackOverflow question] to import certificates properly. Alternatively, set [[List_of_config_keys#Advanced|BypassHttpsCertificateValidation config key]] to "true" (slightly less safe). | |||
===No one can connect to my server / "Unable to reach server"=== | ===No one can connect to my server / "Unable to reach server"=== | ||
If your server does not have direct internet access (e.g. if it is connected through a router), you will need to [http://portforward.com/ forward the port] to allow external players to connect. '''Default port is 25565'''. ConfigGUI includes a little tool for checking whether the port is forwarded properly - click the [Check] button next to port number setting, on "General" tab. Of course, the only way to be sure that port is forwarded properly is to ask someone remote to try joining your server. | *If your server does not have direct internet access (e.g. if it is connected through a router), you will need to [http://portforward.com/ forward the port] to allow external players to connect. '''Default port is 25565'''. ConfigGUI includes a little tool for checking whether the port is forwarded properly - click the [Check] button next to port number setting, on "General" tab. Of course, the only way to be sure that port is forwarded properly is to ask someone remote to try joining your server. | ||
*If you have a firewall or an "internet security" suite of some sort, make sure that fCraft is granted the appropriate permissions. If your server is still not connectible, try disabling the firewall. | |||
==="Could not verify player name"=== | |||
Verification problems occur when your fCraft server cannot verify identity of connecting players. Here are some things that may cause or fix verification problems: | |||
#If minecraft.net is offline or slow, wait for it to stabilize. | |||
#If minecraft.net is working but you still cant verify name, log out then log back in. | |||
#Try restarting your server. Wait a couple minutes before trying to connect to a newly-restarted server (to give your server time to synchronize with minecraft.net). | |||
#If you are using WoM client's "Resume" function, which uses cached verification information, try using the proper log-in procedure in WoM instead. The "Resume" function only works as long as your IP does not change and as long as the server does not restart. | |||
#If you are using WoM and connecting with a bookmark, make sure that the bookmarked address starts with "http://www.minecraft.net/..." and not "mc://...". Addresses in the form "mc://" are temporary, and will stop working whenever the server is restarted. | |||
=== | ==="Unacceptable player name"=== | ||
Minecraft.net's play page has a known bug that sometimes sends emails instead of usernames to Minecraft clients. We're waiting for Mojang to fix it. If you experience this issue, please contact Tobias Mollstam via [mailto:[email protected] email] or [https://twitter.com/mollstam twitter], to remind him that this needs fixing. Meanwhile, fCraft 0.640 includes a [[Mojang accounts|workaround]] that will allow players with messed-up account to connect. | |||
===I | ===I cannot connect to my own server (from the same PC)=== | ||
To join a server that's hosted on the same machine, you have two options: | |||
# Add <code>?override=true</code> parameter to the server URL: [http://www.minecraft.net/classic/play/____________________?override=true http://www.minecraft.net/classic/play/____________________?override=true] ( fill in the blank with your server hash). | |||
# Connect to your server directly, by IP/port: [http://www.minecraft.net/classic/play?ip=127.0.0.1&port=_____ http://www.minecraft.net/classic/play?ip=127.0.0.1&port=_____] (fill in the blank with your port number). | |||
===Other players cannot connect from LAN=== | ===Other players cannot connect from LAN=== | ||
Minecraft client has a lot of trouble working on LAN. You probably will not be able to connect via the public URL. Fortunately, there is a workaround: | Minecraft client has a lot of trouble working on LAN. You probably will not be able to connect via the public URL. Fortunately, there is a workaround: | ||
# Enable "Allow connections from LAN without verification" checkbox in ConfigGUI's "Security" tab (or set [[List_of_config_keys#Security|AllowUnverifiedLAN]] to "true" in ''config.xml''). | # Enable "Allow connections from LAN without verification" checkbox in ConfigGUI's "Security" tab (or set [[List_of_config_keys#Security|AllowUnverifiedLAN]] to "true" in ''config.xml''). Note that may potentially allow LAN players to impersonate each other's account names, but you don't have much choice here. | ||
# Find | # Find the local IP address of the server: | ||
#* In Windows XP+, go to Start -> type "cmd" to open a terminal -> type <code>ipconfig</code>. The address you need is labeled "IPv4 Address" under "Local Area Connection". | #* In Windows XP+, go to Start -> type "cmd" to open a terminal -> type <code>ipconfig</code>. The address you need is labeled "IPv4 Address" under "Local Area Connection". | ||
#* In Unix/Linux, use <code>ifconfig</code> utility. | #* In Unix/Linux, use <code>ifconfig</code> utility. | ||
# | # Have other LAN players connect to [http://www.minecraft.net/classic/play?ip=_____&port=_____ http://www.minecraft.net/classic/play?ip=_____&port=_____] (fill in blanks with your server's IP address and port). | ||
===How do I promote myself to the highest rank?=== | ===How do I promote myself to the highest rank?=== | ||
Type the following in console (either ServerGUI or ServerCLI): <code>/promote YourPlayerName DesiredRank</code> | |||
=== | ===I made changes to the server configuration, but changes didn't apply=== | ||
fCraft can pick up most changes without requiring a restart. Use <code>[[/Reload]] config</code> command to reload. However, some things require a full restart: | |||
* Ranks | |||
* Worlds | |||
* IRC settings | |||
* Enabling/disabling BlockDB | |||
Make sure that ConfigGUI is in the same folder as the rest of the server files. Also note that changes to settings are not saved until you hit "OK" or "Apply" in ConfigGUI. | |||
=== | ===I added/deleted/edited worlds in ConfigGUI, but server changes didn't apply=== | ||
fCraft cannot apply changes to worlds.xml without a full restart. Also, any changes to the world list made while the server is running may be overwritten. Because of this, '''you must shut down the server (ServerGUI or ServerCLI) before making changes to the world list from ConfigGUI.''' | |||
===Memory usage keeps going up under Mono=== | ===Memory usage keeps going up under Mono=== | ||
If you are using Mono 2.6.x or earlier, you are out of luck. If you are running 2.8+, try running mono with SGen (generational garbage collection) enabled, like this: <code>mono --gc=sgen ServerCLI.exe</code> or <code>mono-sgen ServerCLI.exe</code>. If you've tried everything and cannot get Mono memory usage under control, try setting the [[List_of_config_keys#Advanced|RestartInterval]] config key to make the server restart itself every once in a while. | If you are using Mono 2.6.x or earlier, you are out of luck. If you are running 2.8+, try running mono with SGen (generational garbage collection) enabled, like this: <code>mono --gc=sgen ServerCLI.exe</code> or <code>mono-sgen ServerCLI.exe</code>. If you've tried everything and cannot get Mono memory usage under control, try setting the [[List_of_config_keys#Advanced|RestartInterval]] config key to make the server restart itself every once in a while. Mono 3.0+ has SGen enabled by default. | ||
Latest revision as of 10:31, 30 July 2013
| If your question is not answered here, check out fCraft.net Support Forums |
"System.DllNotFoundException: libMonoPosixHelper.so" -or- "System.EntryPointNotFoundException: CreateZStream"
libMonoPosixHelper is a Mono library that provides compression functionality. If you installed Mono via a package manager, make sure that libmono-posix2.0-cil package is installed. If you built or configured your own copy of Mono, make sure that LD_LIBRARY_PATH includes Mono's library path (use find / -name libMonoPosixHelper.so to locate Mono's library path).
Server does not show up on minecraft.net list
Make sure that server is public. Open ConfigGUI, select "General" tab, set Visibility to "Public" (or set IsPublic to true in config.xml).
"Error getting response stream (Write: The authentication or decryption has failed.): SendFailure"
Common problem for Mono users. You need to import certificates for Mono to work with HTTPS. See replies to this StackOverflow question to import certificates properly. Alternatively, set BypassHttpsCertificateValidation config key to "true" (slightly less safe).
No one can connect to my server / "Unable to reach server"
- If your server does not have direct internet access (e.g. if it is connected through a router), you will need to forward the port to allow external players to connect. Default port is 25565. ConfigGUI includes a little tool for checking whether the port is forwarded properly - click the [Check] button next to port number setting, on "General" tab. Of course, the only way to be sure that port is forwarded properly is to ask someone remote to try joining your server.
- If you have a firewall or an "internet security" suite of some sort, make sure that fCraft is granted the appropriate permissions. If your server is still not connectible, try disabling the firewall.
"Could not verify player name"
Verification problems occur when your fCraft server cannot verify identity of connecting players. Here are some things that may cause or fix verification problems:
- If minecraft.net is offline or slow, wait for it to stabilize.
- If minecraft.net is working but you still cant verify name, log out then log back in.
- Try restarting your server. Wait a couple minutes before trying to connect to a newly-restarted server (to give your server time to synchronize with minecraft.net).
- If you are using WoM client's "Resume" function, which uses cached verification information, try using the proper log-in procedure in WoM instead. The "Resume" function only works as long as your IP does not change and as long as the server does not restart.
- If you are using WoM and connecting with a bookmark, make sure that the bookmarked address starts with "http://www.minecraft.net/..." and not "mc://...". Addresses in the form "mc://" are temporary, and will stop working whenever the server is restarted.
"Unacceptable player name"
Minecraft.net's play page has a known bug that sometimes sends emails instead of usernames to Minecraft clients. We're waiting for Mojang to fix it. If you experience this issue, please contact Tobias Mollstam via email or twitter, to remind him that this needs fixing. Meanwhile, fCraft 0.640 includes a workaround that will allow players with messed-up account to connect.
I cannot connect to my own server (from the same PC)
To join a server that's hosted on the same machine, you have two options:
- Add
?override=trueparameter to the server URL: http://www.minecraft.net/classic/play/____________________?override=true ( fill in the blank with your server hash). - Connect to your server directly, by IP/port: http://www.minecraft.net/classic/play?ip=127.0.0.1&port=_____ (fill in the blank with your port number).
Other players cannot connect from LAN
Minecraft client has a lot of trouble working on LAN. You probably will not be able to connect via the public URL. Fortunately, there is a workaround:
- Enable "Allow connections from LAN without verification" checkbox in ConfigGUI's "Security" tab (or set AllowUnverifiedLAN to "true" in config.xml). Note that may potentially allow LAN players to impersonate each other's account names, but you don't have much choice here.
- Find the local IP address of the server:
- In Windows XP+, go to Start -> type "cmd" to open a terminal -> type
ipconfig. The address you need is labeled "IPv4 Address" under "Local Area Connection". - In Unix/Linux, use
ifconfigutility.
- In Windows XP+, go to Start -> type "cmd" to open a terminal -> type
- Have other LAN players connect to http://www.minecraft.net/classic/play?ip=_____&port=_____ (fill in blanks with your server's IP address and port).
How do I promote myself to the highest rank?
Type the following in console (either ServerGUI or ServerCLI): /promote YourPlayerName DesiredRank
I made changes to the server configuration, but changes didn't apply
fCraft can pick up most changes without requiring a restart. Use /Reload config command to reload. However, some things require a full restart:
- Ranks
- Worlds
- IRC settings
- Enabling/disabling BlockDB
Make sure that ConfigGUI is in the same folder as the rest of the server files. Also note that changes to settings are not saved until you hit "OK" or "Apply" in ConfigGUI.
I added/deleted/edited worlds in ConfigGUI, but server changes didn't apply
fCraft cannot apply changes to worlds.xml without a full restart. Also, any changes to the world list made while the server is running may be overwritten. Because of this, you must shut down the server (ServerGUI or ServerCLI) before making changes to the world list from ConfigGUI.
Memory usage keeps going up under Mono
If you are using Mono 2.6.x or earlier, you are out of luck. If you are running 2.8+, try running mono with SGen (generational garbage collection) enabled, like this: mono --gc=sgen ServerCLI.exe or mono-sgen ServerCLI.exe. If you've tried everything and cannot get Mono memory usage under control, try setting the RestartInterval config key to make the server restart itself every once in a while. Mono 3.0+ has SGen enabled by default.