I'm not sure if this is a bug or something security related. But with the flash player 10.0.12.36 running under linux and the latest AS3 API the client won't connect to the server. Same client works without problems on windows/mac machines.
server 1.6.3 is running on a remote linux machine (default settings), client is also running from a remote site.
I placed some trace statements in my code to narrow down the problem:
on windows:
Code: Select all
load config.xml
success
connect ip=xx.xx.xxx.xx, port=9339
[Event type="connect" bubbles=false cancelable=false eventPhase=2]
[Sending]: <msg t='sys'><body action='verChk' r='0'><ver v='156' /></body></msg>
[ProgressEvent type="socketData" bubbles=false cancelable=false eventPhase=2 bytesLoaded=92 bytesTotal=0]
[ RECEIVED ]: <cross-domain-policy><allow-access-from domain='*' to-ports='9339' /></cross-domain-policy>, (len: 91)
[ProgressEvent type="socketData" bubbles=false cancelable=false eventPhase=2 bytesLoaded=54 bytesTotal=0]
[ RECEIVED ]: <msg t='sys'><body action='apiOK' r='0'></body></msg>, (len: 53)
'sys', 'apiOK'
on ubuntu:
Code: Select all
load config.xml
success
connect ip=xx.xx.xxx.xx, port=9339
[Event type="connect" bubbles=false cancelable=false eventPhase=2]
[Sending]: <msg t='sys'><body action='verChk' r='0'><ver v='156' /></body></msg>
[ProgressEvent type="socketData" bubbles=false cancelable=false eventPhase=2 bytesLoaded=92 bytesTotal=0]
[ RECEIVED ]: <cross-domain-policy><allow-access-from domain='*' to-ports='9339' /></cross-domain-policy>, (len: 91)
[Event type="close" bubbles=false cancelable=false eventPhase=2]best,
michael