Page 1 of 1
0 bytes exceed allowed max length ?
Posted: 13 Nov 2007, 13:35
by Willem
When I'm testing our application with a linux-system the smartfoxserver logs the following message:
Code: Select all
Message exceed allowed max length! (0 bytes) from > /192.168.0.67
After that, the flash-client doesn't receive any data anymore and it stops.
I'm not really sure at this moment, but I thought that one possibility is something about an \r character messing things up. ?
Posted: 14 Nov 2007, 07:30
by Lapo
The server might throw this error message in the (usually unlikely) case of a malformed message.
Are you using the regular Flash API?
If so could you please turn on the debug option and check what data is being sent from the client?
thnx
Posted: 14 Nov 2007, 09:34
by Willem
Yes, we are using the standard API, the linux-client uses the same flash-application as the others.
When we enable the debug option we see the following code:
Code: Select all
[Sending]: <msg t='sys'><body action='verChk' r='0'><ver v='141' /></body></msg>
[ RECEIVED ]: <cross-domain-policy><allow-access-from domain='*' to-ports='9339' /></cross-domain-policy>, (len: 91)
After that it stops, while the windows and OSX clients proceed and receive the ApiOK element.
The linux flashplayer-version is 9.0.48.0, on windows it's 9.0.47.0
Posted: 14 Nov 2007, 09:46
by Lapo
I fear it could be the Linux Flash player. It's not the first time that we get problem with it. Unfortunately Adobe has given to the Linux player a lot less attention and there are still a good numbers of bugs lurking in it
In our experience more than 50% of the applications we tested (SFS based as well as non SFS based) worked fine, but we also saw weird behaviors at times.
Back to the issue, you might want to analyze the network the traffic between client and server to see the differences between the data sent by Windows/OS X and Linux
Posted: 15 Nov 2007, 12:27
by Willem
Ok, obvious it has something to do with the writeMultiBytes that's not correctly supported in linux.
Have you guys tried anything with encodeUriComponent to translate the messages to utf-8 and write it then with byteBuff.writeBytes ?
Posted: 15 Nov 2007, 16:56
by Lapo
Is there any official Adobe bug list talking about this specific Linux issue, I wasn't able to find anything.
We'll do a couple more tests with Linux soon.
Posted: 20 Nov 2007, 09:32
by ethereal
Lapo wrote:Is there any official Adobe bug list talking about this specific Linux issue, I wasn't able to find anything.
We'll do a couple more tests with Linux soon.
No there is nothing to find in Adobe's bug list.
And its not a problem off smartfoxserver. its the linux flash client that behaves strange.
I can 100% confirm this problem on linux clients.
It only happens with a linux flash client.
Posted: 20 Nov 2007, 10:32
by Lapo
Thanks for the infos, hope Adobe will fix this soon
Posted: 22 Nov 2007, 09:48
by mlts
This problem is fixed in last version LNX 9,0,60,235
Download from here :
http://labs.adobe.com/downloads/flashplayer9.html
Cheers.
Posted: 22 Nov 2007, 10:06
by Lapo
great news
thanks
Posted: 22 Nov 2007, 13:14
by Willem
Confirming:
RPM package fixes problems on Fedora,
Shared Object from the tar.gz package can be installed easily on (K)Ubuntu in the ~/.mozilla-folder.
Still some strange issues with custom context-menu's, but that's another story
