mariano / pyfire

A python implementation of the Campfire API
MIT License
37 stars 5 forks source link

Trouble live streaming behind proxy #7

Open dholt opened 12 years ago

dholt commented 12 years ago

Hi,

I don't seem to get any output from the live streaming example when I run it behind a proxy server (with authentication). The other examples work, including the transcript streaming and the live streaming example is able to connect and join the room. Is there a different connection method being used in the live streaming case to retrieve messages? The live streaming example seems to pick up my proxy settings from the $http_proxy environment variable like the other examples but I don't actually get any data.

Thanks,

Doug

mariano commented 12 years ago

Yeah Twisted proxy support is not exactly great. I haven't tried implementing the few examples out there though, mainly because you are the first person to request proxy support :)

We may need to investigate this further. Are we looking for only HTTPS with authentication proxys? No socks?

dholt commented 12 years ago

This is just for an HTTPS proxy. I can still make the connection and join the room, but whatever is different about fetching updates from the live stream is not working with the proxy.