Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[sample] Using an distant redis server doesn't work #913

Closed
gounthar opened this issue Feb 19, 2013 · 2 comments
Closed

[sample] Using an distant redis server doesn't work #913

gounthar opened this issue Feb 19, 2013 · 2 comments

Comments

@gounthar
Copy link

Salut,

I'm currently testing the atmosphere-jquery-pubsub sample with 1.1.0-SNAPSHOT.
I enabled Redis in web.xml, and added some config for an external redis server:

  <init-param>
            <param-name>org.atmosphere.plugin.redis.RedisBroadcaster.server</param-name>
            <param-value>http://ip:6379</param-value>
        </init-param>
         <init-param>
            <param-name>org.atmosphere.plugin.redis.RedisBroadcaster.authorization</param-name>
            <param-value>password</param-value>
        </init-param>

I started the sample with Jetty run, but the code doesn't take my config into account. The local redis server is still called.

What did I miss?

@gounthar
Copy link
Author

Made another project from scratch, and used the RedisBroadcaster.
I can reach a distant redis server without a problem.
I don't know why the jsquery-pubsub doesn't work with a distant redis instance.

@jfarcand
Copy link
Member

It works for me...closing as not a bug.

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

No branches or pull requests

2 participants