HSLdevcom / navigator-server

Realtime APIs for public transport
http://dev.hsl.fi
Other
9 stars 5 forks source link

SSL/wss: support? #24

Open matiaskorhonen opened 8 years ago

matiaskorhonen commented 8 years ago

I'd really like to use the WebSockets/MQTT subscriptions instead of polling the REST API, but out site (https://tramchallenge.com/) is hosted on HTTPS so I can't do so because it would cause mixed-content warnings (and completely fail in at least some browsers).

Any chance that the WebSockets API might get SSL/TLS support some time soon?

tuukka commented 8 years ago

The need for wss caught me by surprise and we're working on it. Meanwhile, you can use the wss proxy at wss://dev.hsl.fi/mqtt-proxy

matiaskorhonen commented 8 years ago

Thanks!