{"action":"created","issue":{"url":"https://api.github.com/repos/iTXTech/Genisys/issues/171","repository_url":"https://api.github.com/repos/iTXTech/Genisys","labels_url":"https://api.github.com/repos/iTXTech/Genisys/issues/171/labels{/name}","comments_url":"https://api.github.com/repos/iTXTech/Genisys/issues/171/comments","events_url":"https://api.github.com/repos/iTXTech/Genisys/issues/171/events","html_url":"https://github.com/iTXTech/Genisys/issues/171","id":128883914,"number":171,"title":"Network Problem when Port Forwarding under PHP7","user":{"login":"markkrueg","id":12489897,"avatar_url":"https://avatars.githubusercontent.com/u/12489897?v=3","gravatar_id":"","url":"https://api.github.com/users/markkrueg","html_url":"https://github.com/markkrueg","followers_url":"https://api.github.com/users/markkrueg/followers","following_url":"https://api.github.com/users/markkrueg/following{/other_user}","gists_url":"https://api.github.com/users/markkrueg/gists{/gist_id}","starred_url":"https://api.github.com/users/markkrueg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markkrueg/subscriptions","organizations_url":"https://api.github.com/users/markkrueg/orgs","repos_url":"https://api.github.com/users/markkrueg/repos","events_url":"https://api.github.com/users/markkrueg/events{/privacy}","received_events_url":"https://api.github.com/users/markkrueg/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/iTXTech/Genisys/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/iTXTech/Genisys/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"closed","locked":false,"assignee":{"login":"PeratX","id":13656668,"avatar_url":"https://avatars.githubusercontent.com/u/13656668?v=3","gravatar_id":"","url":"https://api.github.com/users/PeratX","html_url":"https://github.com/PeratX","followers_url":"https://api.github.com/users/PeratX/followers","following_url":"https://api.github.com/users/PeratX/following{/other_user}","gists_url":"https://api.github.com/users/PeratX/gists{/gist_id}","starred_url":"https://api.github.com/users/PeratX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeratX/subscriptions","organizations_url":"https://api.github.com/users/PeratX/orgs","repos_url":"https://api.github.com/users/PeratX/repos","events_url":"https://api.github.com/users/PeratX/events{/privacy}","received_events_url":"https://api.github.com/users/PeratX/received_events","type":"User","site_admin":false},"milestone":null,"comments":17,"created_at":"2016-01-26T17:17:54Z","updated_at":"2016-02-07T15:32:50Z","closed_at":"2016-01-27T04:17:52Z","body":"I've spent a number of hours troubleshooting a network problem with Genisys running under PHP7. \r\n\r\nSteps to reproduce:\r\n1) Compile current PHP7 using PeratX script\r\n2) Install current build of Genisys (currently testing #36)\r\n3) Start Genisys and choose default settings\r\n4) Set up Port Forwarding on your firewall to forward external port 19132 to your internal IP address port 19132 using UDP only.\r\n5) Connect to Genisys using an iOS or Android device running MCPE 0.13.1 on your local LAN. Success!\r\n6) Connect again from outside your LAN (the Internet) using your external IP address. Able to see server with correct name and player count. Fails with \"Unable to connect to world.\"\r\n\r\nI have swapped out PHP7/Genisys with a known working build of PHP5/PocketMine-MP on the same machine and step 6 then works fine. I have confirmed with two completely different firewalls on two different networks.\r\n\r\nMy only theory left is that something strange is going on with the network code in the current version of Genisys. I know as a fact that a previous version of PHP7/Genisys was working; but I am having trouble finding the exact combination.\r\n\r\nWould someone please run the above test to confirm this issue?\r\n\r\nTested under \r\n- Ubuntu Server 14.04.3 LTS \r\n  - PeratX Script Compiled PHP7 and #36 fails\r\n  - PHP5/PocketMine-MP works fine on same system\r\n- OS X El Capitan 10.11.2\r\n  - PeratX Script Compiled PHP7 and #36 fails\r\n  - PHP5/PocketMine-MP works fine on same system\r\n- Windows 10\r\n  - I have confirmed that Windows 10 with the Genisys PHP binary and Build #36 does NOT have this problem.\r\n\r\nMy PHP7 Ubuntu build:\r\n```\r\nbash ./compile.sh -t linux64 -j 2 -c -f x86_64\r\n[PocketMine] PHP compiler for Linux, MacOS and Android\r\n[INFO] Checking dependecies\r\n[opt] Set target to linux64\r\n[opt] Set make threads to 2\r\n[opt] Will force compile cURL\r\n[opt] Enabling abusive optimizations...\r\n[INFO] Compiling for Linux x86_64\r\n[PHP] downloading 7.0.2... done!\r\n[zlib] downloading 1.2.8... checking... compiling... installing... cleaning... done!\r\n[mcrypt] downloading 2.5.8... checking... compiling... installing... cleaning... done!\r\n[GMP] downloading 6.1.0... checking... compiling... installing... cleaning... done!\r\n[mbed TLS] downloading 2.2.0... checking... compiling... installing... cleaning... done!\r\n[cURL] downloading curl-7_46_0... checking... compiling... installing... cleaning... done!\r\n[YAML] downloading 0.1.6... checking... compiling... installing... cleaning... done!\r\n[libpng] downloading 1.6.20... checking... compiling... installing... cleaning... done!\r\n[PHP pthreads] downloading 3.1.5... done!\r\n[PHP Weakref] downloading 0.3.2... done!\r\n[PHP YAML] downloading 2.0.0RC6... done!\r\n[PHP] enabling optimizations... checking... compiling... installing... generating php.ini... done!\r\n[INFO] Cleaning up... done!\r\n[PocketMine] You should start the server now using \"./start.sh.\"\r\n[PocketMine] If it doesn't work, please send the \"install.log\" file to the Bug Tracker.\r\n```"},"comment":{"url":"https://api.github.com/repos/iTXTech/Genisys/issues/comments/181033249","html_url":"https://github.com/iTXTech/Genisys/issues/171#issuecomment-181033249","issue_url":"https://api.github.com/repos/iTXTech/Genisys/issues/171","id":181033249,"user":{"login":"PeratX","id":13656668,"avatar_url":"https://avatars.githubusercontent.com/u/13656668?v=3","gravatar_id":"","url":"https://api.github.com/users/PeratX","html_url":"https://github.com/PeratX","followers_url":"https://api.github.com/users/PeratX/followers","following_url":"https://api.github.com/users/PeratX/following{/other_user}","gists_url":"https://api.github.com/users/PeratX/gists{/gist_id}","starred_url":"https://api.github.com/users/PeratX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeratX/subscriptions","organizations_url":"https://api.github.com/users/PeratX/orgs","repos_url":"https://api.github.com/users/PeratX/repos","events_url":"https://api.github.com/users/PeratX/events{/privacy}","received_events_url":"https://api.github.com/users/PeratX/received_events","type":"User","site_admin":false},"created_at":"2016-02-07T15:32:50Z","updated_at":"2016-02-07T15:32:50Z","body":"Can you join the server through the external network?"}}