HI, Can you past the config.js in your client application?
Your clientjs transport is "2"? (jsonp) ? Your browser is Google chrome 17? Can you past the console.log(iframe.contentWindow)? Thanks (and sorry for my bad english) Bye :) 2012/4/5 adibou <[email protected]> > Hi everybody > > I am trying to use my APE server with HTTPS > This is my configuration > - Apache on Ubuntu Server > - APE Server 1.1.1 > - APE Client JS latest from GitHub > > 1) My apeClientJS.js contains : > > APE.Config.baseUrl = 'https://www.***.fr/ape'; > APE.Config.domain = '***.fr'; > APE.Config.server = 'ape.***.fr:443'; > APE.Config.secure = true; > > 2) My /etc/ape/ape.conf is : > > uid { > # "aped" switch to this user/group if it run as root > user = daemon > group = daemon > } > > Server { > port = 6969 > daemon = yes > ip_listen = 0.0.0.0 > domain = auto > rlimit_nofile = 10000 > pid_file = /var/run/aped.pid > } > > Log { > debug = 2 > use_syslog = 0 > syslog_facility = local2 > logfile = /var/log/ape.log > } > > JSONP { > eval_func = Ape.transport.read > allowed = 1 > } > > Config { > #relative to ape.conf > modules = /usr/lib/ape/ > modules_conf = /etc/ape/ > } > > 3) My /etc/stunnel/ape.conf is : > cert = /etc/ssl/all.ape.***.fr.crt > key = /etc/ssl/all.ape.***.fr.key > sslVersion = SSLv3 > > debug = 7 > output = /var/log/stunnel4/stunnel.log > > [ape] > accept = 443 > connect = 6969 > > I can connect to ape.***.fr:443 or 0.ape.***.fr:443 > I tried to change domain = ***.fr in /etc/ape/ape.conf > And I checked document.domain in iframe created by apeClientJS.js and > it's OK (***.fr) > > But I still get this error : Permission denied to access property > 'APE' > On this statement : iframe.contentWindow.APE.init(config); > [apeClientJS.js] > So, what's wrong ? > It seems to be a cross domain problem... > > Thanks for your help, since I read forums and groups posts, I think I > am not the only one to get this error. > > Regards > > -- > 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/ > -- ------------------------------ *Michele Vezzoli* *IT Manager* TEL: +39.030.5230600 MOB: +39.328.0555322 FAX: +39.030.5230600 SKYPE: michele.vezzoli.vardump VarDump S.r.l. - www.var-dump.it This e-mail message does not imply or cause any obligation, unless it is provided by a previous written agreement. This message is confidential: if you have received it by mistake, please advise immediately the sender by e-mail and destroy the message and its attachments. You are hereby notified that any unauthorized use of the content of this message could constitute a criminal offence. Thank you. -- 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/
