Forum General Error Joining Room:

Any issues or discussions relating to Unity development are welcome here.

Error Joining Room:

Postby tomoprime » January 10th, 2012, 10:44 pm

Hi I updated my Client code and Server code to the new player.io v2.3 release but what used work is now giving me some issues connecting to my local development server. You may want to note in the update notes to add a parterid of null in the connect string for Unity users.

[client side error]
Error Joining Room: PlayerIOClient.PlayerIOError: GeneralError; Unable to connect, errorcode=AccessDenied...

[server side error]
[16:23:15] Starting Development Server (v2.3.0.0)
[16:23:15] PolicyServer Error: Unable to start Flash policy server on port 843. Details: Access denied (Local Endpoint: 0.0.0.0:843)
[16:23:15] PolicyServer Error: Unable to start Silverlight policy server on port 943. Details: Access denied (Local Endpoint: 0.0.0.0:943)
[16:23:16] Server started. Logged in with account: tomoprime
[16:23:16]
[16:23:16] Trying last loaded dll
[16:23:16]
[16:23:16] Using Game Dll: newGame.dll
[16:23:16] ========================
[16:23:16] (dll: /Users/Tomo/Downloads/Player-2.3/Flash/NewGame/Serverside Code/Player.IO Test Server Project/bin/Debug/newGame.dll)

The odd thing about this error is that I don't recall getting a pop up window. I may have logged in once before though. I'm using MonoDevelop running the executable as Mono 2.10.6 on Mac (which used to connect ok). The Admin panel of GameServers shows my tomoprime: Development Cluster (1 server) as up but I am unable to connect to it. Does my dev cluster need to be Live just to interact with it locally? I wish the Unity Client gave more detail in the error message...
tomoprime
 
Posts: 12
Joined: February 6th, 2011, 12:55 am

Re: Error Joining Room:

Postby Benjaminsen » January 11th, 2012, 2:54 pm

There is quite a few things that can result in this error. Thus can I get you to try the following things?

0: restart... yea it sounds cliche, but it sometimes work.

1: Verify that nothing is using that port already. Quickest way to do this is by running netstat -a -o -n in a console. If there is something listening to the port, compare the PID with the ones from your task manager to see what is blocking the application. (Skype has a tendency to listen to both ports for instance)

2: Verify that the application is allowed to listen to the ports in your firewall software. With windows firewall you can add the application to the allowed list or simply whitelist the two ports.

3: Try disabling IPv6 on your computer. We have seen some cases where IPv6 conflicted with the IPv4 instance

4: Got several network cards / connections? Try disabling one of them

5: If all of the above fails, post here so we can continue the debugging :)
Benjaminsen
.IO
 
Posts: 1444
Joined: January 12th, 2010, 11:54 am
Location: Denmark

Re: Error Joining Room:

Postby tomoprime » January 11th, 2012, 6:39 pm

Hi Ben
It's been a while since I've seen you on chat :P

0 - check

1- I had used lsof to see if something was using the ports...

I looked up ports 8184, 843, and 943...

The only thing I noticed was an occasional packet sent out from Unity on port 843.
Tomo$ lsof -i|grep :843
Unity 811 Tomo 29u IPv4 0xffffff8019449880 0t0 TCP localhost:50668->localhost:843 (SYN_SENT)

2- Firewall software is disabled - check. I use Skype but it was turned off in this case. I'm based in NY.

3-Disable IPv6. That's a bit extreme. Was this an intermittent problem for past users ? Playerio was working and just stopped for me in the middle of development. Nothing changed on my system as far as I could tell.

4- I'm working on a Mac Air. So no extra cards. I did have VirtualBox running Windows XP though which used to run playerio 2.2.8. I had shut this down to run playerio 2.3 on Monodevlop to spare me the extra ram and further simplify my dev server connection as "localhost".

UPDATE: I just fired up VirtualBox on my Mac Air to run the older 2.2.8.0 Dev Server in MS Visual Studio and my Unity Client which has the newer 2.3 DLL is able to connect to it... It seems the Dev Server connect issue is exclusive to MonoDevelop running PlayerIO v2.3 on Mac. I should also note that I only run Unity 3.4.2f2 Pro/Android/iOS on Mac OS Lion.
tomoprime
 
Posts: 12
Joined: February 6th, 2011, 12:55 am

Re: Error Joining Room:

Postby Benjaminsen » January 12th, 2012, 11:24 am

Oh! You are in monodevelop!

I actually had the same issue as you are describing in mono develop myself, updating to the newest stable version of mono & monodevelop and rebooting the machine worked for me.

/Chris
Benjaminsen
.IO
 
Posts: 1444
Joined: January 12th, 2010, 11:54 am
Location: Denmark

Re: Error Joining Room:

Postby tomoprime » January 13th, 2012, 3:56 am

Didn't I mentioned that in my 1st post?
I'm using MonoDevelop running the executable as Mono 2.10.6 on Mac

I updated Mono to 2.10.8 and still no change. I didn't update MonoDevelop as it breaks the Unity install.
tomoprime
 
Posts: 12
Joined: February 6th, 2011, 12:55 am

Re: Error Joining Room:

Postby Benjaminsen » January 13th, 2012, 12:58 pm

tomoprime wrote:Didn't I mentioned that in my 1st post?
I'm using MonoDevelop running the executable as Mono 2.10.6 on Mac

I updated Mono to 2.10.8 and still no change. I didn't update MonoDevelop as it breaks the Unity install.


Mmm that's bad. Can you add me to Skype? my handle is "q-rious" then we can do a bit of live debugging.
Benjaminsen
.IO
 
Posts: 1444
Joined: January 12th, 2010, 11:54 am
Location: Denmark

Re: Error Joining Room:

Postby Benjaminsen » January 17th, 2012, 5:02 pm

Just a quick update, we can now replicate the error reliable allowing us to debug and fix it shortly. Stay tuned!
Benjaminsen
.IO
 
Posts: 1444
Joined: January 12th, 2010, 11:54 am
Location: Denmark

Re: Error Joining Room:

Postby capitaljmedia » February 24th, 2012, 11:53 pm

Hey guys, any update on this error?

I am also trying to use Monodevelop on OS X, but getting the error that Mono / .NET 4.0 is not installed, but I just installed the latest version of Mono, do I still have to get .Net separately?

-JJ
capitaljmedia
 
Posts: 29
Joined: September 13th, 2011, 2:33 am

Re: Error Joining Room:

Postby prsolucoes » September 19th, 2012, 6:47 pm

I have the same problem on Mac and Mono Last Version.

Any solutions?
prsolucoes
 
Posts: 47
Joined: March 18th, 2010, 3:20 pm

Re: Error Joining Room:

Postby dreamora » September 19th, 2012, 7:18 pm

No problem here on the latest MonoDevelop 3.x with all the latest updates.

didn't do anything specific to get it to work but also ensure to not modify the configuration to force it to show gui just in case.
What though does not work on my box and that since the latest 2 releases is the debug connection
dreamora
 
Posts: 225
Joined: March 2nd, 2012, 9:58 am

Re: Error Joining Room:

Postby prsolucoes » September 19th, 2012, 7:48 pm

My log:

Loaded assembly: /Users/paulo/Downloads/Player.IO DevPack.Qd6XbZn_LlrO_t-EimmFEA/Flash/NewGame/Serverside Code/Player.IO Test Server Project/bin/Debug/Test Server.exe
Loaded assembly: /Users/paulo/Downloads/Player.IO DevPack.Qd6XbZn_LlrO_t-EimmFEA/Flash/NewGame/Serverside Code/Player.IO Test Server Project/bin/Debug/Player.IO Development Server.exe [External]
Loaded assembly: /Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/gac/System.Configuration/4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll [External]
Loaded assembly: /Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll [External]
Loaded assembly: /Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/gac/System.Xml/4.0.0.0__b77a5c561934e089/System.Xml.dll [External]
Loaded assembly: /Users/paulo/Downloads/Player.IO DevPack.Qd6XbZn_LlrO_t-EimmFEA/Flash/NewGame/Serverside Code/Player.IO Test Server Project/bin/Debug/Player.IO GameLibrary.dll [External]
Thread started:
Thread started:
[15:42:25] Starting Development Server (v2.3.4.0)
Thread started:
Thread started:
Thread started:
Thread started:
Thread started:
Loaded assembly: /Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/gac/System.Core/4.0.0.0__b77a5c561934e089/System.Core.dll [External]
[15:42:25] PolicyServer Error: Unable to start Flash policy server on port 843. Details: Access denied (Local Endpoint: 0.0.0.0:843)
[15:42:25] PolicyServer Error: Unable to start Silverlight policy server on port 943. Details: Access denied (Local Endpoint: 0.0.0.0:943)
Loaded assembly: /Library/Frameworks/Mono.framework/Versions/2.10.9/lib/mono/gac/Mono.Security/4.0.0.0__0738eb9f132ed756/Mono.Security.dll [External]
[15:42:26] Server started. Logged in with account: prsolucoes
Thread started:
Thread started:
Loaded assembly: /private/var/folders/dM/dMoLfHMSH9aZbZ+X07D3VE+++TI/-Tmp-/tempgame-8446842fba0a423194ee4a908e690aa0.dll
[15:42:28]
[15:42:28] Trying last loaded dll
[15:42:28]
[15:42:28] Using Game Dll: newGame.dll
[15:42:28] ========================
[15:42:28] (dll: /Users/paulo/Downloads/Player.IO DevPack.Qd6XbZn_LlrO_t-EimmFEA/Flash/NewGame/Serverside Code/Player.IO Test Server Project/bin/Debug/newGame.dll)


I try make a telnet connection, but connection is refused.
In netstat it is not listed.

So, it is not really open.
prsolucoes
 
Posts: 47
Joined: March 18th, 2010, 3:20 pm

Re: Error Joining Room:

Postby Coneman » October 31st, 2012, 1:41 am

So is everyone else having problems running playerIO with MonoDevelop? I'm just starting out with Player IO and can't get any of the serverside code working in Mono.

On the same note, it would be nice if someone at least mentioned in the documentation that playerIO doesn't work so hot on a Mac without work-arounds. That would be nice :)
Coneman
 
Posts: 1
Joined: October 28th, 2012, 1:33 am

Re: Error Joining Room:

Postby prsolucoes » October 31st, 2012, 2:15 am

I have problems when start the application using mono develop, application dont have permission do open ports, but if i execute on mac terminal:

sudo mono TestServer.exe


It works.

If i open MonoDvelop with sudo, it still not working. Only works when i start server from terminal with sudo.

PlayerIO Server o Mac still with problems.

Log on MonoDevelop when start:

[23:17:54] Starting Development Server (v2.3.4.0)
[23:17:55] PolicyServer Error: Unable to start Flash policy server on port 843. Details: Access denied (Local Endpoint: 0.0.0.0:843)
[23:17:55] PolicyServer Error: Unable to start Silverlight policy server on port 943. Details: Access denied (Local Endpoint: 0.0.0.0:943)
[23:17:55] Server started. Logged in with account: prsolucoes
[23:17:55]
[23:17:55] Trying last loaded dll
[23:17:55]
[23:17:55] Using Game Dll: IOArena.dll
[23:17:55] ========================
[23:17:55] (dll: /Users/paulo/Pessoal/workspaces/flash_builder_4_7/IOArena/server/Serverside Code/Player.IO Test Server Project/bin/Debug/IOArena.dll)
prsolucoes
 
Posts: 47
Joined: March 18th, 2010, 3:20 pm

Re: Error Joining Room:

Postby mJackAdmin » June 28th, 2014, 12:37 am

REALLY AFTER ALL THAT THERE IS NO SOLUTION??
mJackAdmin
 
Posts: 4
Joined: June 25th, 2014, 9:43 pm

Re: Error Joining Room:

Postby deadbug » November 5th, 2014, 8:58 pm

Has anyone made any progress with this?

It works from terminal with "sudo mono Tester.exe" (although not ideal) but when I exit with control-z it won't start again unless I reboot. Making it an unusable option. Is there another way to exit more cleanly so the ports get cleared?
deadbug
 
Posts: 35
Joined: November 1st, 2011, 1:35 am

Re: Error Joining Room:

Postby deadbug » November 5th, 2014, 11:09 pm

Found a way to reset the ports through terminal.

sudo killall mono
deadbug
 
Posts: 35
Joined: November 1st, 2011, 1:35 am

Re: Error Joining Room:

Postby JimLion » November 6th, 2014, 1:58 am

Wow, I am impressed that you got it working!! I'll have to try this. I had given up with mono and have between running a VMware fusion windows box with visual studio and adobe's creative cloud programs.
JimLion
 
Posts: 73
Joined: June 17th, 2014, 3:35 am


Return to General



cron