Chat not updating, often hanging on reload

Marc Guyer's Avatar

Marc Guyer

03 Feb, 2010 10:32 PM

Recently my room hasn't been updating. If I refresh, all of the posts show up since the last hang. That's good, but I'm sure you can see how that's not ideal. Further, most of the time when I right-click-reload, it says 'Connecting...' but just hangs.

I recently bought a license and registered and then this started happening. I'm running the latest version.

  1. Support Staff 1 Posted by trevor on 03 Feb, 2010 10:47 PM

    trevor's Avatar

    Hi Marc,

    sorry it's giving you troubles.

    Propane uses the same rendering engine as Safari so the first thing to check when you have an issue like this is whether you can access your chats in Safari.

    If you can't, then there isn't much Propane can do - and you'll need to track down why Campfire isn't accessible to you.

    If Safari seems to be working properly then the next thing to do is open and see if there are any messages there from Propane - there's always a message about "Old-style plist parser" so if that's all there is then you can ignore it.

    If there are any other messages then I'd appreciate it if you could respond here with the pasted lines.

    Also - when you say "hang", you don't actually mean a beachball do you? I'm assuming that what you mean is that the "Connecting..." message never goes away and there's no ghostly image of the chat behind the connecting message. Right?

    If that's the case then I suspect network issues. Either Campfire is genuinely unavailable or there's a proxy in between you and Campfire that's messing things up. I may as well, ask, are you behind a proxy?

    So, to summarize:

    • does Campfire work in Safari
    • what messages (if any) are in
    • are there any things like proxies that I should be aware of

    Regards, Trevor

  2. 2 Posted by Marc Guyer on 03 Feb, 2010 11:19 PM

    Marc Guyer's Avatar

    Thanks for the thorough response. My question was a bit vague, I see. M' brains not workin' right.

    Anyway -- I think I might have discovered the cause of the problems but I haven't confirmed 100%. It's more of a theory. See, I'm running some unit tests on a web app locally where I'm changing the system time locally to simulate the passage of time. It's pretty cool but it wrecks havoc on gmail, for example.

    I reset the time to about 2 months ago, run some stuff, set it to one month ago, run some stuff, set it back to the correct date/time and done. It's certainly possible that this is hosing propane.

    I wish it would just let me right-click-reload though. I get the attached. No console messages. I have to restart the app. I know that this is a super edge case so no worries if you don't want to deal with it.

  3. Support Staff 3 Posted by trevor on 04 Feb, 2010 12:59 AM

    trevor's Avatar

    Hi Marc,

    I do use dates to decide when a room-list (in the lobby) needs to be refreshed (about every minute) so if you change the system date backwards then I can certainly imagine that it will consider the room-list 'fresh' for a very long time :-)

    That shouldn't affect running chats though.

    For running chats, that's all down to 37signals own Campfire javascript. I don't know too much about how javascript timers are implemented.

    However, if they also set a date based on the 3-second polling interval then again, setting the system date back in time might effectively stop polling.

    BUT we still have the issue of the chat not completely loading. Reloading the chat (or the lobby window) should forcibly reset any timers.

    It's clear that the room html is loading (you can see the ghost of it behind the connection-status overlay) but something is causing Propane to think that the Campfire javascript isn't running (probably that it isn't running).

    I wonder if this is some weird page-caching issue... I'm pretty aggressive about not caching stuff but maybe something has snuck through.

    If you quit and restart Propane after you change the system time does Propane load your chats properly?

    Regards, Trev

  4. 4 Posted by Marc Guyer on 04 Feb, 2010 01:53 AM

    Marc Guyer's Avatar

    It sure does.

  5. 5 Posted by Marc Guyer on 04 Feb, 2010 03:50 PM

    Marc Guyer's Avatar

    In case you want to, you should be able to replicate by running the attached script in terminal with a chat open in propane:

    $ php /path/to/test.php

    Then right-click-reload.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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