Trouble connecting unity example to heroku hosted server

Hi, I'm having trouble connecting my client to a server hosted on heroku.
If i run it locally using 'heroku local web' it works fine. But when I host it on heroku it hangs when connecting and never comes back. If i tail the heroku logs i can see connections when I try to access it via a web page, but nothing when trying to connect via the unity code.

use ws:// or wss://