RE: [flexcoders] Remote calls are not happening using blazeDS in secured environment
You need to use a SecureAMFChannel to interact with a SecureAMFEndpoint. It’s not clear from your emails why the server is receiving HTTP requests rather than HTTPS requests. If you’re using a SecureAMFChannel on the client, its requests will be sent via HTTPS. If you have something in front of your server that’s handling HTTPS (say a hardware SSL accelerator) that passes insecure HTTP requests back to the server, you need to mix and match a secure channel class for the hop from the client to the SSL appliance, with an insecure endpoint for the hop from the SSL appliance to the app server. The config for this would be something like: channel-definition id=secure-amf class=mx.messaging.channels.SecureAMFChannel endpoint url=https://{server.name}:{server.port}/secureamf; class=flex.messaging.endpoints.AMFEndpoint/ … Note the secure channel class, secure endpoint URL and insecure endpoint class. But again, you only need to configure things this way when you have a component between the client and server handling SSL. Hope that helps, Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of venkateswarlu naidu Sent: Thursday, October 09, 2008 8:23 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Remote calls are not happening using blazeDS in secured environment Here is the exact error message that i am seeing in the server console secure endpoint /messageborker/secureamf must be contacted via secure protocol Please help me on this. Thanks Regards, Venkat. - Original Message From: venkateswarlu naidu [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, 9 October, 2008 9:33:56 PM Subject: [flexcoders] Remote calls are not happening using blazeDS in secured environment Hi All, Even after adding my-secure-amf channel to remote-config. xml, our flex application coludn,t make remote calls. I am seeing a failover to HTTP from a HTTPS request in the http url log, dont know why it is failing over to HTTP://context/messagebroker/ amf from HTTPS://context/messagebroker/ secureamf in a secured environment. Actually this failover is not happening in DEV (in which we have both HTTP and HTTPS enabled). The problem is specific to QA env (weblogic+clustered +secured) , i dont have any clues. Can any body help me on this? Thanks Regards, Venkat. - Original Message From: venkateswarlu naidu contactvenku@ yahoo.co. in To: [EMAIL PROTECTED] ups.com Sent: Wednesday, 8 October, 2008 10:41:13 PM Subject: [flexcoders] could not establish connection to java data service from flex client using blazeDS Hi All, We have a flex+blazeDS+ Java based application, after deploying the application in QA env, java data service calls are not happening. When i see the URL log in HTTP sniffer tool, the request is getting stopped at URL context-root /messagebroker/ amf and finally seeing 502 (CANNOT_CONNECT) status. The same application is working fine in DEV environment. Our QA environment: secured, HTTPS, running behind firewalls and clustered. Why the flex client can not connect to the java data services? Any help is greatly appreciated. Thanks Regards, Venkat.
Re: [flexcoders] Remote calls are not happening using blazeDS in secured environment
Yes Ryan, but its not tomcat, it is weblogic. Its a secured+clustered environment , dont know how to handle this ..is there any setting/configuration to do for clustering environment. Please see the below email trail for more details. Thansk for your time, Regards, Venkat. - Original Message From: Ryan Gravener [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Friday, 10 October, 2008 12:55:16 AM Subject: Re: [flexcoders] Remote calls are not happening using blazeDS in secured environment Is your apache http server redirecting to http from https? Ryan Gravener http://twitter. com/ryangravener On Thu, Oct 9, 2008 at 11:23 PM, venkateswarlu naidu contactvenku@ yahoo.co. in wrote: Here is the exact error message that i am seeing in the server console secure endpoint /messageborker/ secureamf must be contacted via secure protocol Please help me on this. Thanks Regards, Venkat. - Original Message From: venkateswarlu naidu contactvenku@ yahoo.co. in To: [EMAIL PROTECTED] ups.com Sent: Thursday, 9 October, 2008 9:33:56 PM Subject: [flexcoders] Remote calls are not happening using blazeDS in secured environment Hi All, Even after adding my-secure-amf channel to remote-config. xml, our flex application coludn,t make remote calls. I am seeing a failover to HTTP from a HTTPS request in the http url log, dont know why it is failing over to HTTP://context/messagebroker/ amf from HTTPS://context/messagebroker/ secureamf in a secured environment. Actually this failover is not happening in DEV (in which we have both HTTP and HTTPS enabled). The problem is specific to QA env (weblogic+clustered +secured) , i dont have any clues. Can any body help me on this? Thanks Regards, Venkat. - Original Message From: venkateswarlu naidu contactvenku@ yahoo.co. in To: [EMAIL PROTECTED] ups.com Sent: Wednesday, 8 October, 2008 10:41:13 PM Subject: [flexcoders] could not establish connection to java data service from flex client using blazeDS Hi All, We have a flex+blazeDS+ Java based application, after deploying the application in QA env, java data service calls are not happening. When i see the URL log in HTTP sniffer tool, the request is getting stopped at URL context-root /messagebroker/ amf and finally seeing 502 (CANNOT_CONNECT) status. The same application is working fine in DEV environment. Our QA environment: secured, HTTPS, running behind firewalls and clustered. Why the flex client can not connect to the java data services? Any help is greatly appreciated. Thanks Regards, Venkat. Add more friends to your messenger and enjoy! Go to http://messenger. yahoo.com/ invite/ Add more friends to your messenger and enjoy! Invite them now. Be the first one to try the new Messenger 9 Beta! Click here. Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
Re: [flexcoders] Remote calls are not happening using blazeDS in secured environment
Hi Venkat, I'm not sure but I think you need to dig out web.xml for https.. Thanks, with Regards, Jitendra Jain - Original Message From: venkateswarlu naidu [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, 11 October, 2008 6:13:36 AM Subject: Re: [flexcoders] Remote calls are not happening using blazeDS in secured environment Yes Ryan, but its not tomcat, it is weblogic. Its a secured+clustered environment , dont know how to handle this ..is there any setting/configurati on to do for clustering environment. Please see the below email trail for more details. Thansk for your time, Regards, Venkat. - Original Message From: Ryan Gravener [EMAIL PROTECTED] com To: [EMAIL PROTECTED] ups.com Sent: Friday, 10 October, 2008 12:55:16 AM Subject: Re: [flexcoders] Remote calls are not happening using blazeDS in secured environment Is your apache http server redirecting to http from https? Ryan Gravener http://twitter. com/ryangravener On Thu, Oct 9, 2008 at 11:23 PM, venkateswarlu naidu contactvenku@ yahoo.co. in wrote: Here is the exact error message that i am seeing in the server console secure endpoint /messageborker/ secureamf must be contacted via secure protocol Please help me on this. Thanks Regards, Venkat. - Original Message From: venkateswarlu naidu contactvenku@ yahoo.co. in To: [EMAIL PROTECTED] ups.com Sent: Thursday, 9 October, 2008 9:33:56 PM Subject: [flexcoders] Remote calls are not happening using blazeDS in secured environment Hi All, Even after adding my-secure-amf channel to remote-config. xml, our flex application coludn,t make remote calls. I am seeing a failover to HTTP from a HTTPS request in the http url log, dont know why it is failing over to HTTP://context/messagebroker/ amf from HTTPS://context/messagebroker/ secureamf in a secured environment. Actually this failover is not happening in DEV (in which we have both HTTP and HTTPS enabled). The problem is specific to QA env (weblogic+clustered +secured) , i dont have any clues. Can any body help me on this? Thanks Regards, Venkat. - Original Message From: venkateswarlu naidu contactvenku@ yahoo.co. in To: [EMAIL PROTECTED] ups.com Sent: Wednesday, 8 October, 2008 10:41:13 PM Subject: [flexcoders] could not establish connection to java data service from flex client using blazeDS Hi All, We have a flex+blazeDS+ Java based application, after deploying the application in QA env, java data service calls are not happening. When i see the URL log in HTTP sniffer tool, the request is getting stopped at URL context-root /messagebroker/ amf and finally seeing 502 (CANNOT_CONNECT) status. The same application is working fine in DEV environment. Our QA environment: secured, HTTPS, running behind firewalls and clustered. Why the flex client can not connect to the java data services? Any help is greatly appreciated. Thanks Regards, Venkat. Add more friends to your messenger and enjoy! Go to http://messenger. yahoo.com/ invite/ Add more friends to your messenger and enjoy! Invite them now. Be the first one to try the new Messenger 9 Beta! Click here. Connect with friends all over the world. Get Yahoo! India Messenger. Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
[flexcoders] Remote calls are not happening using blazeDS in secured environment
Hi All, Even after adding my-secure-amf channel to remote-config.xml, our flex application coludn,t make remote calls. I am seeing a failover to HTTP from a HTTPS request in the http url log, dont know why it is failing over to HTTP://context/messagebroker/amf from HTTPS://context/messagebroker/secureamf in a secured environment. Actually this failover is not happening in DEV (in which we have both HTTP and HTTPS enabled). The problem is specific to QA env (weblogic+clustered+secured), i dont have any clues. Can any body help me on this? Thanks Regards, Venkat. - Original Message From: venkateswarlu naidu [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, 8 October, 2008 10:41:13 PM Subject: [flexcoders] could not establish connection to java data service from flex client using blazeDS Hi All, We have a flex+blazeDS+ Java based application, after deploying the application in QA env, java data service calls are not happening. When i see the URL log in HTTP sniffer tool, the request is getting stopped at URL context-root /messagebroker/ amf and finally seeing 502 (CANNOT_CONNECT) status. The same application is working fine in DEV environment. Our QA environment: secured, HTTPS, running behind firewalls and clustered. Why the flex client can not connect to the java data services? Any help is greatly appreciated. Thanks Regards, Venkat. Add more friends to your messenger and enjoy! Go to http://messenger. yahoo.com/ invite/ Add more friends to your messenger and enjoy! Go to http://messenger.yahoo.com/invite/
Re: [flexcoders] Remote calls are not happening using blazeDS in secured environment
Here is the exact error message that i am seeing in the server console secure endpoint /messageborker/secureamf must be contacted via secure protocol Please help me on this. Thanks Regards, Venkat. - Original Message From: venkateswarlu naidu [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, 9 October, 2008 9:33:56 PM Subject: [flexcoders] Remote calls are not happening using blazeDS in secured environment Hi All, Even after adding my-secure-amf channel to remote-config. xml, our flex application coludn,t make remote calls. I am seeing a failover to HTTP from a HTTPS request in the http url log, dont know why it is failing over to HTTP://context/messagebroker/ amf from HTTPS://context/messagebroker/ secureamf in a secured environment. Actually this failover is not happening in DEV (in which we have both HTTP and HTTPS enabled). The problem is specific to QA env (weblogic+clustered +secured) , i dont have any clues. Can any body help me on this? Thanks Regards, Venkat. - Original Message From: venkateswarlu naidu contactvenku@ yahoo.co. in To: [EMAIL PROTECTED] ups.com Sent: Wednesday, 8 October, 2008 10:41:13 PM Subject: [flexcoders] could not establish connection to java data service from flex client using blazeDS Hi All, We have a flex+blazeDS+ Java based application, after deploying the application in QA env, java data service calls are not happening. When i see the URL log in HTTP sniffer tool, the request is getting stopped at URL context-root /messagebroker/ amf and finally seeing 502 (CANNOT_CONNECT) status. The same application is working fine in DEV environment. Our QA environment: secured, HTTPS, running behind firewalls and clustered. Why the flex client can not connect to the java data services? Any help is greatly appreciated. Thanks Regards, Venkat. Add more friends to your messenger and enjoy! Go to http://messenger. yahoo.com/ invite/ Add more friends to your messenger and enjoy! Invite them now. Did you know? You can CHAT without downloading messenger. Go to http://in.webmessenger.yahoo.com/
Re: [flexcoders] Remote calls are not happening using blazeDS in secured environment
Is your apache http server redirecting to http from https? Ryan Gravener http://twitter.com/ryangravener On Thu, Oct 9, 2008 at 11:23 PM, venkateswarlu naidu [EMAIL PROTECTED] wrote: Here is the exact error message that i am seeing in the server console secure endpoint /messageborker/secureamf must be contacted via secure protocol Please help me on this. Thanks Regards, Venkat. - Original Message From: venkateswarlu naidu [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, 9 October, 2008 9:33:56 PM Subject: [flexcoders] Remote calls are not happening using blazeDS in secured environment Hi All, Even after adding my-secure-amf channel to remote-config. xml, our flex application coludn,t make remote calls. I am seeing a failover to HTTP from a HTTPS request in the http url log, dont know why it is failing over to HTTP://context/messagebroker/ amf from HTTPS://context/messagebroker/ secureamf in a secured environment. Actually this failover is not happening in DEV (in which we have both HTTP and HTTPS enabled). The problem is specific to QA env (weblogic+clustered +secured) , i dont have any clues. Can any body help me on this? Thanks Regards, Venkat. - Original Message From: venkateswarlu naidu contactvenku@ yahoo.co. in To: [EMAIL PROTECTED] ups.com Sent: Wednesday, 8 October, 2008 10:41:13 PM Subject: [flexcoders] could not establish connection to java data service from flex client using blazeDS Hi All, We have a flex+blazeDS+ Java based application, after deploying the application in QA env, java data service calls are not happening. When i see the URL log in HTTP sniffer tool, the request is getting stopped at URL context-root /messagebroker/ amf and finally seeing 502 (CANNOT_CONNECT) status. The same application is working fine in DEV environment. Our QA environment: secured, HTTPS, running behind firewalls and clustered. Why the flex client can not connect to the java data services? Any help is greatly appreciated. Thanks Regards, Venkat. Add more friends to your messenger and enjoy! Go to http://messenger. yahoo.com/ invite/ http://messenger.yahoo.com/invite/ -- Add more friends to your messenger and enjoy! Invite them now.http://in.rd.yahoo.com/tagline_messenger_6/*http://messenger.yahoo.com/invite/ -- Be the first one to try the new Messenger 9 Beta! Click here.http://in.rd.yahoo.com/tagline_messenger_7/*http://in.messenger.yahoo.com/win/