Re: CF8, Flex, and Remoting over SSL
On Tuesday 16 Oct 2007, [EMAIL PROTECTED] wrote: > Damned IE. That was my next question :-) -- Tom Chiverton. Are you a great ColdFusion programmer, who knows Reactor and ColdSpring, and has done some Flex work ? Would you like to work for a top 30 law firm in Manchester, UK ? Are not an agency ? If yes, send email ! This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291194 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF8, Flex, and Remoting over SSL
Problem solved: http://kb.adobe.com/selfservice/viewContent.do?externalId=kb401472 Damned IE. On 10/16/07, Rick Root <[EMAIL PROTECTED]> wrote: > Oh hell, this seems to be an IE problem. What the heck? > > It works fine in Firefox. > > On 10/16/07, Rick Root <[EMAIL PROTECTED]> wrote: > > On 10/16/07, Tom Chiverton <[EMAIL PROTECTED]> wrote: > > > On Monday 15 Oct 2007, [EMAIL PROTECTED] wrote: > > > > destination = null > > > > > > I'm fairly sure that should have the value of the destination in. > > > Could you post the server's services-config, the services-config the MXML > > > was > > > compiled with, and your MXML code ? > > > > You'd think, wouldn't you? > > > > http://www.it.dev.duke.edu/public/services-config.xml > > http://www.it.dev.duke.edu/public/remoting-config.xml > > > > And the MXML (this is for the very first remote object call that the app > > uses): > > > > > source="components.authorization.Authorize" showBusyCursor="true"> > > > result="checkAuthResult(event);"/> > > > > > > Rick > > > > > > -- > > Rick Root > > Check out CFMBB, BlogCFM, ImageCFC, ImapCFC, CFFM, and more at > > www.opensourcecf.com > > > > > -- > Rick Root > Check out CFMBB, BlogCFM, ImageCFC, ImapCFC, CFFM, and more at > www.opensourcecf.com > -- Rick Root Check out CFMBB, BlogCFM, ImageCFC, ImapCFC, CFFM, and more at www.opensourcecf.com ~| Get the answers you are looking for on the ColdFusion Labs Forum direct from active programmers and developers. http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291190 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF8, Flex, and Remoting over SSL
Oh hell, this seems to be an IE problem. What the heck? It works fine in Firefox. On 10/16/07, Rick Root <[EMAIL PROTECTED]> wrote: > On 10/16/07, Tom Chiverton <[EMAIL PROTECTED]> wrote: > > On Monday 15 Oct 2007, [EMAIL PROTECTED] wrote: > > > destination = null > > > > I'm fairly sure that should have the value of the destination in. > > Could you post the server's services-config, the services-config the MXML > > was > > compiled with, and your MXML code ? > > You'd think, wouldn't you? > > http://www.it.dev.duke.edu/public/services-config.xml > http://www.it.dev.duke.edu/public/remoting-config.xml > > And the MXML (this is for the very first remote object call that the app > uses): > > source="components.authorization.Authorize" showBusyCursor="true"> > result="checkAuthResult(event);"/> > > > Rick > > > -- > Rick Root > Check out CFMBB, BlogCFM, ImageCFC, ImapCFC, CFFM, and more at > www.opensourcecf.com > -- Rick Root Check out CFMBB, BlogCFM, ImageCFC, ImapCFC, CFFM, and more at www.opensourcecf.com ~| Check out the new features and enhancements in the latest product release - download the "What's New PDF" now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291189 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF8, Flex, and Remoting over SSL
On 10/16/07, Tom Chiverton <[EMAIL PROTECTED]> wrote: > On Monday 15 Oct 2007, [EMAIL PROTECTED] wrote: > > destination = null > > I'm fairly sure that should have the value of the destination in. > Could you post the server's services-config, the services-config the MXML was > compiled with, and your MXML code ? You'd think, wouldn't you? http://www.it.dev.duke.edu/public/services-config.xml http://www.it.dev.duke.edu/public/remoting-config.xml And the MXML (this is for the very first remote object call that the app uses): Rick -- Rick Root Check out CFMBB, BlogCFM, ImageCFC, ImapCFC, CFFM, and more at www.opensourcecf.com ~| Check out the new features and enhancements in the latest product release - download the "What's New PDF" now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291186 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF8, Flex, and Remoting over SSL
On Monday 15 Oct 2007, [EMAIL PROTECTED] wrote: > destination = null I'm fairly sure that should have the value of the destination in. Could you post the server's services-config, the services-config the MXML was compiled with, and your MXML code ? -- Tom Chiverton. Are you a great ColdFusion programmer, who knows Reactor and ColdSpring, and has done some Flex work ? Would you like to work for a top 30 law firm in Manchester, UK ? Are not an agency ? If yes, send email ! This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| ColdFusion is delivering applications solutions at at top companies around the world in government. Find out how and where now http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291177 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF8, Flex, and Remoting over SSL
On 10/4/07, Tom Chiverton <[EMAIL PROTECTED]> wrote: > On Thursday 04 Oct 2007, [EMAIL PROTECTED] wrote: > > On 10/4/07, Tom Chiverton <[EMAIL PROTECTED]> wrote: > > > On Thursday 04 Oct 2007, [EMAIL PROTECTED] wrote: > > > > Content-Length: 331 > > > > > > What the content here say ? > > > > Fiddler doesn't decode AMF content... When I highlight the hex > > content, it says the length is 331... so that must be it :) > > If you set the logging in services-config.xml to level="Debug" does the CF log > indicate it sent stuff back ? I finally got around to doing this... what I did so as not to break my other applications was set up a second destination called ColdfusionSSL, which used the my-cfamf-secure channel. I verified that https://advanceweb.ads.duke.edu/flex2gateway/cfamfsecure answers. I set the flex debug level to "Debug" and got the following output: This is generated by a VERY simple call to a very simple method called checkAuth() - all it does is check for the existence of a cookie, and return true or false. I don't know what any of this logging means. [Flex] FlexSession created with id 'a430990913ea13bb4ad595c1936a7a554258TR' for an Http-based client connection. [Flex] Channel endpoint my-cfamf-secure received request. [Flex] Deserializing AMF/HTTP request Version: 3 (Message #0 targetURI=null, responseURI=/1) (Array #0) [0] = (Typed Object #0 'flex.messaging.messages.CommandMessage') operation = 5 correlationId = "" messageId = "987088B3-4172-5E89-C9BA-A5C58325ABE9" body = (Object #1) clientId = null timeToLive = 0 headers = (Object #2) DSId = "nil" timestamp = 0 destination = "" [Flex] Executed command: (default service) commandMessage: Flex Message (flex.messaging.messages.CommandMessage) operation = client_ping clientId = D9B7365E-821B-0933-EB49-0778BC185020 correlationId = destination = messageId = 987088B3-4172-5E89-C9BA-A5C58325ABE9 timestamp = 1192487125922 timeToLive = 0 body = {} hdr(DSId) = nil hdr(DSEndpoint) = my-cfamf-secure replyMessage: Flex Message (flex.messaging.messages.AcknowledgeMessage) clientId = D9B7365E-821B-0933-EB49-0778BC185020 correlationId = 987088B3-4172-5E89-C9BA-A5C58325ABE9 destination = null messageId = D9B7365E-822E-51FF-4E91-C20D589B541F timestamp = 1192487125922 timeToLive = 0 body = null hdr(DSId) = D9B7365E-820A-23DC-E6BB-A423E671BF99 [Flex] Serializing AMF/HTTP response Version: 3 (Message #0 targetURI=/1/onResult, responseURI=) (Typed Object #0 'flex.messaging.messages.AcknowledgeMessage') timestamp = 1.192487125922E12 headers = (Object #1) DSId = "D9B7365E-820A-23DC-E6BB-A423E671BF99" body = null correlationId = "987088B3-4172-5E89-C9BA-A5C58325ABE9" messageId = "D9B7365E-822E-51FF-4E91-C20D589B541F" timeToLive = 0.0 clientId = "D9B7365E-821B-0933-EB49-0778BC185020" destination = null -- Rick Root Check out CFMBB, BlogCFM, ImageCFC, ImapCFC, CFFM, and more at www.opensourcecf.com ~| Check out the new features and enhancements in the latest product release - download the "What's New PDF" now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:291159 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF8, Flex, and Remoting over SSL
On Thursday 04 Oct 2007, [EMAIL PROTECTED] wrote: > On 10/4/07, Tom Chiverton <[EMAIL PROTECTED]> wrote: > > On Thursday 04 Oct 2007, [EMAIL PROTECTED] wrote: > > > Content-Length: 331 > > > > What the content here say ? > > Fiddler doesn't decode AMF content... When I highlight the hex > content, it says the length is 331... so that must be it :) If you set the logging in services-config.xml to level="Debug" does the CF log indicate it sent stuff back ? -- Tom Chiverton Helping to simultaneously restore plug-and-play ROI on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290198 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CF8, Flex, and Remoting over SSL
On 10/4/07, Tom Chiverton <[EMAIL PROTECTED]> wrote: > On Thursday 04 Oct 2007, [EMAIL PROTECTED] wrote: > > Content-Length: 331 > > What the content here say ? Fiddler doesn't decode AMF content... When I highlight the hex content, it says the length is 331... so that must be it :) -- Rick Root Check out CFMBB, BlogCFM, ImageCFC, ImapCFC, CFFM, and more at www.opensourcecf.com ~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290196 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: CF8, Flex, and Remoting over SSL
On Thursday 04 Oct 2007, [EMAIL PROTECTED] wrote: > Content-Length: 331 What the content here say ? -- Tom Chiverton Helping to interactively syndicate sticky meta-services on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. ~| Create robust enterprise, web RIAs. Upgrade to ColdFusion 8 and integrate with Adobe Flex http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290191 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
CF8, Flex, and Remoting over SSL
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 ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:290181 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4