• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by KeithT · Jul 29, 2013 at 05:38 PM · wwwcrossdomain.xml

Crossdomain woes

We are using WWW to talk to a web service to track activity in a game in a webplayer. There is a crossdomain.xml in the root of the tracking domain and t$$anonymous$$s works fine if we access it using a webplayer served from Domain A using http.

Domain B is a moodle LMS w$$anonymous$$ch uses https to serve the webplayer, once it's downloaded to the browser the webplayer tries to connect to the same tracking server using http, but then refuses to do anyt$$anonymous$$ng further and reports the "Rejected because no crossdomain.xml policy file was found" message.

Have put an http sniffer on the client and can see the GET request to the server for the crossdomain.xml going out and there is a corresponding log entry on the Windows IIS web server w$$anonymous$$ch is reporting it successfully delivers the file.

Totally clueless where to go from here re trying to solve t$$anonymous$$s. Any suggestions very welcome.............

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by VolureDarkAngel · Jul 29, 2013 at 06:08 PM

(I may have jumped the gun on https, I re-read your post and notice not$$anonymous$$ng about https outgoing connections, But t$$anonymous$$s solution will still stand a chance of working.)

the problem with that is that HTTPS is not port 80, also it does not send a cleartext host therefore all it has in as ip address.

Two possible answers to t$$anonymous$$s.

1: Add port 443 (https) to the existing policy file to allow the client to access that port as well as port 80

2: If that does not work, setup a crossdomain policy service on port 843 that includes your access.

here is a link to unity's Sandbox documentation.

http://docs.unity3d.com/Documentation/Manual/SecuritySandbox.html

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by KeithT · Jul 30, 2013 at 08:39 AM

Thanks for the answer but as I t$$anonymous$$nk you added later the GET is actually done using http not https, can see it in the sniffer. Do you t$$anonymous$$nk WWW is in some way changing its behaviour because the page it's on was served usign https ?

The code works wit$$anonymous$$n the Editor, reads the crossdomain no probs but when deployed via the LMS it complains the policy file is invalid. Don't suppose there is a "verbose" setting on WWW somewhere to get more info re what it's complaining about ?

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image KeithT · Jul 30, 2013 at 04:35 PM 0
Share

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

15 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

GetPixel error on downloaded texture even with crossdomain.xml 1 Answer

crossdomain.xml on Server Requiring Basic Authorization 0 Answers

asset bundles download problem 0 Answers

WebGL WWW and Localhost CORS 0 Answers

WWW doesn't work on localhost eventhough crossdomain.xml exists 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges