(cross-posted from cf-talk)

So I upgraded my server to CF8 this weekend, and of course once again,
all my flex remoting calls are going over http instead of https.

so I went into the remoting-config.xml (apparently this is where the
destination "Coldfusion" is now defined... and I changed the default
channel to "my-cfamf-secure" - a channel that is predefined in CF8's
services-config.xml file

I restarted the CF instances and recompiled my flex app... only now
the attempted remoting request goes to
https://advanceweb.ads.duke.edu/flex2gateway/cfamfsecure - as defined
in services-config.xml

This causes the following error:

Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Failed:
url: 'https://advanceweb.ads.duke.edu/flex2gateway/cfamfsecure'

The raw post (as seen by Fiddler2):

POST /flex2gateway/cfamfsecure HTTP/1.1
Accept: */*
Accept-Language: en-US
Referer: https://advanceweb.ads.duke.edu/Enquire/Enquire.swf
x-flash-version: 9,0,60,120
Content-Type: application/x-amf
Content-Length: 223
UA-CPU: x86
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET
CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2)
Host: advanceweb.ads.duke.edu
Connection: Keep-Alive
Cache-Control: no-cache
Cookie: CFID=xxx; CFTOKEN=xxx; FLASHCOOKIE=xxx; JSESSIONID=xxx;
CFID=xxx; CFTOKEN=xxx; FLASHCOOKIE=xxx

The raw response from the server:

HTTP/1.1 200 OK
Date: Thu, 04 Oct 2007 14:17:55 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
Expires: Sat, 25 Dec 1999 00:00:00 GMT
Cache-Control: no-cache
Content-Type: application/x-amf
Content-Length: 331

There's no indication of an error - the response is status 200... but
the method I'm calling is never called.

In CF7, since I want *ALL* remoting requests to go over ssl, I just
modified the my-cfamf endpoint to use SSL, without changing the
default channel used or anything like that for the "Coldfusion"
destination.  I tried that in CF8 also with the broken results.

How do I get my Flex remoting to work over SSL?


-- 
Rick Root
Check out CFMBB, BlogCFM, ImageCFC, ImapCFC, CFFM, and more at
www.opensourcecf.com

Reply via email to