||unity-dev|| unity error

Discussion list for Unity developers. unity-dev at moock.org
Thu Feb 14 03:17:46 CST 2008


Hi Colin,

I do not do anything special for the policy files. I tried to use your class
:

      <SERVICE>
            <ID>PolicyFileService</ID>
 
<CLASSNAME>org.moock.unity.opt.policyserver.PolicyServer</CLASSNAME>
            <ATTRIBUTES>
            <PORT>9102</PORT>
            <POLICY_FILE>policy.xml</POLICY_FILE>
            </ATTRIBUTES>
        </SERVICE>
        
But it did not change anything.

When the new flash player opens a socket connection it automatically sends a
</policy_file_request> to unity and in the log files :

2008-02-05 12:15:07,861 DEBUG - ClientServer accepted a connection.
2008-02-05 12:15:07,861 INFO  - Client 42 connected to the server from ip
192.168.1.10
2008-02-05 12:15:07,862 DEBUG - Sending to
42:<UPC><METH>upcSetClientID</METH><ARGS><ARG>42</ARG></ARGS></UPC>
2008-02-05 12:15:07,862 DEBUG - Sending to 42: 
2008-02-05 12:15:07,863 DEBUG - Client 42 received
message:<policy-file-request/>
2008-02-05 12:15:07,863 ERROR - Message from client id: 42 was not valid
UPC: XML error parsing UPC..  Ignored.
2008-02-05 12:15:07,863 ERROR - Cannot find Room null.  Message sent by
Client ID 42 ignored.
2008-02-05 12:15:07,912 INFO  - 42 is being removed: 4
2008-02-05 12:15:07,912 INFO  - Client 42 removed from server after 0
seconds.

And then :

2008-02-05 12:15:08,046 DEBUG - ClientServer accepted a connection.
2008-02-05 12:15:08,046 INFO  - Client 43 connected to the server from ip
192.168.1.10
2008-02-05 12:15:08,046 DEBUG - Sending to
43:<UPC><METH>upcSetClientID</METH><ARGS><ARG>43</ARG></ARGS></UPC>

Unity gives a ClientID, then the error, then gives another ClientID to the
same client.

I was wondering how i can make unity to respond the <policy-file-request/>
coming from new version of flash player 9. And is this kind of behaviour can
cause some problems in the unity ?





-----Original Message-----
From: unity-dev-bounces at moock.org [mailto:unity-dev-bounces at moock.org] On
Behalf Of Discussion list for Unity developers.
Sent: Thursday, February 14, 2008 6:16 AM
To: unity-dev at moock.org
Subject: Re: ||unity-dev|| unity error

hi tolga and gabriel,
it sounds like you have two separate issues. at a guess, without looking 
more deeply at your logs, we think one might be related to the way you 
are retrieving policy files (tolga) and the other might be related to 
flash player version or some other environmental change (gabriel).

so, tolga, can you please tell us how you are starting the unity server 
and policy server? probably easiest to just post the relevant sections 
of uconfig.xml. then tell us how you're trying to retrieve the policy 
file and connect to the server (please post the relevant flash client code).

gabriel, can you please try connecting to the admin with an older 
version of flash player. if you like you can even change the password 
and send me your login info off-list and i can try connecting. also, 
take a look at your server log to see if the admin connection attempt is 
reported. i tested connecting to my admin with player 9.0.59.115, and 
had no trouble. are you connecting using a local uAdmin.swf file or a 
uAdmin.swf file on a website?

note that i'll be in europe for a few weeks so i might take a little 
while to respond.

thanks,
colin


Discussion list for Unity developers. wrote:
> Hello
> 
> excuse me i'm coming back concerning this problem where without any
changes 
> server side or client side, my unity admin won't connect anymore and hang
on 
> the password checking...i'm sure the password is good, the admin indicates

> i'm connected to the server but stays stuck on home page...this happened 
> suddenly without any reason and after plenty of tries i still can't access

> the admin...does someone encountered same issue ?
> 
> Thx
> 
> gabriel
> ----- Original Message ----- 
> From: "Discussion list for Unity developers." <unity-dev at moock.org>
> To: <unity-dev at moock.org>
> Sent: Thursday, February 07, 2008 7:51 PM
> Subject: ||unity-dev|| unity error
> 
> 
>> Hi Tolga,
>>
>> The exception logged is reporting that the clients have disconnected and 
>> is
>> likely not the cause of the disconnect.  In general, the "Connection 
>> reset"
>> error means the client has disconnected abruptly.  This can occur for a
>> variety of reasons such as the user closing the browser or a firewall
>> disconnecting the connection.
>>
>> If you are experiencing a large number at the same time you should check 
>> for
>> a pattern of the ip's being disconnected vs. those that remain alive (you
>> can get this information from the log file).
>>
>> Let me know how that goes.
>>
>> Derek
>>
>> -------- Original Message --------
>> Subject: ||unity-dev|| unity error
>> Date: Wed, 6 Feb 2008 15:01:43 +0200
>> From: Discussion list for Unity developers. <unity-dev at moock.org>
>> Reply-To: unity-dev at moock.org
>> Organization: Akinon Design Studio
>> To: <unity-dev at moock.org>
>> References:
>> <c50a44520712200921h3ca0ef7aj516e2f8e37a39b3e at mail.gmail.com>
>> <d3b404550712201727p7a403d57md0c0269479a6c077 at mail.gmail.com>
>> <00ed01c868a4$a434ad20$2102a8c0
>>> @gabyfix>
>>>
>>> Hi,
>>>
>>> I have an error in unity logs, causing most of the connected clients to
>>> disconnect from the server at the same time.
>>>
>>> The error is :
>>>
>>> java.net.SocketException: Connection reset
>>>        at java.net.SocketInputStream.read(Unknown Source)
>>>        at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
>>>        at sun.nio.cs.StreamDecoder.implRead(Unknown Source)
>>>        at sun.nio.cs.StreamDecoder.read(Unknown Source)
>>>        at java.io.InputStreamReader.read(Unknown Source)
>>>        at java.io.BufferedReader.fill(Unknown Source)
>>>        at java.io.BufferedReader.read(Unknown Source)
>>>        at org.moock.unity.core.m.readLine(Unknown Source)
>>>        at org.moock.unity.core.ab.run(Unknown Source)
>>>        at java.lang.Thread.run(Unknown Source)
>>>
>>> anybody experienced this before ? what should i do ?
>>>
>>> Thanks,
>>>
>>> Tolga
>> --
>> you're a unity-dev subscriber. to unsubscribe, visit 
>> www.moock.org/mailman/listinfo/unity-dev/
>>
>> superb hosting for this list and moock.org is generously provided by 
>> Rackspace. See: http://www.rackspace.com/?supbid=moock
>>
>>
> 
> 
> 
> --
> you're a unity-dev subscriber. to unsubscribe, visit
www.moock.org/mailman/listinfo/unity-dev/
> 
> superb hosting for this list and moock.org is generously provided by
Rackspace. See: http://www.rackspace.com/?supbid=moock
--
you're a unity-dev subscriber. to unsubscribe, visit
www.moock.org/mailman/listinfo/unity-dev/

superb hosting for this list and moock.org is generously provided by
Rackspace. See: http://www.rackspace.com/?supbid=moock

No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.20.4/1277 - Release Date: 13.02.2008
20:00
 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.20.4/1277 - Release Date: 13.02.2008
20:00
 



More information about the unity-dev mailing list