Hi Fred,

I manage to replicate this error on my test server. I believe it's because 
"http://mydomain"; doesn't end with a ".com" or something similar.  In my 
case I used "local" as JSF domain and "ape.local" as server url and got 
this error. The second I changed "local" with "ape.local" (Both config can 
have the same domain. Ex you can use "ape.mydomain.com" or "mydomain.com", 
technically it doesn't change anything) and it fixed the error.


  - Louis


Le jeudi 24 octobre 2013 00:56:40 UTC-4, Frédéric Moulis a écrit :
>
> Hi, 
>
> I've installed APE Server on my laptop and checked the installation by 
> running Demos (Chat, Controller, Move, Shoutbox) and Check page on Google 
> Chrome, and everything works fine. 
>
> But if I do the same tests on Firefox, it doesn't work and if I look at JS 
> console, I always get the same error "NS_ERROR_DOM_BAD_DOCUMENT_DOMAIN: 
> Illegal document.domain value" 
>
> For now, I'm testing APE locally (client and server on same computer), so 
> : 
>
> I did not change ape.conf file 
> here is my Config.js file : 
> .................... 
> /*** 
>
> APE JSF Setup */ 
> APE.Config.baseUrl = 'http://mydomain/includes/APE_JSF'; //APE JSF 
> APE.Config.domain = 'mydomain'; 
> APE.Config.server = 'ape.mydomain:6969'; //APE server URL 
>
> [...] 
>
> ..................... 
>
> here is my /etc/hosts file : 
> .................... 
> 127.0.0.1 localhost 
>
> 127.0.0.1 mydomain 
>
> 127.0.0.1 ape.mydomain 
> 127.0.0.1 0.ape.mydomain 
> 127.0.0.1 1.ape.mydomain 
> 127.0.0.1 2.ape.mydomain 
> 127.0.0.1 3.ape.mydomain 
> 127.0.0.1 4.ape.mydomain 
> 127.0.0.1 5.ape.mydomain 
> 127.0.0.1 6.ape.mydomain 
> 127.0.0.1 7.ape.mydomain 
> 127.0.0.1 8.ape.mydomain 
> 127.0.0.1 9.ape.mydomain 
>
>
> // The following lines are desirable for IPv6 capable hosts 
>
> [...] 
> .................... 
>
> Tools/Check page gives following log : 
>
> ................... 
> Running test : Init 
> Running test : Loading Client 
> Running test : Loading config 
> Config values are : 
>
> identifier : ape 
> init : true 
> frequency : 0 
> scripts : 
> http://mydomain/includes/APE_JSF/Source/mootools-core.js,http://mydomain/includes/APE_JSF/Source/Core/APE.js,http://mydomain/includes/APE_JSF/Source/Core/Events.js,http://mydomain/includes/APE_JSF/Source/Core/Core.js,http://mydomain/includes/APE_JSF/Source/Pipe/Pipe.js,http://mydomain/includes/APE_JSF/Source/Pipe/PipeProxy.js,http://mydomain/includes/APE_JSF/Source/Pipe/PipeMulti.js,http://mydomain/includes/APE_JSF/Source/Pipe/PipeSingle.js,http://mydomain/includes/APE_JSF/Source/Request/Request.js,http://mydomain/includes/APE_JSF/Source/Request/Request.Stack.js,http://mydomain/includes/APE_JSF/Source/Request/Request.CycledStack.js,http://mydomain/includes/APE_JSF/Source/Transport/Transport.longPolling.js,http://mydomain/includes/APE_JSF/Source/Transport/Transport.SSE.js,http://mydomain/includes/APE_JSF/Source/Transport/Transport.XHRStreaming.js,http://mydomain/includes/APE_JSF/Source/Transport/Transport.JSONP.js,http://mydomain/includes/APE_JSF/Source/Transport/Transport.WebSocket.js,http://mydomain/includes/APE_JSF/Source/Core/Utility.js,http://mydomain/includes/APE_JSF/Source/Core/JSON.js
>  
> baseUrl : http://mydomain/includes/APE_JSF 
> domain : mydomain 
> server : ape.mydomain:6969 
>
> Running test : Setting document.domain 
> Running test : Checking APE.Config.baseUrl 
> APE JSF Version 1.1 
> Running test : Contacting APE Server 
> domain = mydomain 
> Running test : Contacting APE Server (adding frequency) 
> Running test : Initializing APE Client 
> Can't load APE JSF 
> Something went wrong. If you can't fix it by yourself post a message on 
> the newsgroups with the output below or join our IRC channel 
>
> ............... 
>
> Can someone please help me ? It seems I'm not the first one having this 
> kind of issue but did not find any solution 
>
> Thanks, 
>
> Fred

-- 
-- 
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/

--- 
You received this message because you are subscribed to the Google Groups "APE 
Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to