wandenberg / nginx-push-stream-module

A pure stream http push technology for your Nginx setup. Comet made easy and really scalable.
Other
2.22k stars 295 forks source link

Multiple tabs issue #104

Closed pokal4u closed 10 years ago

pokal4u commented 11 years ago

Hi, When connect push stream with host name as 'www.domain.com' allowed only 6 tabs only, in 7th tab struck the page. Whenever using host name as 'sub-domain' getting below error

error

My code:

var pushstream = new PushStream({ host: window.location.hostname, port: window.location.port, modes: "longpolling", secondsAgo:3600

}); PushStream.LOG_LEVEL = ''; try { pushstream.addChannel('users'); pushstream.connect(); } catch(e) {};

Please rectify this problem

Thanks Pokal

wandenberg commented 11 years ago

Hi,

can you reproduce the problem using different windows/browsers? This can be a browser limit to not open the same page many times.

How exactly the problem can be reproduced?

Attach your server configuration too, please.

pokal4u commented 11 years ago

Hi, What about etag error?

Thanks

wandenberg commented 10 years ago

How to reproduce this message? Which browser are you using? Which version? Which nginx and module version are in use? Send your server configuration.

wandenberg commented 10 years ago

Can you check if the code on expose_headers branch fix your problem? Remember to properly set the push_stream_allowed_origins directive with your domain.

wandenberg commented 10 years ago

@pokal4u, did you tested the branch? Solved your problem?