Wrong address?

147 views
Skip to first unread message

mar

unread,
Feb 5, 2012, 6:45:33 PM2/5/12
to APE Project
I think there is bug,

Can't contact APE Server. Please check the folowing url is pointing to
your APE server : http://0.127.0.0.1:6969

Server {
port = 6969
daemon = no
ip_listen = 0.0.0.0
domain = 127.0.0.1
rlimit_nofile = 10000
pid_file = /var/run/aped.pid
}


Surf2Credits

unread,
Feb 6, 2012, 2:15:28 AM2/6/12
to ape-p...@googlegroups.com
domain can only be a hostname, 127.0.0.1 or an ip won't work.

Regards,



--
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to ape-p...@googlegroups.com
To unsubscribe from this group, send email to
ape-project...@googlegroups.com
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/

mar

unread,
Feb 6, 2012, 7:09:12 AM2/6/12
to APE Project
thx for the reply, but it still doesnt work,

Running test : Setting document.domain
Can't set document.domain please check APE.Config.domain value it
should be 127.0.0.1

i tried set config domain to 127.0.0.1 but then i got
document.domain mismatch client is 127.0.0.1 and server is ape-
test.local value of domain for client and server must be the same. Try
with 127.0.0.1 for both

and as You mentioned i cant set up server domain to 127.0.0.1

my settings:

/etc/hosts
127.0.0.1 localhost
127.0.0.1 ape-test.local
127.0.0.1 ape.ape-test.local
127.0.0.1 0.ape.ape-test.local
127.0.0.1 1.ape.ape-test.local
127.0.0.1 2.ape.ape-test.local
127.0.0.1 3.ape.ape-test.local
127.0.0.1 4.ape.ape-test.local
127.0.0.1 5.ape.ape-test.local
127.0.0.1 6.ape.ape-test.local
127.0.0.1 7.ape.ape-test.local
127.0.0.1 8.ape.ape-test.local
127.0.0.1 9.ape.ape-test.local

/etc/ape/ape.conf
Server {
port = 6969
daemon = yes
ip_listen = 0.0.0.0
domain = ape-test.local
rlimit_nofile = 10000
pid_file = /var/run/aped.pid
}

config.js
APE.Config.baseUrl = 'http://127.0.0.1/lucy/APE_JSF'; //APE JSF
APE.Config.domain = 'ape-test.local'; // /etc/hosts domain, must be
same as domain in aped.conf
APE.Config.server = 'ape-test.local:6969'; //APE server URL

ptej...@gmail.com

unread,
Feb 6, 2012, 7:23:49 AM2/6/12
to ape-p...@googlegroups.com
According to your host configuration your APE.Config.server should be 'ape.ape-test.local:6969'
Sent via BlackBerry from T-Mobile

mar

unread,
Feb 6, 2012, 8:11:19 AM2/6/12
to APE Project
still the same

Config values are :
identifier : ape
init : true
frequency : 0
scripts : <cut>
baseUrl : http://127.0.0.1/lucy/APE_JSF
domain : ape-test.local
server : ape.ape-test.local:6969
Running test : Setting document.domain
Can't set document.domain please check APE.Config.domain value it
should be 127.0.0.1

it has problem with setting document domain

config.js
APE.Config.baseUrl = 'http://127.0.0.1/lucy/APE_JSF'; //APE JSF
APE.Config.domain = 'ape-test.local'; // /etc/hosts domain, must be
same as domain in aped.conf
APE.Config.server = 'ape.ape-test.local:6969'; //APE server URL
> For more options, visit this group athttp://groups.google.com/group/ape-project?hl=en
Reply all
Reply to author
Forward
0 new messages