API + SSL (?) = Problems

Zach's Avatar


29 Dec, 2009 03:11 AM

We are using the Free Campfire account at the moment - so we don't have SSL. Github offers service hooks : http://github.com/blog/570-campfire-service-hook-returns . . . I have it so it pushes out Repo changes to the room so our dev team knows where the Repo stands. I noticed if SSL is turned off ( in GitHub ) - it pushes via the Campfire API to the Campfire website, but not to Propane. But when I have SSL on - it still pushes it to the website , and it causes Propane to logout of the room and can't get back in. Thanks!

  1. Support Staff 1 Posted by trevor on 29 Dec, 2009 03:26 AM

    trevor's Avatar

    Hi Zach,

    I'm not sure what could possibly be going on with SSL, especially when you consider that SSL is something chosen and enforced by Campfire on the server end (Propane just follows the redirects which is why it never asks if you want to use SSL).

    That said, I think I may know what's going on as far as messages not appearing in Propane. Is there a chance you're using your own login's API key for the github service hook?

    If you are then you (as in, the person who's api key is being used) won't see any messages sent by the service hook because Campfire doesn't bother telling you about the messages sent by you.

    You can see this in action by opening the same room in multiple tabs in Safari or Firefox. Whatever you say in one tab is not replicated to the other tabs.

    Basically, you need to set-up a dedicated campfire user for your service hooks and use the API key assigned to that user.

    If I've completely misunderstood the problem (or you are using a different user's API key) then do let me know.

    Regards, Trev

  2. 2 Posted by Zach on 29 Dec, 2009 03:35 AM

    Zach's Avatar

    That makes sense. Setup an account just for Service Hooks and sure enough it works! Thanks for the quick response - love Propane!

  3. trevor closed this discussion on 29 Dec, 2009 04:09 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac