Make subscription errors visible and avoid a NPE if the public URL is not set

It took me some time to figure out why I wasn't able to subscribe to anything.

I fixed the code to avoid other people struggling with that and to give more feedback to the user.