markwal / OctoPrint-PolarCloud

OctoPrint plugin that connects OctoPrint to the Polar3D cloud. You easily monitor your printer from outside your LAN without arcane setup of port forwarding, etc. Plus, take advantage of the rapidly evolving Polar Cloud capabilities and UI.
GNU Affero General Public License v3.0
15 stars 8 forks source link

Failed to register OctoPrint with the Polar Cloud #48

Closed mratingittar closed 4 years ago

mratingittar commented 5 years ago

Whenever I try to connect my printer to Polar Cloud I get this error message:

"Failed to register OctoPrint with the Polar Cloud. The e-mail address and/or the PIN are not recognized by Polar Cloud."

This is my log:

2019-08-18 18:51:48,341 - octoprint.plugins.polarcloud - DEBUG - key_filename: /home/pi/.octoprint/data/polarcloud/p3d_key 2019-08-18 18:51:48,346 - octoprint.plugins.polarcloud - INFO - emit register 2019-08-18 18:51:49,497 - octoprint.plugins.polarcloud - DEBUG - on_register_response: {u'status': u'FAILED', u'reason': u'EMAIL_PIN_ERROR'} 2019-08-18 18:52:01,945 - octoprint.plugins.polarcloud - DEBUG - self._socket: <socketIO_client.SocketIO object at 0x6c399310> 2019-08-18 18:52:01,948 - octoprint.plugins.polarcloud - DEBUG - _wait_and_process

I have tried uninstalling and reinstalling the plugin once, and tried another e-mail address on Polar Cloud. Anything else I can try?

JaredWith1r commented 4 years ago

I am having this same issue, looking for any updates.

markwal commented 4 years ago

Hmmmm.... Is it a printer that has ever been connected to the Polar Cloud? Does it already show in the Polar UI? One possibility is that OctoPrint has stale data stored about a previous mismatching registration. I could walk you through cleaning out the plugin data, but perhaps I should add a button to do that.

JaredWith1r commented 4 years ago

It has never been connected to Polar Cloud, and it was not in the UI.

However, I went to Plugin Manager and cleared the plugin data. Went back to my Polar Cloud account and noticed my PIN had not changed when I changed it manually. So I used the pin it said, and it works now!

Not sure if that is an issue or what, but at least I am in now.