flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlos Cruz" <car...@nbtbizcapital.com>
Subject RE: Looking for help with crossdomain issues
Date Mon, 24 Jun 2013 14:35:35 GMT
thanks for the input... but that wasn't the issue... I don't know enough
about networks to say why, but for some reason the requests on port 843 are
not getting through. 

So I gave up and I installed the Flex application on the same server as the
other application.

Again thanks for the input!!
Carlos



-----Original Message-----
From: Marcus Fritze [mailto:marcus.fritze@googlemail.com] 
Sent: Friday, June 21, 2013 12:35 PM
To: users@flex.apache.org
Subject: Re: Looking for help with crossdomain issues

Oh I see you load the xml from https. Is the flex app also on https?

Maybe that is the problem.

Maybe you should take a look at 

Security.allowDomain();
Security.allowInsecureDomain();


Am 21.06.2013 um 17:50 schrieb "Carlos Cruz" <carlos@nbtbizcapital.com>:

> Hi;
> 
> 
> 
> Can someone give some insight or help with some cross domain issues. 
> I'm trying to run a Flex app that is running in my development system, 
> the Flex app tries to call a Java class in another server. So far not
successfully.
> 
> 
> 
> I have tried using Apache on the remote server listening on port 843 
> to serve the crossdoamin.xml file:
> 
> 
> 
> <?xml version="1.0"?>
> 
> <!DOCTYPE cross-domain-policy SYSTEM
> "http://www.adobe.com/xml/dtds/cross-domain-policy.dtd">
> 
> <cross-domain-policy>
> 
>                <site-control permitted-cross-domain-policies='all'/>
> 
>               <allow-access-from domain='*' to-ports='*' 
> secure='false'/>
> 
>                <allow-http-request-headers-from domain='*' headers='*'
> secure='false' />
> 
> </cross-domain-policy>
> 
> 
> 
> I have also tried using the Flash Socket Policy Server "socketpolicy.pl"
> also on the remote server and also unsuccessfully.
> 
> 
> 
> when I run my Flex app this is the message I get:
> 
> Warning: Failed to load policy file from 
> https://192.168.3.41:8443/crossdomain.xml
> 
> 
> 
> *** Security Sandbox Violation ***
> 
> Connection to 
> https://192.168.3.41:8443/blazeds/messagebroker/my-secure-amf
> halted - not permitted from
> http://192.168.3.11/applications/CruzControlUrBusiness/CruzControlUrBu
> siness
> .swf
> 
> Error: Request for resource at
> https://192.168.3.41:8443/blazeds/messagebroker/my-secure-amf by 
> requestor from 
> http://192.168.3.11/applications/CruzControlUrBusiness/CruzControlUrBu
> siness
> .swf/[[DYNAMIC]]/4 is denied due to lack of policy file permissions.
> 
> 
> 
> 
> 
> Eventually the app will be called from a public IP, but the Java 
> server will be the same.
> 
> 
> 
> 
> 
> Thanks for any help!!!
> 
> 
> 
> 
> 



Mime
View raw message