Twitter authentication not working

I’m trying to get Twitter notifications working, but openhab keeps timing out with the error “Twitter authentication failed. Please use OSGi console to restart the and re-initiate the authorization process!”

I can successfully retrieve the PIN from the URL listed in the openhab log, and then I create a file with the name containing the line pin=xxxxx in the /etc/openhab directory (I’ve done the apt-get install in linux).

I’ve done this easily within the 5 minutes allowed, multiple times now, and yet openhab doesnt seem to be picking it up. I tried doing it as a local user and root.

Any suggestions ?