Connection to server failed

View previous topic View next topic Go down

Connection to server failed

Post by [GM]KASPALL- on Fri Feb 20, 2015 7:11 pm

Hey,

Since I got many messages regarding the 'Connection to the server failed' issue, here i'll post the mainly cause of this problem and how to solve it.

"In Unity 3.0, the webplayer implements a security model very similar to the one used by the Adobe Flash playerâ„¢. This security restrictions apply only to the webplayer, and to the editor when the active build target is WebPlayer. The security model has several parts:



  • Restrictions on accessing data on a domain other than the one hosting your .unity3d file.
  • Some limitation on the usage of the Sockets.
  • Disallowing invocation of any method we deemed off limits. (things like File.Delete, etc).
  • Disallowing the usage of System.Reflection.* to call private/internal methods in classes you did not write yourself."



In brief, there is security sandbox behind the game that prevents copies from the game and distribution in another domains, so if the domain isn't the one listed in the crossdomain.xml file, it restricts the connection between the database and the client. For some reason, the browsers cache the content of the crossdoamain file so whenever I move the gamefile to another domain, your browser just don't read the updated crossdomain file.

In other hand, the server might be down.

So, to fix this i'll post here some screenshots on how to remove that cached content from your browser. (Google chrome)







If you don't want to remove your cache content, just play in incognito mode on google chrome.

_________________
Regards,
[GM]KASPALL-

[GM]KASPALL-
Admin

Posts : 328
Points : 478
Reputation : 77
Join date : 2015-01-18
Location : Portugal

View user profile http://combatcompany.net

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum