Solved

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

Posted on 2011-02-17
3
1,333 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

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…
There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
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…

762 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