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 sharat · Sep 13, 2013 at 06:13 PM · webplayerwwwinternet explorer

Failed downloading http with WWW on Internet Explorer

I have a webplayer app that regularly talks to the server that's hosting it via WWW calls to a PHP page. It seems to work okay on Chrome and Firefox but I get back an error message on Internet Explorer that says "Failed downloading http://host.domain.com/server.php"

When I check the requests being sent out via Fiddler the WWW request doesn't even show up(it does on the other browsers). Here's an abbreviated version of the code(which is being called in a MonoBehaviour coroutine)

 public static IEnumerator SendRequestCoroutine()
 {
     WWWForm formData = new WWWForm();
     Hashtable cookieInfo = formData.headers;
     // ... Populate form data here and update cookie info here

     // Create the web request
     WWW wwwRequest = new WWW("http://host.domain.com/server.php", formData.data, cookieInfoHashtable);

     // Wait until request finishes
     yield return wwwRequest;

     // Read response/error data
     if (wwwRequest.error != null)
         Debug.LogError(wwwRequest.error);
 }

Any ideas what I could be missing for IE?

Comment
Add comment · Show 5
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 ArkaneX · Sep 13, 2013 at 07:06 PM 0
Share

Do you have any proxy set up in IE? $$anonymous$$aybe this is causing issues? You can also do a simple test - obtain IP address for this host, try to ping it using Ping class and see if it's possible.

avatar image sharat · Sep 13, 2013 at 07:35 PM 0
Share

@ArkaneX I think that I remember hearing that the Ping class doesn't work for WebPlayer builds due to the security sandbox. I haven't done anything different based on browsers.

avatar image ArkaneX · Sep 13, 2013 at 07:48 PM 0
Share

I just did a quick test and Ping works without problem in WebPlayer (in IE10)

avatar image Graham-Dunnett ♦♦ · Sep 13, 2013 at 08:52 PM 0
Share

If you hit the URL directly by entering it into the IE address bar, do you get the response you expect? (I mean, try hitting the url without the webplayer.) The webplayer uses IE to actually do all it's downloads, so, provided you have access rights to the server Unity should be able to fetch the page. Alternatively, and I am no IE10 expert, maybe there is some setting needed in that browser to permit plugins to make requests.

avatar image sharat · Sep 13, 2013 at 09:39 PM 0
Share

@GrahamDunnett When I type the php page into the IE address bar it reaches the page and returns the appropriate response value.

@ArkaneX Hmmm, I guess I'll try to see if I can get Ping to work and see if it helps any.

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

17 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 avatar image avatar image

Related Questions

Any caching options available for things dynamically loaded by WebPlayer? 0 Answers

Webplayer can not read file from website 1 Answer

Unity Webplayer Game freezes after loading on IE 1 Answer

WWW responseHeaders not giving me cookie in web-player, but does in editor 1 Answer

What kind of error handling does the WWW class have? 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