-
1. Re: No communication bus with safari through an iframe
jfuerth Jul 2, 2013 9:19 AM (in response to gilbertgmx)Hi Gilbert,
Can you be more specific about what isn't working? Is the app being downloaded at all to Safari? Is the entry point invoked? Does any UI show up? Is communication with the server possible?
Off the top of my head, I wonder if this has something to do with Safari handling Set-Cookie HTTP headers differently within iframes that were served from a different host. This is just wild speculation, though, because I really don't have enough information from your question to make a good guess.
-Jonathan
-
2. Re: No communication bus with safari through an iframe
gilbertgmx Jul 4, 2013 10:53 AM (in response to jfuerth)Hi Jonathan.
The endpoint is invoked, the page is showing.
But service callback is not woking well.
To understand what happens i put a BusLifecycleListener on my page. And so i saw that i was cycling throught all the methods, the bus is alway trying to connect, isconnect, then be disconect and so long.
When i go directly on server with safari or when i use chrome or firefox I see that just methode busOnline() is invoked one time.
I'm not shure on how communication is implemented in errai, but i suppose that a soket is open to the server. and this is not possible in the way i use it.
Client invocations arrives on server but responses are sended to client. Communication can be established.
Gilbert.
-
3. Re: No communication bus with safari through an iframe
gilbertgmx Jul 25, 2013 2:02 PM (in response to gilbertgmx)ok i founded the trouble.
I din't desable cookies blocking for all.
By default safari blockes cookies from tierce party. In french it is block cookies from "tierces parties et annonceurs".
So i had to put "never" and then it works.