felt / qgis-plugin

20 stars 5 forks source link

Wrong link to the login page? #86

Open MieWinstrup opened 2 weeks ago

MieWinstrup commented 2 weeks ago

When I try to click on 'Log In':

image

It tries to open http://127.0.0.1:8989/?code=733272&expires_in=60 , But it can't:

image
ChrisLoer commented 2 weeks ago

Hmm, the Add to Felt plugin is supposed to open a local server on port 8989 just for the course of the authentication interaction. The fact that you're unable to connect makes me think maybe the port was taken by something else? I don't know what OS you're on, but on macOS I would check like this:

chris@feltbook qgis-plugin % sudo lsof -i -P | grep LISTEN | grep :8989
QGIS      19172          chris   69u  IPv4 0x687f0da173a945c6      0t0    TCP localhost:8989 (LISTEN)

Only during the period it's waiting for login to Felt, I'd expect to see QGIS listening on 8989. If you see something else, a port collision is probably the problem.

I know this isn't very satisfying, but a simple troubleshooting step is always uninstalling/reinstalling the plugin and restarting QGIS.

cc @nyalldawson