Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • 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
0
Question by tataragne · Sep 18, 2013 at 02:11 PM · httpssslcrossdomaincrossdomain.xml

Crossdomain.xml problem in HTTPS / SSL

Hi all, we got a big problem with the integration of Game Analytics service into our Facebook Game. Such you know, Facebook require (in October 2013) that you run your app under an HTTPS service. Everything seem working in HTTP but in HTTPS, the webplayer doesn't validate the api.gameanalytics.com against the rule * of the crossdomain.xml that is hosted here : http://api.gameanalytics.com/crossdomain.xml

PS : I also contacted the support of GA, issue is still under investigation.

Our investigation webplayer log in HTTP (WORK):

 ...
 About to parse url: http://api.gameanalytics.com/crossdomain.xml
 ...
 Download had OK statuscode
 Received the following crossdomain.xml
 
 ----------
 
 <cross-domain-policy><site-control permitted-cross-domain-policies="all"/><allow-access-from domain="*"/><allow-http-request-headers-from domain="*" headers="*" secure="true"/></cross-domain-policy>
 
 ----------
 
 received policy
 Parsing: cross-domain-policy
 cross-domain-policy
 Parsing: site-control
 site-control
   permitted-cross-domain-policies: all
 Parsing: allow-access-from
 allow-access-from
   domain: *
 Parsing: allow-http-request-headers-from
 allow-http-request-headers-from
   domain: *
   headers: *
   secure: true
 done parsing policy
 crossdomain.xml was succesfully parsed
 About to parse url: http://api.gameanalytics.com/1/ping
 Checking if http://api.gameanalytics.com/1/ping is a valid domain
 Checking request-host: api.gameanalytics.com against valid domain: *
 All requirements met, the request is approved
 
 GA initialized, waiting for events..

Our investigation webplayer log in HTTPS (FAIL) :

 ...
 About to parse url: http://api.gameanalytics.com/crossdomain.xml
 ...
 Download had OK statuscode
 Received the following crossdomain.xml
 
 ----------
 
 <cross-domain-policy><site-control permitted-cross-domain-policies="all"/><allow-access-from domain="*"/><allow-http-request-headers-from domain="*" headers="*" secure="true"/></cross-domain-policy>
 
 ----------
 
 received policy
 Parsing: cross-domain-policy
 cross-domain-policy
 Parsing: site-control
 site-control
   permitted-cross-domain-policies: all
 Parsing: allow-access-from
 allow-access-from
   domain: *
 Parsing: allow-http-request-headers-from
 allow-http-request-headers-from
   domain: *
   headers: *
   secure: true
 done parsing policy
 crossdomain.xml was succesfully parsed
 About to parse url: http://api.gameanalytics.com/1/ping
 Checking if http://api.gameanalytics.com/1/ping is a valid domain
 Checking request-host: api.gameanalytics.com against valid domain: *
 Rejected because there was no AllowedAcces entry in the crossdomain file allowing this request.
 
 GA detects no internet connection..

Please help ;)

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

0 Replies

· Add your reply
  • Sort: 

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.

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

SSL signed by CA validation 0 Answers

Does System.Web.HttpWebRequest support SNI in SSL? 2 Answers

Facebook-crossdomain-https Problem 1 Answer

Is it possible to do ssl certificate pinning in Unity iOS 1 Answer

WWW with HTTPS on Android not working 0 Answers


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