Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

adobe flex 3.0 | NetConnection.Call.Failed: HTTP: Failed: url: "https://xxx/amf/"

Posted on 2011-02-17
3
Medium Priority
?
1,389 Views
Last Modified: 2013-11-11
1) We are getting this exception sporadically in our application. NetConnection.Call.Failed: HTTP: Failed: url: "https://xxx/amf/" What could be the reason for this exception??
 
2) I have defined the endpoint while compiling the swf as:
 
"https://xxx/amf/" - secure
 
and
 
defined in the services-config file in server side as:
 
<channel-definition id="xxx" class="mx.messaging.channels.AMFChannel">
            <endpoint url="http://xxx/amf/" class="flex.messaging.endpoints.AMFEndpoint"/> --> non secure url          
</channel-definition>
 
Is there any possibility the amf calls from client will make it to the server??
0
Comment
Question by:rhkh
  • 2
3 Comments
 
LVL 20

Accepted Solution

by:
ChristoferDutz earned 2000 total points
ID: 34925135
When using HTTPS you should use the SecureAMFChannel and SecureAMFEndpoint
Here's an adjusted version we are using:
<channel-definition id="xxx" class="mx.messaging.channels.SecureAMFChannel">
            <endpoint url="https://xxx/amf/" class="flex.messaging.endpoints.SecureAMFEndpoint"/>
</channel-definition>

Open in new window


If you want to use http and https you have to define 2 urls:
http://xxx/amf/
https://xxx/amfsec/
0
 

Author Comment

by:rhkh
ID: 34926338
My second question was answered.

Please answer the following question.

1) We are getting this exception sporadically in our application. NetConnection.Call.Failed: HTTP: Failed: url: "https://xxx/amf/

What could be the reasons for this exception??

0
 
LVL 20

Assisted Solution

by:ChristoferDutz
ChristoferDutz earned 2000 total points
ID: 34926375
Well I assume that the client wasn't able to connect to the server. The reason for this can be pretty much everything. Problems with the network connection, problems with the server. If you are using Streaming Connections you simply might be running out of Threads on the Server.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
Suggested Courses

927 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