Hi there icenews! First of all, please, uncomment that block of code you commented :)
According to the subject: this error occurs because you'r using IP address to reach your toaster. And that is a bug over there. We already fixed it and the fix will be available in the new package, we will release this Wednesday.
But you can make your toaster work! Just use a domain name instead of the IP address