Solved

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

Posted on 2011-02-17
3
1,354 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 20

Accepted Solution

by:
ChristoferDutz earned 500 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 500 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

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

First things first - Preparation We need all the part for this install and it's much nicer to have them all on hand when you need them so here's what's required. Download Eclipse 3.5 32 bit (I like the Classic flavour) from here. (http://www.e…
Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

617 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