is it possible use SSE transport with IIS7.5? #625

Closed
edolis opened this Issue Aug 29, 2012 · 8 comments

Comments

Projects
None yet
4 participants
@edolis

edolis commented Aug 29, 2012

Simple question: I am running a production environment with Windows Server 2008R2 and IIS 7.5 -
I have got a WebApplication using SignalR 0.5.3 Hubs - Browser is Chrome.
Unlike the test environment where I am using IIS Express, and working with SSE transport on Chrome, in production environment the transport is switched to longPolling.
Is there any change of connecting and running with serverSideEvents transport instead - or it is a limitation of IIS 7.5?
Thanks

@davidfowl

This comment has been minimized.

Show comment Hide comment
@davidfowl

davidfowl Aug 29, 2012

Owner

Are you behind a proxy? If anything in your network stack is buffering responses it'll fallback to longpolling.

Owner

davidfowl commented Aug 29, 2012

Are you behind a proxy? If anything in your network stack is buffering responses it'll fallback to longpolling.

@edolis

This comment has been minimized.

Show comment Hide comment
@edolis

edolis Aug 30, 2012

Thanks David, that was exactly the issue - I didn't know I was behind a proxy (it's a corporate service and I don't know the architecture) - but once tested server on server as localhost SSE worked perfectly, so that must be the issue.

edolis commented Aug 30, 2012

Thanks David, that was exactly the issue - I didn't know I was behind a proxy (it's a corporate service and I don't know the architecture) - but once tested server on server as localhost SSE worked perfectly, so that must be the issue.

@edolis edolis closed this Aug 30, 2012

@edolis

This comment has been minimized.

Show comment Hide comment
@edolis

edolis Aug 30, 2012

David,
before I gear up and start fighting with my IT department, what are the specific requirements I should ask them to conform to at the corporate firewall/proxy/... so that I do not fall back to longpolling?

edolis commented Aug 30, 2012

David,
before I gear up and start fighting with my IT department, what are the specific requirements I should ask them to conform to at the corporate firewall/proxy/... so that I do not fall back to longpolling?

@edolis edolis reopened this Aug 30, 2012

@davidfowl

This comment has been minimized.

Show comment Hide comment
@davidfowl

davidfowl Aug 30, 2012

Owner

Don't buffer responses. You can make it specific to the sse content type but then forever frame in IE won't work as well.

Owner

davidfowl commented Aug 30, 2012

Don't buffer responses. You can make it specific to the sse content type but then forever frame in IE won't work as well.

@edolis

This comment has been minimized.

Show comment Hide comment
@edolis

edolis Aug 30, 2012

OK so supposing that I can get what I ask if the client's browser is IE the best I can get is longPolling transport, with Chrome instead I could get up to serverSentEvents transport, right?

edolis commented Aug 30, 2012

OK so supposing that I can get what I ask if the client's browser is IE the best I can get is longPolling transport, with Chrome instead I could get up to serverSentEvents transport, right?

@rogerreynolds

This comment has been minimized.

Show comment Hide comment
@rogerreynolds

rogerreynolds Aug 30, 2012

i've noticed this behavior as well, it seems - fiddler is a proxy so if you turn on fiddler, SignalR immediately starts doing long polling for everything.
What is meant by "don't buffer responses" exactly? Is that some sort of SignalR configuration setting?

i've noticed this behavior as well, it seems - fiddler is a proxy so if you turn on fiddler, SignalR immediately starts doing long polling for everything.
What is meant by "don't buffer responses" exactly? Is that some sort of SignalR configuration setting?

@NTaylorMullen

This comment has been minimized.

Show comment Hide comment
@NTaylorMullen

NTaylorMullen Aug 30, 2012

Contributor

Turn the "Stream" on in Fiddler. If it is off Fiddler buffers responses.

Contributor

NTaylorMullen commented Aug 30, 2012

Turn the "Stream" on in Fiddler. If it is off Fiddler buffers responses.

@rogerreynolds

This comment has been minimized.

Show comment Hide comment
@rogerreynolds

rogerreynolds Aug 30, 2012

Ah, that works. Thanks.

Ah, that works. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment