Solved

Flex4/Zend/PHP : Random Disconnect

Posted on 2010-09-17
8
621 Views
Last Modified: 2012-05-10
I am randomly getting disconnect error:

"Send failed Channel.Connect.Failed error NetConnection.CallBadVersion:url "gateway.php"

I have Zend Framework(version 1.10.8) and Zend Optimizer(3.33) installed on the server.

0
Comment
Question by:Newbster
  • 4
  • 4
8 Comments
 
LVL 20

Expert Comment

by:ChristoferDutz
ID: 33702214
Seems there is/was a bug in Zend, have a look at this thread:
http://wadearnold.com/blog/flash/zend-amf-netconnection-bug-resolved-w-amf3

0
 
LVL 1

Author Comment

by:Newbster
ID: 33702766
The thing is I have the most updated version of Zend framework 1.10.8
0
 
LVL 20

Accepted Solution

by:
ChristoferDutz earned 250 total points
ID: 33705483
Hmm ... ok well it must be something else then ... unortunately this issue was the only thing I could find. If you understand German though there somebody had similar problems but he was using Zend with Flex 4 and code generated by Flash Builder.

Perhaps I can help translate:
http://www.flashforum.de/forum/flex-programmieren/flex-4-problem-mit-php-dataservices-284179.html
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
LVL 1

Author Comment

by:Newbster
ID: 33719737
thanks for the quick reply, but his issue is diffent from mine. The difference is that the application works, but like once or twice a day I would get that error. I have about 10 users max logged on to the application.
0
 
LVL 20

Expert Comment

by:ChristoferDutz
ID: 33752620
Well I know that I get some errors now and then with several projects. I guess these are sometimes related to communication errors and have nothing to do with problems in the applications (People closing browser tabs before the information was processed and therefore the response of the server could not be sent ... the Request was aborted before all data of the HTTP Request was sent, ...). Are you just trying to clean up your logs or is this a real problem?
0
 
LVL 1

Author Comment

by:Newbster
ID: 33753536
Sometime its gets bad enough that I have to reset the application pool. I do not get any errors in the event log.

I have 2 version for this application:
The old version is based on Flex->XML->PHP->MSSQL and I have never experience this issue on it.
The new version is based on Flex->Zend->PHP->MSSQL.
0
 
LVL 20

Expert Comment

by:ChristoferDutz
ID: 33753903
Well I have to admit that I have never used Zend as I'm a Java guy. I would immagine that the protocol used by communication with zend is more vulnerable against disturbances than the xml format.

You say you have to reset the application pool ... is this something like restarting the webserver to reset all applications?
0
 
LVL 1

Author Closing Comment

by:Newbster
ID: 33984737
Have not figure it out yet
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question