Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Safari on IOS7 and ServerPush
Safari on IOS7 and ServerPush [message #1384992] Tue, 03 June 2014 13:52 Go to next message
Stefan Milchram is currently offline Stefan MilchramFriend
Messages: 33
Registered: September 2012
Member
Hi!

In our application we must enable ServerPush all the time.
On IOS(7.1.1)-Safari something strange happens: The images (PNGs as background on a div) are not displayed. When we disable ServerPush and try again the images are displayed correctly.
Chrome on IOS and also all desktop-browsers on Windows, including Safari, do work.
When searching the web for this behaviour i found this:
https://github.com/SignalR/SignalR/issues/1406
As this issue persists since IOS6 it seems Apple will not change anything there.

Is this a known issue and are there any workarounds possible?

Thanks in advance


Re: Safari on IOS7 and ServerPush [message #1385069 is a reply to message #1384992] Wed, 04 June 2014 08:09 Go to previous messageGo to next message
Tim Buschtoens is currently offline Tim BuschtoensFriend
Messages: 396
Registered: July 2009
Senior Member
Hi.

Yeah, to quote the linked page:

The problem is not a bug in safari, the problem is that safari only
allowed one connection to the server and chrome allows more. So if the
page is loaded and signalr is started the only available connection is
used so safari cannot load the requested images via ajax from the sever.
The only right solution is to put the signalr or long polling queries in
a webworker, then it will work with safari. But the problem is that
signalr uses jquery so it's not possible to use signalr in a webworker.
I think a good solution good be to remove jquery from signalr but this
issue was moved from the milestone list.
So at this point only tricks discribed above can help, but I think
that's not what the users want. Apple will definitly not solve the
problem at safari to allow more the one connection as for performance
reasons


(in this case signalr = ServerPush).

I will look into it today, but as it looks this won't be an easy fix.

Greetings,
Tim

Am 03.06.2014 15:52, schrieb Stefan M:
> Hi!
>
> In our application we must enable ServerPush all the time.
> On IOS(7.1.1)-Safari something strange happens: The images (PNGs as
> background on a div) are not displayed. When we disable ServerPush and
> try again the images are displayed correctly.
> Chrome on IOS and also all desktop-browsers on Windows, including
> Safari, do work.
> When searching the web for this behaviour i found this:
> https://github.com/SignalR/SignalR/issues/1406
> As this issue persists since IOS6 it seems Apple will not change
> anything there.
>
> Is this a known issue and are there any workarounds possible?
>
> Thanks in advance
>
>
>

--
Tim Buschtöns

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Safari on IOS7 and ServerPush [message #1385322 is a reply to message #1385069] Thu, 05 June 2014 15:18 Go to previous message
Tim Buschtoens is currently offline Tim BuschtoensFriend
Messages: 396
Registered: July 2009
Senior Member
I opend a bug report:

Bug 436699 - [ipad] Images not loading while ServerPushSession is active
https://bugs.eclipse.org/bugs/show_bug.cgi?id=436699

Am 04.06.2014 10:09, schrieb Tim Buschtöns:
> Hi.
>
> Yeah, to quote the linked page:
>
> The problem is not a bug in safari, the problem is that safari only
> allowed one connection to the server and chrome allows more. So if the
> page is loaded and signalr is started the only available connection is
> used so safari cannot load the requested images via ajax from the sever.
> The only right solution is to put the signalr or long polling queries in
> a webworker, then it will work with safari. But the problem is that
> signalr uses jquery so it's not possible to use signalr in a webworker.
> I think a good solution good be to remove jquery from signalr but this
> issue was moved from the milestone list.
> So at this point only tricks discribed above can help, but I think
> that's not what the users want. Apple will definitly not solve the
> problem at safari to allow more the one connection as for performance
> reasons
>
>
> (in this case signalr = ServerPush).
>
> I will look into it today, but as it looks this won't be an easy fix.
>
> Greetings,
> Tim
>
> Am 03.06.2014 15:52, schrieb Stefan M:
>> Hi!
>>
>> In our application we must enable ServerPush all the time.
>> On IOS(7.1.1)-Safari something strange happens: The images (PNGs as
>> background on a div) are not displayed. When we disable ServerPush and
>> try again the images are displayed correctly.
>> Chrome on IOS and also all desktop-browsers on Windows, including
>> Safari, do work.
>> When searching the web for this behaviour i found this:
>> https://github.com/SignalR/SignalR/issues/1406
>> As this issue persists since IOS6 it seems Apple will not change
>> anything there.
>>
>> Is this a known issue and are there any workarounds possible?
>>
>> Thanks in advance
>>
>>
>>
>

--
Tim Buschtöns

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:Image path for favicon or splash screen
Next Topic:RAP 2.3.0 RC2 Link Selection is fired only one time in Workbench
Goto Forum:
  


Current Time: Fri Apr 26 18:29:18 GMT 2024

Powered by FUDForum. Page generated in 0.03413 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top