Giter VIP home page Giter VIP logo

Comments (2)

joshcutler avatar joshcutler commented on July 30, 2024 1

So the issue was that I was putting my initialization code in the wrong place:

Pusher.app_id = foo
etc

Once I made sure those were getting called, then it worked as it should, so chalk it up to user error. The only thing that is a little confusing is that it did intermittently work without me initializing the connection properly.

Here is a link a gist of the controller. When it was being wonky assume the Pusher.app_id was never being set:
https://gist.github.com/1051435

from pusher-http-ruby.

ThisIsMissEm avatar ThisIsMissEm commented on July 30, 2024

Hi Josh,

Could you give us a gist of the exact code that's calling it? (So that we can derive
a test-case if need be).

Regards,

Micheil Smith

Pusher.com / @pusherapp

On 28 Jun 2011, at 05:20, joshcutler wrote:

If I try to use the Pusher.authenticate method for a presence channel it throws the following:

Pusher::ConfigurationError: Missing configuration: please check that Pusher.url is configured
[GEM_ROOT]/gems/pusher-0.8.1/lib/pusher.rb:100:in []' app/controllers/pusher_controller.rb:4:inauth'

This goes away once I push something to one of the other channels. In my case I have chat and as soon as I post a message then the presence channels and the authenticate method work.

Reply to this email directly or view it on GitHub:
#8

from pusher-http-ruby.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.