BigBrotherTeam / BigBrother

Allows the connection of Minecraft: Java Edtion clients to PocketMine-MP servers. Made for PocketMine-MP
GNU Lesser General Public License v3.0
96 stars 23 forks source link

login timeout when you try to join with online-mode: false #120

Closed Saxavlax001 closed 5 years ago

Saxavlax001 commented 6 years ago

I use the latest version of pmmp as you can see in picture and i use mcpc cracked version 1.12.2 # screenshot_2018-04-28-00-09-11-375_net fengberd minecraftpe_server

jjschwarz commented 6 years ago

I am seeing the same thing using PocketMine-MP 1.7dev-941 with MineCraft 1.12.2 on the desktop with BigBrother 1.6.0-beta (latest from GitHub). I also see the server core dumps upon exit with BigBrother loaded.

I also find that even with a licensed copy of MineCraft if I leave online-mode as true that I am told my client is not authentic. If I change the value to false then I also receive the same login timeout message.

jjschwarz commented 6 years ago

Tried against with PocketMine-MP 1.7dev-999 and the recent return type change from bool to void seems to break against the PocketMine version. Once I reverted that one file I ended up with the same results.

WesleyVanNeck commented 6 years ago

Well why are using pmmp it's broken as shit

WesleyVanNeck commented 6 years ago

And the Devs of pmmp are very mean

eternalharvest commented 5 years ago

@jjschwarz I improved the login process a bit, but i think this problem is related to the pmmp version u are using. Don't use dev version of pmmp, we don't support dev version.

jjschwarz commented 5 years ago

I am using the release builds from: https://github.com/pmmp/PocketMine-MP/releases https://github.com/pmmp/PocketMine-MP/releases at this time and still seeing the same issue. Is there a particular build of BigBrother that works with the PMMP 3.8.4 release build?

On Jun 19, 2019, at 9:01 AM, Takuya Sawada notifications@github.com wrote:

@jjschwarz https://github.com/jjschwarz Don't use dev version of pmmp, we don't support dev version.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/BigBrotherTeam/BigBrother/issues/120?email_source=notifications&email_token=ABIBX4I6ENIV7RSSVG2O5L3P3IU3XA5CNFSM4E5MCT62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYBZFQY#issuecomment-503550659, or mute the thread https://github.com/notifications/unsubscribe-auth/ABIBX4NK6MYPU6P67HHI3H3P3IU3XANCNFSM4E5MCT6Q.

eternalharvest commented 5 years ago

@jjschwarz I also confirmed with PMMP 3.8.4 official release build u mentioned. But it seems there is no problem.

We have never provided a release build because this project is still under developing (not stable). We only maintain the code of master branch. Please use latest master of this project.

Since, this project introduce composer dependency management system. U need to setup composer, and run composer install before PMMP startup.

jjschwarz commented 5 years ago

OK, now I see the issue, composer is dying because mcrypt is gone in PHP 7.2.

eternalharvest commented 5 years ago

@jjschwarz u can download composer.phar and run without install it.

$ wget https://getcomposer.org/composer.phar
$ php composer.phar install

Just type command above on the top directory of this repo. This command install dependencies in this repo and configure autoloader automatically.

And we are currently planning to support poggit CI for continuous build.

jjschwarz commented 5 years ago

I have composer, but when I run the "composer.phar install" I end up with an error due to mcrypt being gone in PHP 7.2

[pocketmine@minecraftpe BigBrother-master]$ ~/bin/php7/bin/php ~/bin/composer.phar install Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages.

Problem 1

It was deprecated and then removed from the core of PHP in the 7.x series.

Jason John Schwarz eMail: jason@lothlorien.net Amateur Radio: N4JJS

On Jun 19, 2019, at 9:49 AM, Takuya Sawada notifications@github.com wrote:

@jjschwarz https://github.com/jjschwarz u can download composer.phar and run without install it.

$ wget https://getcomposer.org/composer.phar $ php composer.phar install Just type command above on the top directory of this repo.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/BigBrotherTeam/BigBrother/issues/120?email_source=notifications&email_token=ABIBX4MQZ5GKTUP3EHYUP63P3I2ONA5CNFSM4E5MCT62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYB5UMQ#issuecomment-503568946, or mute the thread https://github.com/notifications/unsubscribe-auth/ABIBX4NBHRHOY5D6PWDHCP3P3I2ONANCNFSM4E5MCT6Q.

eternalharvest commented 5 years ago

@jjschwarz

Really using latest master of this repo? I already remove the ext-mcrypt from dependency list of this project. So, the error cannot occur.

jjschwarz commented 5 years ago

OK, I found the issue...somehow composer was acting in strict mode instead of just "suggesting" things. Fixed and now I get:

~/bin/php7/bin/php ~/bin/composer.phar install Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 1 install, 0 updates, 0 removals

So better looking on the composer part, but I still get:

[15:02:44] [Server thread/INFO]: [/192.168.255.14:64193] logged out due to User not premium

On Jun 19, 2019, at 9:57 AM, Takuya Sawada notifications@github.com wrote:

@jjschwarz https://github.com/jjschwarz Really using latest master of this repo? I already remove the ext-mcrypt from dependency list of this project. So, the error cannot occur.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/BigBrotherTeam/BigBrother/issues/120?email_source=notifications&email_token=ABIBX4PNK5MEABFJWR2NK33P3I3MHA5CNFSM4E5MCT62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYB6OLQ#issuecomment-503572270, or mute the thread https://github.com/notifications/unsubscribe-auth/ABIBX4P77AQJGPZZ44V7TITP3I3MHANCNFSM4E5MCT6Q.

eternalharvest commented 5 years ago

@jjschwarz Please paste the whole log from startup

jjschwarz commented 5 years ago

If I turn the online mode to false I get:

[15:04:14] [Server thread/NOTICE]: AsyncTask class@anonymous/home/pocketmine/plugins/BigBrother-master/src/shoghicp/BigBrother/DesktopPlayer.php0x7f5afd0bfb14 stored local complex data but did not remove them after completion [15:04:24] [Server thread/INFO]: [/192.168.255.14:64218] logged out due to Login timeout

On Jun 19, 2019, at 10:03 AM, Jason John Schwarz jason@lothlorien.net wrote:

OK, I found the issue...somehow composer was acting in strict mode instead of just "suggesting" things. Fixed and now I get:

~/bin/php7/bin/php ~/bin/composer.phar install Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 1 install, 0 updates, 0 removals

  • Installing phpseclib/phpseclib (2.0.17): Downloading (100%)
    phpseclib/phpseclib suggests installing ext-libsodium (SSH2/SFTP can make use of some algorithms provided by the libsodium-php extension.) phpseclib/phpseclib suggests installing ext-mcrypt (Install the Mcrypt extension in order to speed up a few other cryptographic operations.) Writing lock file Generating autoload files

So better looking on the composer part, but I still get:

[15:02:44] [Server thread/INFO]: [/192.168.255.14:64193] logged out due to User not premium

On Jun 19, 2019, at 9:57 AM, Takuya Sawada <notifications@github.com mailto:notifications@github.com> wrote:

@jjschwarz https://github.com/jjschwarz Really using latest master of this repo? I already remove the ext-mcrypt from dependency list of this project. So, the error cannot occur.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/BigBrotherTeam/BigBrother/issues/120?email_source=notifications&email_token=ABIBX4PNK5MEABFJWR2NK33P3I3MHA5CNFSM4E5MCT62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYB6OLQ#issuecomment-503572270, or mute the thread https://github.com/notifications/unsubscribe-auth/ABIBX4P77AQJGPZZ44V7TITP3I3MHANCNFSM4E5MCT6Q.

jjschwarz commented 5 years ago

[15:06:37] [Server thread/INFO]: Loading pocketmine.yml... [15:06:37] [Server thread/INFO]: Loading server properties... [15:06:37] [Server thread/INFO]: Selected English (eng) as the base language [15:06:37] [Server thread/INFO]: Starting Minecraft: Bedrock Edition server version v1.11.0 [15:06:37] [Server thread/NOTICE]: Online mode is enabled. The server will verify that players are authenticated to Xbox Live. [15:06:37] [Server thread/NOTICE]: To disable authentication, set "xbox-auth" to "false" in server.properties. [15:06:37] [Server thread/INFO]: Opening server on 0.0.0.0:19132 [15:06:37] [Server thread/INFO]: This server is running PocketMine-MP version 3.8.2 [15:06:37] [Server thread/INFO]: PocketMine-MP is distributed under the LGPL License [15:06:37] [Server thread/INFO]: Loading resource packs... [15:06:37] [Server thread/INFO]: Loading DevTools v1.13.3 [15:06:37] [Server thread/INFO]: Loading PureEntitiesX v0.6.0 [15:06:37] [Server thread/INFO]: [PureEntitiesX] Originally written by milk0417. Currently maintained by RevivalPMMP for PMMP 'REDACTED'. [15:06:37] [Server thread/INFO]: Enabling DevTools v1.13.3 [15:06:37] [Server thread/INFO]: Loading BigBrother v1.6.0-beta [15:06:37] [Server thread/INFO]: [BigBrother] Registering Composer autoloader... [15:06:37] [Server thread/INFO]: [DevTools] Registered folder plugin loader [15:06:37] [Server thread/INFO]: Enabling PureEntitiesX v0.6.0 [15:06:37] [Server thread/NOTICE]: [PureEntitiesX] Configuration loaded: [enableNBT:1] [enableSpawn:1] [enableAsyncTasks:1] [enableLookingTasks:1] [loggingEnabled:] [findPartnerDistance:49] [interactDistance:3] [teleportTamedDistance:20] [tamedFollowDistance:14] [blockOfInterestTicks:100] [checkTargetSkipTicks:5] [pickupLootTicks:10] [interactiveButtonCorrection:1] [useBlockLight:] [useSkyLight:] [emitLoveParticles:1] [xpEnabled:] [idleChance:80] [idleMin:100] [idleMax:500] [idleTimeBetween:20secs] [panicEnabled:1] [panicTicks:100] [entityMaxAge:72000] [15:06:37] [Server thread/INFO]: Enabling BigBrother v1.6.0-beta [15:06:37] [Server thread/INFO]: [BigBrother] OS: Linux minecraftpe.priv.lothlorien.net 4.11.8-300.fc26.x86_64 #1 SMP Thu Jun 29 20:09:48 UTC 2017 x86_64 [15:06:37] [Server thread/INFO]: [BigBrother] PHP version: 7.2.5 [15:06:37] [Server thread/INFO]: [BigBrother] PMMP Server version: v1.11.0 [15:06:37] [Server thread/INFO]: [BigBrother] PMMP API version: 3.8.2 [15:06:37] [Server thread/INFO]: [BigBrother] Use openssl as AES encryption engine. [15:06:37] [Server thread/INFO]: [BigBrother] Use openssl as RSA encryption engine. [15:06:37] [Server thread/INFO]: [BigBrother] OpenSSL Library version: OpenSSL 1.1.0h 27 Mar 2018 [15:06:37] [Server thread/INFO]: [BigBrother] OpenSSL Header version: OpenSSL 1.1.0h 27 Mar 2018 [15:06:37] [Server thread/INFO]: [BigBrother] Server is being started in the background [15:06:37] [Server thread/INFO]: [BigBrother] Generating keypair [15:06:37] [Server thread/INFO]: [BigBrother] Starting Minecraft: PC server on *:25565 version 1.12.2 [15:06:37] [Server thread/INFO]: Preparing world "world" [15:06:37] [Server thread/INFO]: Starting GS4 status listener [15:06:37] [Server thread/INFO]: Setting query port to 19132 [15:06:37] [Server thread/INFO]: Query running on 0.0.0.0:19132 [15:06:37] [Server thread/INFO]: Default game type: Creative Mode

[15:06:51] [Server thread/INFO]: [/192.168.255.14:64270] logged out due to User not premium [15:06:55] [Server thread/INFO]: [CONSOLE: Stopping the server] [15:06:55] [Server thread/INFO]: Disabling DevTools v1.13.3 [15:06:55] [Server thread/INFO]: Disabling PureEntitiesX v0.6.0 [15:06:55] [Server thread/NOTICE]: [PureEntitiesX] Disabled! [15:06:55] [Server thread/INFO]: Disabling BigBrother v1.6.0-beta [15:06:55] [Server thread/INFO]: Unloading world "world" [15:07:00] [Server thread/INFO]: Stopping other threads

On Jun 19, 2019, at 10:06 AM, Jason John Schwarz jason@lothlorien.net wrote:

If I turn the online mode to false I get:

[15:04:14] [Server thread/NOTICE]: AsyncTask class@anonymous/home/pocketmine/plugins/BigBrother-master/src/shoghicp/BigBrother/DesktopPlayer.php0x7f5afd0bfb14 stored local complex data but did not remove them after completion [15:04:24] [Server thread/INFO]: [/192.168.255.14:64218] logged out due to Login timeout

On Jun 19, 2019, at 10:03 AM, Jason John Schwarz <jason@lothlorien.net mailto:jason@lothlorien.net> wrote:

OK, I found the issue...somehow composer was acting in strict mode instead of just "suggesting" things. Fixed and now I get:

~/bin/php7/bin/php ~/bin/composer.phar install Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 1 install, 0 updates, 0 removals

  • Installing phpseclib/phpseclib (2.0.17): Downloading (100%)
    phpseclib/phpseclib suggests installing ext-libsodium (SSH2/SFTP can make use of some algorithms provided by the libsodium-php extension.) phpseclib/phpseclib suggests installing ext-mcrypt (Install the Mcrypt extension in order to speed up a few other cryptographic operations.) Writing lock file Generating autoload files

So better looking on the composer part, but I still get:

[15:02:44] [Server thread/INFO]: [/192.168.255.14:64193] logged out due to User not premium

On Jun 19, 2019, at 9:57 AM, Takuya Sawada <notifications@github.com mailto:notifications@github.com> wrote:

@jjschwarz https://github.com/jjschwarz Really using latest master of this repo? I already remove the ext-mcrypt from dependency list of this project. So, the error cannot occur.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/BigBrotherTeam/BigBrother/issues/120?email_source=notifications&email_token=ABIBX4PNK5MEABFJWR2NK33P3I3MHA5CNFSM4E5MCT62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYB6OLQ#issuecomment-503572270, or mute the thread https://github.com/notifications/unsubscribe-auth/ABIBX4P77AQJGPZZ44V7TITP3I3MHANCNFSM4E5MCT6Q.

jjschwarz commented 5 years ago

BTW, I also tried without the PureEntitiesX plugin and I get the same result.

Jason John Schwarz eMail: jason@lothlorien.net Amateur Radio: N4JJS

On Jun 19, 2019, at 10:07 AM, Jason John Schwarz jason@lothlorien.net wrote:

[15:06:37] [Server thread/INFO]: Loading pocketmine.yml... [15:06:37] [Server thread/INFO]: Loading server properties... [15:06:37] [Server thread/INFO]: Selected English (eng) as the base language [15:06:37] [Server thread/INFO]: Starting Minecraft: Bedrock Edition server version v1.11.0 [15:06:37] [Server thread/NOTICE]: Online mode is enabled. The server will verify that players are authenticated to Xbox Live. [15:06:37] [Server thread/NOTICE]: To disable authentication, set "xbox-auth" to "false" in server.properties. [15:06:37] [Server thread/INFO]: Opening server on 0.0.0.0:19132 [15:06:37] [Server thread/INFO]: This server is running PocketMine-MP version 3.8.2 [15:06:37] [Server thread/INFO]: PocketMine-MP is distributed under the LGPL License [15:06:37] [Server thread/INFO]: Loading resource packs... [15:06:37] [Server thread/INFO]: Loading DevTools v1.13.3 [15:06:37] [Server thread/INFO]: Loading PureEntitiesX v0.6.0 [15:06:37] [Server thread/INFO]: [PureEntitiesX] Originally written by milk0417. Currently maintained by RevivalPMMP for PMMP 'REDACTED'. [15:06:37] [Server thread/INFO]: Enabling DevTools v1.13.3 [15:06:37] [Server thread/INFO]: Loading BigBrother v1.6.0-beta [15:06:37] [Server thread/INFO]: [BigBrother] Registering Composer autoloader... [15:06:37] [Server thread/INFO]: [DevTools] Registered folder plugin loader [15:06:37] [Server thread/INFO]: Enabling PureEntitiesX v0.6.0 [15:06:37] [Server thread/NOTICE]: [PureEntitiesX] Configuration loaded: [enableNBT:1] [enableSpawn:1] [enableAsyncTasks:1] [enableLookingTasks:1] [loggingEnabled:] [findPartnerDistance:49] [interactDistance:3] [teleportTamedDistance:20] [tamedFollowDistance:14] [blockOfInterestTicks:100] [checkTargetSkipTicks:5] [pickupLootTicks:10] [interactiveButtonCorrection:1] [useBlockLight:] [useSkyLight:] [emitLoveParticles:1] [xpEnabled:] [idleChance:80] [idleMin:100] [idleMax:500] [idleTimeBetween:20secs] [panicEnabled:1] [panicTicks:100] [entityMaxAge:72000] [15:06:37] [Server thread/INFO]: Enabling BigBrother v1.6.0-beta [15:06:37] [Server thread/INFO]: [BigBrother] OS: Linux minecraftpe.priv.lothlorien.net http://minecraftpe.priv.lothlorien.net/ 4.11.8-300.fc26.x86_64 #1 SMP Thu Jun 29 20:09:48 UTC 2017 x86_64 [15:06:37] [Server thread/INFO]: [BigBrother] PHP version: 7.2.5 [15:06:37] [Server thread/INFO]: [BigBrother] PMMP Server version: v1.11.0 [15:06:37] [Server thread/INFO]: [BigBrother] PMMP API version: 3.8.2 [15:06:37] [Server thread/INFO]: [BigBrother] Use openssl as AES encryption engine. [15:06:37] [Server thread/INFO]: [BigBrother] Use openssl as RSA encryption engine. [15:06:37] [Server thread/INFO]: [BigBrother] OpenSSL Library version: OpenSSL 1.1.0h 27 Mar 2018 [15:06:37] [Server thread/INFO]: [BigBrother] OpenSSL Header version: OpenSSL 1.1.0h 27 Mar 2018 [15:06:37] [Server thread/INFO]: [BigBrother] Server is being started in the background [15:06:37] [Server thread/INFO]: [BigBrother] Generating keypair [15:06:37] [Server thread/INFO]: [BigBrother] Starting Minecraft: PC server on *:25565 version 1.12.2 [15:06:37] [Server thread/INFO]: Preparing world "world" [15:06:37] [Server thread/INFO]: Starting GS4 status listener [15:06:37] [Server thread/INFO]: Setting query port to 19132 [15:06:37] [Server thread/INFO]: Query running on 0.0.0.0:19132 [15:06:37] [Server thread/INFO]: Default game type: Creative Mode

[15:06:51] [Server thread/INFO]: [/192.168.255.14:64270] logged out due to User not premium [15:06:55] [Server thread/INFO]: [CONSOLE: Stopping the server] [15:06:55] [Server thread/INFO]: Disabling DevTools v1.13.3 [15:06:55] [Server thread/INFO]: Disabling PureEntitiesX v0.6.0 [15:06:55] [Server thread/NOTICE]: [PureEntitiesX] Disabled! [15:06:55] [Server thread/INFO]: Disabling BigBrother v1.6.0-beta [15:06:55] [Server thread/INFO]: Unloading world "world" [15:07:00] [Server thread/INFO]: Stopping other threads

On Jun 19, 2019, at 10:06 AM, Jason John Schwarz <jason@lothlorien.net mailto:jason@lothlorien.net> wrote:

If I turn the online mode to false I get:

[15:04:14] [Server thread/NOTICE]: AsyncTask class@anonymous/home/pocketmine/plugins/BigBrother-master/src/shoghicp/BigBrother/DesktopPlayer.php0x7f5afd0bfb14 stored local complex data but did not remove them after completion [15:04:24] [Server thread/INFO]: [/192.168.255.14:64218] logged out due to Login timeout

On Jun 19, 2019, at 10:03 AM, Jason John Schwarz <jason@lothlorien.net mailto:jason@lothlorien.net> wrote:

OK, I found the issue...somehow composer was acting in strict mode instead of just "suggesting" things. Fixed and now I get:

~/bin/php7/bin/php ~/bin/composer.phar install Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 1 install, 0 updates, 0 removals

  • Installing phpseclib/phpseclib (2.0.17): Downloading (100%)
    phpseclib/phpseclib suggests installing ext-libsodium (SSH2/SFTP can make use of some algorithms provided by the libsodium-php extension.) phpseclib/phpseclib suggests installing ext-mcrypt (Install the Mcrypt extension in order to speed up a few other cryptographic operations.) Writing lock file Generating autoload files

So better looking on the composer part, but I still get:

[15:02:44] [Server thread/INFO]: [/192.168.255.14:64193] logged out due to User not premium

On Jun 19, 2019, at 9:57 AM, Takuya Sawada <notifications@github.com mailto:notifications@github.com> wrote:

@jjschwarz https://github.com/jjschwarz Really using latest master of this repo? I already remove the ext-mcrypt from dependency list of this project. So, the error cannot occur.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/BigBrotherTeam/BigBrother/issues/120?email_source=notifications&email_token=ABIBX4PNK5MEABFJWR2NK33P3I3MHA5CNFSM4E5MCT62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYB6OLQ#issuecomment-503572270, or mute the thread https://github.com/notifications/unsubscribe-auth/ABIBX4P77AQJGPZZ44V7TITP3I3MHANCNFSM4E5MCT6Q.

eternalharvest commented 5 years ago

@jjschwarz

According to ur log provided, it seems...

[15:06:51] [Server thread/INFO]: [/192.168.255.14:64270] logged out due to User not premium

Do you have valid license of MCPC (Java) version?

If you have valid license, there is a possibility that ur server has no internet access to access the mojang.com. In login process, we need internet access. Please confirm internet access with following command.

curl https://sessionserver.mojang.com/
{"Status":"OK","Runtime-Mode":"productionMode","Application-Author":"Mojang Web Force","Application-Description":"Mojang Session Server.","Specification-Version":"3.6.0","Application-Name":"yggdrasil.session.restlet.server","Implementation-Version":"3.6.0_build68","Application-Owner":"Mojang"}

Above is normal response.

jjschwarz commented 5 years ago

I am a paid user of the Java version, but just for testing that is why I changed the online to false in the config...but received the timeout instead.

I tested curl on my computer:

jason% curl https://sessionserver.mojang.com/ {"Status":"OK","Runtime-Mode":"productionMode","Application-Author":"Mojang Web Force","Application-Description":"Mojang Session Server.","Specification-Version":"3.6.0","Application-Name":"yggdrasil.session.restlet.server","Implementation-Version":"3.6.0_build68","Application-Owner":"Mojang"}[rhun:~] jason

and on the server

$ curl https://sessionserver.mojang.com/

{"Status":"OK","Runtime-Mode":"productionMode","Application-Author":"Mojang Web Force","Application-Description":"Mojang Session Server.","Specification-Version":"3.6.0","Application-Name":"yggdrasil.session.restlet.server","Implementation-Version":"3.6.0_build68","Application-Owner":"Mojang"}[pocketmine@minecraftpe ~]$

I get identical results to what you sent. I can use the Java version just fine with another server (tested that).

On Jun 19, 2019, at 10:24 AM, Takuya Sawada notifications@github.com wrote:

@jjschwarz https://github.com/jjschwarz According to ur log provided, it seems...

[15:06:51] [Server thread/INFO]: [/192.168.255.14:64270] logged out due to User not premium Do you have valid license of MCPC (Java) version?

If you have valid license, there is a possibility that ur server has no internet access to access the mojang.com. In login process, we need internet access. Please confirm internet access with following command.

curl https://sessionserver.mojang.com/ {"Status":"OK","Runtime-Mode":"productionMode","Application-Author":"Mojang Web Force","Application-Description":"Mojang Session Server.","Specification-Version":"3.6.0","Application-Name":"yggdrasil.session.restlet.server","Implementation-Version":"3.6.0_build68","Application-Owner":"Mojang"} Above is normal response.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/BigBrotherTeam/BigBrother/issues/120?email_source=notifications&email_token=ABIBX4K5KM4444SGANV4GCDP3I6QPA5CNFSM4E5MCT62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYCBEQI#issuecomment-503583297, or mute the thread https://github.com/notifications/unsubscribe-auth/ABIBX4KXFIZ5NYZ6YXMAZ6LP3I6QPANCNFSM4E5MCT6Q.

eternalharvest commented 5 years ago

@jjschwarz, @Saxavlax001

I wrote a patch which distinguish the problem is network or authentication process. And it was already merged into master. Please use latest master and report ur console log again!

Saxavlax001 commented 5 years ago
[16:24:32] [Server thread/INFO]: Enabling BigBrother v1.6.0-beta
[16:24:32] [Server thread/INFO]: [BigBrother] OS: Linux gofightnetwork.ddns.net 2.6.32-042stab128.2 #1 SMP Thu Mar 22 10:58:36 MSK 2018 x86_64
[16:24:32] [Server thread/INFO]: [BigBrother] PHP version: 7.3.6
[16:24:32] [Server thread/INFO]: [BigBrother] PMMP Server version: v1.11.0
[16:24:32] [Server thread/INFO]: [BigBrother] PMMP API version: 3.8.4
[16:24:32] [Server thread/CRITICAL]: Error: "Class 'phpseclib\Crypt\AES' not found" (EXCEPTION) in "plugins/BigBrother_v1.6.0-beta.phar/src/shoghicp/BigBrother/BigBrother" at line 125
[16:24:32] [Server thread/DEBUG]: #0 src/pocketmine/plugin/PluginBase(123): shoghicp\BigBrother\BigBrother->onEnable()
[16:24:32] [Server thread/DEBUG]: #1 src/pocketmine/plugin/PluginManager(588): pocketmine\plugin\PluginBase->setEnabled(boolean 1)
[16:24:32] [Server thread/DEBUG]: #2 src/pocketmine/Server(1992): pocketmine\plugin\PluginManager->enablePlugin(object shoghicp\BigBrother\BigBrother)
[16:24:32] [Server thread/DEBUG]: #3 src/pocketmine/Server(1978): pocketmine\Server->enablePlugin(object shoghicp\BigBrother\BigBrother)
[16:24:32] [Server thread/DEBUG]: #4 plugins/AllAPILoader_v1.0.0.phar/src/OhhhAlex/AllAPILoader/Main(21): pocketmine\Server->enablePlugins(integer 0)
[16:24:32] [Server thread/DEBUG]: #5 src/pocketmine/plugin/PluginBase(123): OhhhAlex\AllAPILoader\Main->onEnable()
[16:24:32] [Server thread/DEBUG]: #6 src/pocketmine/plugin/PluginManager(588): pocketmine\plugin\PluginBase->setEnabled(boolean 1)
[16:24:32] [Server thread/DEBUG]: #7 src/pocketmine/Server(1992): pocketmine\plugin\PluginManager->enablePlugin(object OhhhAlex\AllAPILoader\Main)
[16:24:32] [Server thread/DEBUG]: #8 src/pocketmine/Server(1978): pocketmine\Server->enablePlugin(object OhhhAlex\AllAPILoader\Main)
[16:24:32] [Server thread/DEBUG]: #9 src/pocketmine/Server(1718): pocketmine\Server->enablePlugins(integer 0)
[16:24:32] [Server thread/DEBUG]: #10 src/pocketmine/PocketMine(266): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[21] /home/gofightnetwork/, string[29] /home/gofightnetwork/plugins/)
[16:24:32] [Server thread/DEBUG]: #11 (1): require(string[76] phar:///home/gofightnetwork/PocketMine-MP.phar/src/pocketmine/PocketMine.php)
[16:24:32] [Server thread/INFO]: Disabling BigBrother v1.6.0-beta
Saxavlax001 commented 5 years ago

But I installed phpseclib using the composer.

jjschwarz commented 5 years ago

OK, so my results:

==Composer install== [pocketmine@minecraftpe BigBrother-master]$ composer install Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 1 install, 0 updates, 0 removals

==Minecraft startup== ./start.sh [21:36:41] [Server thread/INFO]: Loading pocketmine.yml... [21:36:41] [Server thread/INFO]: Loading server properties... [21:36:41] [Server thread/INFO]: Selected English (eng) as the base language [21:36:41] [Server thread/INFO]: Starting Minecraft: Bedrock Edition server version v1.11.0 [21:36:41] [Server thread/NOTICE]: Online mode is enabled. The server will verify that players are authenticated to Xbox Live. [21:36:41] [Server thread/NOTICE]: To disable authentication, set "xbox-auth" to "false" in server.properties. [21:36:41] [Server thread/INFO]: Opening server on 0.0.0.0:19132 [21:36:41] [Server thread/INFO]: This server is running PocketMine-MP version 3.8.2 [21:36:41] [Server thread/INFO]: PocketMine-MP is distributed under the LGPL License [21:36:41] [Server thread/INFO]: Loading resource packs... [21:36:41] [Server thread/INFO]: Loading DevTools v1.13.3 [21:36:41] [Server thread/INFO]: Loading PureEntitiesX v0.6.0 [21:36:41] [Server thread/INFO]: [PureEntitiesX] Originally written by milk0417. Currently maintained by RevivalPMMP for PMMP 'REDACTED'. [21:36:41] [Server thread/INFO]: Enabling DevTools v1.13.3 [21:36:41] [Server thread/INFO]: Loading BigBrother v1.6.0-beta [21:36:41] [Server thread/INFO]: [BigBrother] Registering Composer autoloader... [21:36:41] [Server thread/INFO]: [DevTools] Registered folder plugin loader [21:36:41] [Server thread/INFO]: Enabling PureEntitiesX v0.6.0 [21:36:41] [Server thread/NOTICE]: [PureEntitiesX] Configuration loaded: [enableNBT:1] [enableSpawn:1] [enableAsyncTasks:1] [enableLookingTasks:1] [loggingEnabled:] [findPartnerDistance:49] [interactDistance:3] [teleportTamedDistance:20] [tamedFollowDistance:14] [blockOfInterestTicks:100] [checkTargetSkipTicks:5] [pickupLootTicks:10] [interactiveButtonCorrection:1] [useBlockLight:] [useSkyLight:] [emitLoveParticles:1] [xpEnabled:] [idleChance:80] [idleMin:100] [idleMax:500] [idleTimeBetween:20secs] [panicEnabled:1] [panicTicks:100] [entityMaxAge:72000] [21:36:41] [Server thread/INFO]: Enabling BigBrother v1.6.0-beta [21:36:41] [Server thread/INFO]: [BigBrother] OS: Linux minecraftpe.priv.lothlorien.net 4.11.8-300.fc26.x86_64 #1 SMP Thu Jun 29 20:09:48 UTC 2017 x86_64 [21:36:41] [Server thread/INFO]: [BigBrother] PHP version: 7.2.5 [21:36:41] [Server thread/INFO]: [BigBrother] PMMP Server version: v1.11.0 [21:36:41] [Server thread/INFO]: [BigBrother] PMMP API version: 3.8.2 [21:36:41] [Server thread/INFO]: [BigBrother] Use openssl as AES encryption engine. [21:36:41] [Server thread/INFO]: [BigBrother] Use openssl as RSA encryption engine. [21:36:41] [Server thread/INFO]: [BigBrother] OpenSSL Library version: OpenSSL 1.1.0h 27 Mar 2018 [21:36:41] [Server thread/INFO]: [BigBrother] OpenSSL Header version: OpenSSL 1.1.0h 27 Mar 2018 [21:36:41] [Server thread/INFO]: [BigBrother] Server is being started in the background [21:36:41] [Server thread/INFO]: [BigBrother] Generating keypair [21:36:41] [Server thread/INFO]: [BigBrother] Starting Minecraft: PC server on *:25565 version 1.12.2 [21:36:41] [Server thread/INFO]: Preparing world "world" [21:36:41] [Server thread/INFO]: Starting GS4 status listener [21:36:41] [Server thread/INFO]: Setting query port to 19132 [21:36:41] [Server thread/INFO]: Query running on 0.0.0.0:19132 [21:36:41] [Server thread/INFO]: Default game type: Creative Mode

==Attempt to login to server== [21:38:00] [Asynchronous Worker #0 thread/CRITICAL]: TypeError: "json_decode() expects parameter 1 to be string, boolean given" (EXCEPTION) in "plugins/BigBrother-master/src/shoghicp/BigBrother/DesktopPlayer" at line 615 [21:38:00] [Asynchronous Worker #0 thread/DEBUG]: #0 plugins/BigBrother-master/src/shoghicp/BigBrother/DesktopPlayer(615): json_decode(boolean , boolean 1) [21:38:00] [Asynchronous Worker #0 thread/DEBUG]: #1 src/pocketmine/scheduler/AsyncTask(75): class@anonymous/home/pocketmine/plugins/BigBrother-master/src/shoghicp/BigBrother/DesktopPlayer.php0x7feda264344b->onRun()

[21:38:00] [Server thread/ERROR]: InternetException: failed to fetch session data; err=Error reading ca cert file /etc/ssl/certs/ca-certificates.crt - mbedTLS: (-0x3E00) PK - Read/write of file failed [21:38:00] [Server thread/CRITICAL]: Could not execute asynchronous task class@anonymous/home/pocketmine/plugins/BigBrother-master/src/shoghicp/BigBrother/DesktopPlayer.php0x7feda264344b: Task crashed

I noticed the /etc/ssl/certs/ca-certificates.crt failure, which is named ca-bundle.crt on my distro, so I made a symlink for that file. Once I did that I got into the game fine, so that was my issue. The debug log helped a lot!

Thank you again!

On Jun 20, 2019, at 5:42 AM, Takuya Sawada notifications@github.com wrote:

@jjschwarz https://github.com/jjschwarz, @Saxavlax001 https://github.com/Saxavlax001 I wrote a patch which distinguish the problem is network or authentication process. And it was already merged into master. Please use latest master and report ur console log again!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/BigBrotherTeam/BigBrother/issues/120?email_source=notifications&email_token=ABIBX4PZ4RAU6K5UTOEUDUTP3NGG5A5CNFSM4E5MCT62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYE4OHQ#issuecomment-503957278, or mute the thread https://github.com/notifications/unsubscribe-auth/ABIBX4IJDIU2TMW3LGB4S6TP3NGG5ANCNFSM4E5MCT6Q.

hmy2001 commented 5 years ago

@jjschwarz Fixed problem. Please use latest master and report your console log again!

hmy2001 commented 5 years ago

@Saxavlax001 Please report all your console log!

jjschwarz commented 5 years ago

==composer install== composer install Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 1 install, 0 updates, 0 removals

==startup== ./start.sh [14:49:44] [Server thread/INFO]: Loading pocketmine.yml... [14:49:44] [Server thread/INFO]: Loading server properties... [14:49:44] [Server thread/INFO]: Selected English (eng) as the base language [14:49:44] [Server thread/INFO]: Starting Minecraft: Bedrock Edition server version v1.11.0 [14:49:44] [Server thread/NOTICE]: Online mode is enabled. The server will verify that players are authenticated to Xbox Live. [14:49:44] [Server thread/NOTICE]: To disable authentication, set "xbox-auth" to "false" in server.properties. [14:49:44] [Server thread/INFO]: Opening server on 0.0.0.0:19132 [14:49:44] [Server thread/INFO]: This server is running PocketMine-MP version 3.8.4 [14:49:44] [Server thread/INFO]: PocketMine-MP is distributed under the LGPL License [14:49:44] [Server thread/INFO]: Loading resource packs... [14:49:44] [Server thread/INFO]: Loading DevTools v1.13.3 [14:49:44] [Server thread/INFO]: Loading PureEntitiesX v0.6.2 [14:49:44] [Server thread/INFO]: [PureEntitiesX] Originally written by milk0417. Currently maintained by RevivalPMMP for PMMP 'REDACTED'. [14:49:44] [Server thread/INFO]: Enabling DevTools v1.13.3 [14:49:44] [Server thread/INFO]: Loading BigBrother v1.6.0-beta [14:49:44] [Server thread/INFO]: [BigBrother] Registering Composer autoloader... [14:49:44] [Server thread/INFO]: [DevTools] Registered folder plugin loader [14:49:44] [Server thread/INFO]: Enabling PureEntitiesX v0.6.2 [14:49:44] [Server thread/NOTICE]: [PureEntitiesX] Configuration loaded: [enableNBT:1] [enableSpawn:1] [enableAsyncTasks:1] [enableLookingTasks:1] [loggingEnabled:] [findPartnerDistance:49] [interactDistance:3] [teleportTamedDistance:20] [tamedFollowDistance:14] [blockOfInterestTicks:100] [checkTargetSkipTicks:5] [pickupLootTicks:10] [interactiveButtonCorrection:1] [useBlockLight:] [useSkyLight:] [emitLoveParticles:1] [xpEnabled:] [idleChance:80] [idleMin:100] [idleMax:500] [idleTimeBetween:20secs] [panicEnabled:1] [panicTicks:100] [entityMaxAge:72000] [14:49:44] [Server thread/INFO]: Enabling BigBrother v1.6.0-beta [14:49:44] [Server thread/INFO]: [BigBrother] OS: Linux minecraftpe.priv.lothlorien.net 4.11.8-300.fc26.x86_64 #1 SMP Thu Jun 29 20:09:48 UTC 2017 x86_64 [14:49:44] [Server thread/INFO]: [BigBrother] PHP version: 7.2.5 [14:49:44] [Server thread/INFO]: [BigBrother] PMMP Server version: v1.11.0 [14:49:44] [Server thread/INFO]: [BigBrother] PMMP API version: 3.8.4 [14:49:44] [Server thread/INFO]: [BigBrother] Use openssl as AES encryption engine. [14:49:44] [Server thread/INFO]: [BigBrother] Use openssl as RSA encryption engine. [14:49:44] [Server thread/INFO]: [BigBrother] OpenSSL Library version: OpenSSL 1.1.0h 27 Mar 2018 [14:49:44] [Server thread/INFO]: [BigBrother] OpenSSL Header version: OpenSSL 1.1.0h 27 Mar 2018 [14:49:44] [Server thread/INFO]: [BigBrother] Server is being started in the background [14:49:44] [Server thread/INFO]: [BigBrother] Generating keypair [14:49:44] [Server thread/INFO]: [BigBrother] Starting Minecraft: PC server on *:25565 version 1.12.2 [14:49:45] [Server thread/INFO]: Preparing world "world" [14:49:45] [Server thread/INFO]: Starting GS4 status listener [14:49:45] [Server thread/INFO]: Setting query port to 19132 [14:49:45] [Server thread/INFO]: Query running on 0.0.0.0:19132 [14:49:45] [Server thread/INFO]: Default game type: Creative Mode

==login, walk around room and disconnect== [14:51:52] [Server thread/INFO]: JJSchwarz[/192.168.255.14:62223] logged in with entity id 6 at (world, 71.803, 79.0625, 221.4664) [14:51:52] [Server thread/INFO]: JJSchwarz joined the game BlockEntityDataPacket: EnderChest key: 16 Not implemented key: 16 Not implemented key: 16 Not implemented key: 16 Not implemented key: 19 Not implemented key: 16 Not implemented BlockEntityDataPacket: EnderChest key: 19 Not implemented key: 16 Not implemented key: 100 Not implemented key: 16 Not implemented key: 3 Not implemented key: 16 Not implemented key: 3 Not implemented key: 16 Not implemented key: 16 Not implemented key: 16 Not implemented key: 16 Not implemented key: 16 Not implemented key: 100 Not implemented key: 16 Not implemented key: 16 Not implemented key: 16 Not implemented key: 19 Not implemented key: 16 Not implemented key: 16 Not implemented key: 16 Not implemented BlockEntityDataPacket: EnderChest key: 16 Not implemented key: 100 Not implemented key: 16 Not implemented key: 16 Not implemented key: 19 Not implemented key: 16 Not implemented key: 16 Not implemented [14:51:57] [Server thread/WARNING]: Can't keep up! Is the server overloaded? key: 100 Not implemented key: 19 Not implemented key: 16 Not implemented key: 16 Not implemented key: 16 Not implemented key: 19 Not implemented key: 16 Not implemented key: 16 Not implemented key: 16 Not implemented key: 16 Not implemented key: 16 Not implemented key: 19 Not implemented key: 16 Not implemented key: 100 Not implemented key: 100 Not implemented key: 100 Not implemented key: 100 Not implemented key: 100 Not implemented key: 100 Not implemented key: 100 Not implemented key: 100 Not implemented key: 100 Not implemented key: 100 Not implemented key: 100 Not implemented [14:52:03] [Server thread/INFO]: JJSchwarz left the game [14:52:03] [Server thread/INFO]: JJSchwarz[/192.168.255.14:62223] logged out due to Connection closed

==notes==

On Jun 21, 2019, at 6:33 PM, hmy2001 notifications@github.com wrote:

@jjschwarz https://github.com/jjschwarz Fixed problem. Please use latest master and report your console log again!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/BigBrotherTeam/BigBrother/issues/120?email_source=notifications&email_token=ABIBX4ONZDXE3CKJ24H3Z6TP3VJJ7A5CNFSM4E5MCT62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYJXYOA#issuecomment-504593464, or mute the thread https://github.com/notifications/unsubscribe-auth/ABIBX4KQ3NDOR6EGJI6QOJLP3VJJ7ANCNFSM4E5MCT6Q.

hmy2001 commented 5 years ago

@jjschwarz Have you really updated BigBrother without changing properties or settings?

jjschwarz commented 5 years ago

Yes, I removed the entire folder structure from ~/plugins/, downloaded the new zip, unzipped it in ~/plugins and ran the composer install. Did I miss a step?

On Jun 22, 2019, at 10:52 AM, hmy2001 notifications@github.com wrote:

@jjschwarz https://github.com/jjschwarz Have you really updated BigBrother without changing properties or settings?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/BigBrotherTeam/BigBrother/issues/120?email_source=notifications&email_token=ABIBX4MM3S5O7BHL7YDBSTLP3Y4BLA5CNFSM4E5MCT62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYKK6ZI#issuecomment-504672101, or mute the thread https://github.com/notifications/unsubscribe-auth/ABIBX4PDWLDPPLXRBYZHW4DP3Y4BLANCNFSM4E5MCT6Q.

eternalharvest commented 5 years ago

@jjschwarz still u have issue after ca-certificate problem was solved?

jjschwarz commented 5 years ago

Nope, once I had logging that showed the missing file I was able to fix the issue.


Jason John Schwarz eMail: jason@lothlorien.net Amateur Radio: N4JJS

On Jun 23, 2019, at 9:20 AM, Takuya Sawada notifications@github.com wrote:

@jjschwarz still u have issue after ca-certificate problem was solved?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

eternalharvest commented 5 years ago

@jjschwarz I'm glad to hear that. So, your last log reported means no problem right?

How about you @Saxavlax001 ??

jjschwarz commented 5 years ago

Correct. My only issue is the debug is very noisy on the console (they key messages).

Jason John Schwarz eMail: jason@lothlorien.net Amateur Radio: N4JJS

On Jun 24, 2019, at 5:47 AM, Takuya Sawada notifications@github.com wrote:

@jjschwarz https://github.com/jjschwarz I'm glad to hear that. So, your last log reported means no problem right?

How about you @Saxavlax001 https://github.com/Saxavlax001 ??

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/BigBrotherTeam/BigBrother/issues/120?email_source=notifications&email_token=ABIBX4PE7JI7NOL6U6NWAWTP4CJ2DA5CNFSM4E5MCT62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYMMLQI#issuecomment-504939969, or mute the thread https://github.com/notifications/unsubscribe-auth/ABIBX4KHGFZWDDNVDYBTRVTP4CJ2DANCNFSM4E5MCT6Q.

eternalharvest commented 5 years ago

@jjschwarz haha, it's because for our reminder to implement it. there are lot of "echo" statement in this project, so we may need to replace it with logger so that we can disable these debug messages...

but it would be better if it will be implemented rather than replace the code to logger. i'm glad if u contribute this project. any full-described issue is also wellcome!

Saxavlax001 commented 5 years ago
[16:07:04] [Server thread/INFO]: Enabling BigBrother v1.6.0-beta
[16:07:04] [Server thread/INFO]: [BigBrother] OS: Linux gofightnetwork 2.6.32-042stab128.2 #1 SMP Thu Mar 22 10:58:36 MSK 2018 x86_64                           
[16:07:04] [Server thread/INFO]: [BigBrother] PHP version: 7.3.6
[16:07:04] [Server thread/INFO]: [BigBrother] PMMP Server version: v1.11.0
[16:07:04] [Server thread/INFO]: [BigBrother] PMMP API version: 3.8.4
[16:07:04] [Server thread/INFO]: [BigBrother] BigBrother.phar; revision: v1.5.0-beta-551-gcd6c4fe                                                               
[16:07:04] [Server thread/INFO]: [BigBrother] Use openssl as AES encryption engine.                                                                             
[16:07:04] [Server thread/INFO]: [BigBrother] Use openssl as RSA encryption engine.                                                                             
[16:07:04] [Server thread/INFO]: [BigBrother] OpenSSL Library version: OpenSSL 1.1.0k  28 May 2019                                                              
[16:07:04] [Server thread/INFO]: [BigBrother] OpenSSL Header version: OpenSSL 1.1.0k  28 May 2019                                                               
[16:07:04] [Server thread/INFO]: [BigBrother] OpenSSL Library version: OpenSSL 1.1.0k  28 May 2019                                                              
[16:07:04] [Server thread/INFO]: [BigBrother] OpenSSL Header version: OpenSSL 1.1.0k  28 May 2019                                                               
[16:07:04] [Server thread/INFO]: [BigBrother] Starting Minecraft: PC server on *:25565 version

I used the phar download link from the site and plugin loaded fine but when I'm trying to join with cracked mc 1.12.2 it says that:

[16:13:37] [Server thread/ERROR]: UnknownError: failed to parse profile; response=
[16:13:37] [Server thread/NOTICE]: AsyncTask class@anonymousphar:///home/gofightnetwork/2ndserver/plugins/BigBrother-v1.5.0-beta-551-gcd6c4fe.phar/src/shoghicp/BigBrother/DesktopPlayer.php0x7f0e3e07def7 stored local complex data but did not remove them after completion
[16:13:47] [Server thread/INFO]: [/x.x.x.x.x:53506] logged out due to Login timeout
[16:13:55] [Server thread/ERROR]: UnknownError: failed to parse profile; response=
[16:13:55] [Server thread/NOTICE]: AsyncTask class@anonymousphar:///home/gofightnetwork/2ndserver/plugins/BigBrother-v1.5.0-beta-551-gcd6c4fe.phar/src/shoghicp/BigBrother/DesktopPlayer.php0x7f0e3e07def7 stored local complex data but did not remove them after completion
[16:14:05] [Server thread/INFO]: [/x.x.x.x.x.:53518] logged out due to Login timeout
Saxavlax001 commented 5 years ago

Did I do something wrong?I just installed the BigBrother from the link.

Saxavlax001 commented 5 years ago

Also I get that when a mcpe/mcbe player joins in server:

[16:19:17] [Server thread/NOTICE]: Player data not found for "superminerplays", creating new profile
[16:19:17] [Server thread/INFO]: SuperminerPlays[/45.47.156.26:64497] logged in with entity id 2 at (golobby, 239, 70, 261)
[16:19:17] [Server thread/INFO]: [16:19:17] SuperminerPlays joined the game for the first time.
[16:19:17] [Server thread/INFO]: SuperminerPlays[/x.x.x.x.x:64497] logged out due to Connection closed
[16:19:29] [Server thread/ERROR]: UnknownError: failed to parse profile info; response={"error":"TooManyRequestsException","errorMessage":"The client has sent too many requests within a certain amount of time"}
[16:19:29] [Server thread/NOTICE]: AsyncTask class@anonymousphar:///home/gofightnetwork/2ndserver/plugins/BigBrother-v1.5.0-beta-551-gcd6c4fe.phar/src/shoghicp/BigBrother/DesktopPlayer.php0x7f0e3e07def7 stored local complex data but did not remove them after completion
[16:19:38] [Server thread/INFO]: [/x.x.x.x.:64519] logged out due to Login timeout
[16:19:49] [Server thread/INFO]: SuperminerPlays[/45.47.156.26:64542] logged in with entity id 37 at (golobby, 239, 70, 261)
[16:19:49] [Server thread/CRITICAL]: ErrorException: "Uninitialized string offset: 1" (EXCEPTION) in "plugins/BigBrother-v1.5.0-beta-551-gcd6c4fe.phar/src/shoghicp/BigBrother/network/Translator" at line 2505
[16:19:49] [Server thread/DEBUG]: #0 plugins/BigBrother-v1.5.0-beta-551-gcd6c4fe.phar/src/shoghicp/BigBrother/network/Translator(2505): pocketmine\utils\Utils::errorExceptionHandler(integer 8, string[30] Uninitialized string offset: 1, string[133] phar:///home/gofightnetwork/2ndserver/plugins/BigBrother-v1.5.0-beta-551-gcd6c4f, integer 2505, array[4])
[16:19:49] [Server thread/DEBUG]: #1 plugins/BigBrother-v1.5.0-beta-551-gcd6c4fe.phar/src/shoghicp/BigBrother/network/Translator(2594): shoghicp\BigBrother\network\Translator->serverToInterface(object shoghicp\BigBrother\DesktopPlayer, object pocketmine\network\mcpe\protocol\BossEventPacket)
[16:19:49] [Server thread/DEBUG]: #2 plugins/BigBrother-v1.5.0-beta-551-gcd6c4fe.phar/src/shoghicp/BigBrother/network/ProtocolInterface(237): shoghicp\BigBrother\network\Translator->serverToInterface(object shoghicp\BigBrother\DesktopPlayer, object pocketmine\network\mcpe\protocol\BatchPacket)
[16:19:49] [Server thread/DEBUG]: #3 src/pocketmine/Player(3180): shoghicp\BigBrother\network\ProtocolInterface->putPacket(object shoghicp\BigBrother\DesktopPlayer, object pocketmine\network\mcpe\protocol\BatchPacket, boolean , boolean )
[16:19:49] [Server thread/DEBUG]: #4 src/pocketmine/Server(1967): pocketmine\Player->sendDataPacket(object pocketmine\network\mcpe\protocol\BatchPacket, boolean , boolean )
[16:19:49] [Server thread/DEBUG]: #5 src/pocketmine/Server(1949): pocketmine\Server->broadcastPacketsCallback(object pocketmine\network\mcpe\protocol\BatchPacket, array[1], boolean )
[16:19:49] [Server thread/DEBUG]: #6 src/pocketmine/Server(1912): pocketmine\Server->batchPackets(array[1], array[1], boolean 1)
[16:19:49] [Server thread/DEBUG]: #7 plugins/BossBar_v1.0.15.phar/src/BossBar/API(80): pocketmine\Server->broadcastPacket(array[1], object pocketmine\network\mcpe\protocol\BossEventPacket)
[16:19:49] [Server thread/DEBUG]: #8 plugins/BossBar_v1.0.15.phar/src/BossBar/Main(65): BossBar\API::setPercentage(integer 50, integer 3)
[16:19:49] [Server thread/DEBUG]: #9 plugins/BossBar_v1.0.15.phar/src/BossBar/Main(42): BossBar\Main->getText(object shoghicp\BigBrother\DesktopPlayer)
[16:19:49] [Server thread/DEBUG]: #10 src/pocketmine/plugin/MethodEventExecutor(38): BossBar\Main->onJoin(object pocketmine\event\player\PlayerJoinEvent)
[16:19:49] [Server thread/DEBUG]: #11 src/pocketmine/plugin/RegisteredListener(98): pocketmine\plugin\MethodEventExecutor->execute(object BossBar\Main, object pocketmine\event\player\PlayerJoinEvent)
[16:19:49] [Server thread/DEBUG]: #12 src/pocketmine/event/Event(99): pocketmine\plugin\RegisteredListener->callEvent(object pocketmine\event\player\PlayerJoinEvent)
[16:19:49] [Server thread/DEBUG]: #13 src/pocketmine/Player(1082): pocketmine\event\Event->call()
[16:19:49] [Server thread/DEBUG]: #14 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(298): pocketmine\Player->doFirstSpawn()
[16:19:49] [Server thread/DEBUG]: #15 src/pocketmine/network/mcpe/protocol/SetLocalPlayerAsInitializedPacket(45): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleSetLocalPlayerAsInitialized(object pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket)
[16:19:49] [Server thread/DEBUG]: #16 plugins/BigBrother-v1.5.0-beta-551-gcd6c4fe.phar/src/shoghicp/BigBrother/DesktopPlayer(755): pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[16:19:49] [Server thread/DEBUG]: #17 plugins/BigBrother-v1.5.0-beta-551-gcd6c4fe.phar/src/shoghicp/BigBrother/DesktopPlayer(446): shoghicp\BigBrother\DesktopPlayer->handleDataPacket(object pocketmine\network\mcpe\protocol\SetLocalPlayerAsInitializedPacket)
[16:19:49] [Server thread/DEBUG]: #18 src/pocketmine/Player(1951): shoghicp\BigBrother\DesktopPlayer->onVerifyCompleted(object pocketmine\network\mcpe\protocol\LoginPacket, NULL , boolean 1)
[16:19:49] [Server thread/DEBUG]: #19 src/pocketmine/network/mcpe/PlayerNetworkSessionAdapter(118): pocketmine\Player->handleLogin(object pocketmine\network\mcpe\protocol\LoginPacket)
[16:19:49] [Server thread/DEBUG]: #20 src/pocketmine/network/mcpe/protocol/LoginPacket(142): pocketmine\network\mcpe\PlayerNetworkSessionAdapter->handleLogin(object pocketmine\network\mcpe\protocol\LoginPacket)
[16:19:49] [Server thread/DEBUG]: #21 plugins/BigBrother-v1.5.0-beta-551-gcd6c4fe.phar/src/shoghicp/BigBrother/DesktopPlayer(755): pocketmine\network\mcpe\protocol\LoginPacket->handle(object pocketmine\network\mcpe\PlayerNetworkSessionAdapter)
[16:19:49] [Server thread/DEBUG]: #22 plugins/BigBrother-v1.5.0-beta-551-gcd6c4fe.phar/src/shoghicp/BigBrother/DesktopPlayer(563): shoghicp\BigBrother\DesktopPlayer->handleDataPacket(object pocketmine\network\mcpe\protocol\LoginPacket)
[16:19:49] [Server thread/DEBUG]: #23 plugins/BigBrother-v1.5.0-beta-551-gcd6c4fe.phar/src/shoghicp/BigBrother/DesktopPlayer(731): shoghicp\BigBrother\DesktopPlayer->bigBrother_authenticate(string[32] 51cfe81570b048d8af197a5e164e2c31, array[1])
[16:19:49] [Server thread/DEBUG]: #24 src/pocketmine/scheduler/AsyncPool(319): class@anonymousphar:///home/gofightnetwork/2ndserver/plugins/BigBrother-v1.5.0-beta-551-gcd6c4fe.phar/src/shoghicp/BigBrother/DesktopPlayer.php0x7f0e3e07def7->onCompletion(object pocketmine\Server)
[16:19:49] [Server thread/DEBUG]: #25 src/pocketmine/Server(2563): pocketmine\scheduler\AsyncPool->collectTasks()
[16:19:49] [Server thread/DEBUG]: #26 src/pocketmine/Server(2335): pocketmine\Server->tick()
[16:19:49] [Server thread/DEBUG]: #27 src/pocketmine/Server(2195): pocketmine\Server->tickProcessor()
[16:19:49] [Server thread/DEBUG]: #28 src/pocketmine/Server(1774): pocketmine\Server->start()
[16:19:49] [Server thread/DEBUG]: #29 src/pocketmine/PocketMine(266): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[31] /home/gofightnetwork/2ndserver/, string[39] /home/gofightnetwork/2ndserver/plugins/)
[16:19:49] [Server thread/DEBUG]: #30 (1): require(string[86] phar:///home/gofightnetwork/2ndserver/PocketMine-MP.phar/src/pocketmine/PocketMi)
[16:19:49] [Server thread/EMERGENCY]: An unrecoverable error has occurred and the server has crashed. Creating a crash dump
[16:19:49] [Server thread/EMERGENCY]: Please upload the "/home/gofightnetwork/2ndserver/crashdumps/Sun_Jun_30-16.19.49-EDT_2019.log" file to the Crash Archive and submit the link to the Bug Reporting page. Give as much info as you can.
[16:19:49] [Server thread/INFO]: Disabling MultiWorld v1.5.1-beta1
[16:19:49] [Server thread/INFO]: Disabling BigBrother v1.6.0-beta
[16:19:49] [Server thread/INFO]: Disabling VoteReward v3.0.3
[16:19:49] [Server thread/INFO]: Disabling Arrow_Hearts v1
[16:19:49] [Server thread/INFO]: Disabling StaffChat v1.1.1
[16:19:49] [Server thread/INFO]: Disabling EconomyAPI v5.7.3
[16:19:49] [Server thread/INFO]: Disabling TopVoter v3.1.0
[16:19:49] [Server thread/INFO]: Disabling InvMenu v1
[16:19:49] [Server thread/INFO]: Disabling BossBar v1.0.15
[16:19:49] [Server thread/INFO]: Disabling EssentialsPE v2.1.0
[16:19:49] [Server thread/INFO]: Disabling BuilderTools v1.1.0-beta2
[16:19:49] [Server thread/INFO]: Disabling SW_svile v0.7dev
[16:19:49] [Server thread/INFO]: Unloading world "Congo"
[16:19:49] [Server thread/INFO]: Preparing world "Congo"
[16:19:49] [Server thread/INFO]: Unloading world "Congo"
[16:19:49] [Server thread/INFO]: Preparing world "Congo"
[16:19:49] [Server thread/INFO]: Unloading world "Fossil"
[16:19:49] [Server thread/INFO]: Preparing world "Fossil"
[16:19:49] [Server thread/INFO]: Unloading world "Fossil"
[16:19:49] [Server thread/INFO]: Preparing world "Fossil"
[16:19:49] [Server thread/INFO]: Unloading world "Shire"
[16:19:49] [Server thread/INFO]: Preparing world "Shire"
[16:19:49] [Server thread/INFO]: Unloading world "Shire"
[16:19:49] [Server thread/INFO]: Preparing world "Shire"
[16:19:49] [Server thread/INFO]: Unloading world "Woodlands"
[16:19:49] [Server thread/INFO]: Preparing world "Woodlands"
[16:19:49] [Server thread/INFO]: Unloading world "Woodlands"
[16:19:49] [Server thread/INFO]: Preparing world "Woodlands"
[16:19:49] [Server thread/INFO]: Unloading world "Towers"
[16:19:49] [Server thread/INFO]: Preparing world "Towers"
[16:19:49] [Server thread/INFO]: Unloading world "Towers"
[16:19:49] [Server thread/INFO]: Preparing world "Towers"
[16:19:49] [Server thread/INFO]: Unloading world "Tribute"
[16:19:49] [Server thread/INFO]: Preparing world "Tribute"
[16:19:49] [Server thread/INFO]: Unloading world "Tribute"
[16:19:49] [Server thread/INFO]: Preparing world "Tribute"
[16:19:49] [Server thread/INFO]: Unloading world "Winterhelm"
[16:19:49] [Server thread/INFO]: Preparing world "Winterhelm"
[16:19:49] [Server thread/INFO]: Unloading world "Winterhelm"
[16:19:49] [Server thread/INFO]: Preparing world "Winterhelm"
[16:19:49] [Server thread/INFO]: Disabling ChatCensor v2.3
[16:19:49] [Server thread/INFO]: Disabling CustomAlerts v2.1
[16:19:49] [Server thread/INFO]: Disabling GoFightCore v0.1dev
[16:19:49] [Server thread/INFO]: Disabling Slapper v1.4.2
[16:19:49] [Server thread/INFO]: Disabling BlockSniper v3.2.3
[16:19:49] [Server thread/INFO]: Disabling AllAPILoader v1.0.0
[16:19:49] [Server thread/INFO]: Disabling Alias v1.2.0
[16:19:49] [Server thread/INFO]: Disabling HungerDisabler v1.0.0
[16:19:49] [Server thread/INFO]: Disabling iProtector v3.1b
[16:19:49] [Server thread/INFO]: Disabling PurePerms v1.4.1-7
[16:19:49] [Server thread/INFO]: Disabling TimeCommander v2.1
[16:19:49] [Server thread/INFO]: Disabling CoolDeath v0.0.1
[16:19:49] [Server thread/INFO]: Disabling PureChat v1.4.10-6
[16:19:49] [Server thread/INFO]: SuperminerPlays left the game
[16:19:49] [Server thread/INFO]: SuperminerPlays[/x.x.x.x.x:64542] logged out due to Server closed
[16:19:49] [Server thread/INFO]: Unloading world "golobby"
[16:19:49] [Server thread/INFO]: Unloading world "KitPvP3"
[16:19:49] [Server thread/INFO]: Unloading world "Congo"
[16:19:49] [Server thread/INFO]: Unloading world "Fossil"
[16:19:49] [Server thread/INFO]: Unloading world "Shire"
[16:19:49] [Server thread/INFO]: Unloading world "Woodlands"
[16:19:49] [Server thread/INFO]: Unloading world "Towers"
[16:19:49] [Server thread/INFO]: Unloading world "Tribute"
[16:19:49] [Server thread/INFO]: Unloading world "Winterhelm"
[16:19:49] [Server thread/CRITICAL]: InvalidStateException: "No complex data stored for this async task" (EXCEPTION) in "src/pocketmine/scheduler/AsyncTask" at line 310
[16:19:49] [Server thread/DEBUG]: #0 src/pocketmine/scheduler/AsyncTask(280): pocketmine\scheduler\AsyncTask->peekLocal()
[16:19:49] [Server thread/DEBUG]: #1 plugins/BigBrother-v1.5.0-beta-551-gcd6c4fe.phar/src/shoghicp/BigBrother/DesktopPlayer(730): pocketmine\scheduler\AsyncTask->fetchLocal()
[16:19:49] [Server thread/DEBUG]: #2 src/pocketmine/scheduler/AsyncPool(319): class@anonymousphar:///home/gofightnetwork/2ndserver/plugins/BigBrother-v1.5.0-beta-551-gcd6c4fe.phar/src/shoghicp/BigBrother/DesktopPlayer.php0x7f0e3e07def7->onCompletion(object pocketmine\Server)
[16:19:49] [Server thread/DEBUG]: #3 src/pocketmine/scheduler/AsyncPool(353): pocketmine\scheduler\AsyncPool->collectTasks()
[16:19:49] [Server thread/DEBUG]: #4 src/pocketmine/Server(2118): pocketmine\scheduler\AsyncPool->shutdown()
[16:19:49] [Server thread/DEBUG]: #5 src/pocketmine/Server(2310): pocketmine\Server->forceShutdown()
[16:19:49] [Server thread/DEBUG]: #6 src/pocketmine/Server(2238): pocketmine\Server->crashDump()
[16:19:49] [Server thread/DEBUG]: #7 src/pocketmine/Server(1776): pocketmine\Server->exceptionHandler(object ErrorException)
[16:19:49] [Server thread/DEBUG]: #8 src/pocketmine/PocketMine(266): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[31] /home/gofightnetwork/2ndserver/, string[39] /home/gofightnetwork/2ndserver/plugins/)
[16:19:49] [Server thread/DEBUG]: #9 (1): require(string[86] phar:///home/gofightnetwork/2ndserver/PocketMine-MP.phar/src/pocketmine/PocketMi)
[16:19:49] [Server thread/EMERGENCY]: Crashed while crashing, killing process
eternalharvest commented 5 years ago

@Saxavlax001 Please provide the whole log from pmmp startup, describe the procedure u did.

I was tested offline-mode with your name SuperminerPlays, and it seemd there is no problem. I can login successfully.

And, please try following command on your server and report the result (not client-side).

[user@localholst]: curl https://api.mojang.com/users/profiles/minecraft/SuperminerPlays

normal response as follows.

{"id":"51cfe81570b048d8af197a5e164e2c31","name":"SuperminerPlays"}
Saxavlax001 commented 5 years ago

Ok that seems fine:root@gofightnetwork:~# curl https://api.mojang.com/users/profiles/minecraft/SuperminerPlays {"id":"51cfe81570b048d8af197a5e164e2c31","name":"SuperminerPlays"}root@gofightneroot@gofightnetwork:~# curl https://api.mojang.com/users/profiles/minecraft/SuperminerPlays {"id":"51cfe81570b048d8af197a5e164e2c31","name":"SuperminerPlays"}

Saxavlax001 commented 5 years ago

And server.log

Saxavlax001 commented 5 years ago

When I'm trying to join with cracked mc 1.12.2 with any name it stops on logging screen and throws the error in server.log

eternalharvest commented 5 years ago

@Saxavlax001 Thank u for reporting! But it seems, strange...

I was submitted the PR which solve the one of the issue reported in ur log, and it was merged while ago. Please use latest master and try to disable all plugins except BigBrother and report the whole server log. We need to break down the issue into parts...

Saxavlax001 commented 5 years ago

server.log It still happens and without plugins.

Saxavlax001 commented 5 years ago

And I used the latest bigbrother phar file.

eternalharvest commented 5 years ago

@Saxavlax001 I wrote some patch to print debug message when http status != 200. I'm not sure why the response is empty string though, I think the patch help debugging this issue. Please try latest master and report it again!

Saxavlax001 commented 5 years ago

server.log Ok @eternalharvest look on line 1266

eternalharvest commented 5 years ago

@Saxavlax001 hmm, I understand what is the cause of this issue... because u are using username not registered to the mojang server.

Saxavlax001 commented 5 years ago

Yeah I'm using cracked mc and I have the online mode to false.

Saxavlax001 commented 5 years ago

Wait, look here: Features implemented Login (with premium account or not)

Saxavlax001 commented 5 years ago

So you should support cracked java edition minecraft.

Saxavlax001 commented 5 years ago

@eternalharvest if you can't fix it ok,I understand,but someone should fix it if you support this not premium account login.

eternalharvest commented 5 years ago

@Saxavlax001 Sorry, it's my misunderstanding about this issue...