geeknote icon indicating copy to clipboard operation
geeknote copied to clipboard

Login not working

Open LondonAppDev opened this issue 9 years ago • 22 comments

I just downloaded geeknote and installed from source.

It looks like the login oauth flow is broken.

I enter my login email address, and then it asks me for the two-factor auth code (even when that's not enabled), and then the log just outputs this:

2016-11-03 15:16:33,385 oauth allowAccess 251 : Unexpected response status on allowing access 302 != 403

Will try debug myself a bit later.

LondonAppDev avatar Nov 03 '16 15:11 LondonAppDev

I have exactly the same issue. Any updates on this?

toffalori avatar Nov 05 '16 21:11 toffalori

Does it also fail on in this branch: 3a5d2801313faacdf0ceb63d29190a910de46618 ?

jeffkowalski avatar Nov 05 '16 21:11 jeffkowalski

I am also experiencing this problem attempting to login. In my setup I also have 2FA enabled.

jackhamm avatar Nov 09 '16 01:11 jackhamm

I have the same issue.On gentoo.

gentoolovers avatar Nov 09 '16 14:11 gentoolovers

Same issue here on OS X, clone from master, no two-factor auth.

mojoman avatar Nov 14 '16 07:11 mojoman

same issue. On macOS

the response data is csrf_failure

sunisdown avatar Nov 15 '16 06:11 sunisdown

+1 (Debian testing and FreeBSD 11-RELEASE)

ghost avatar Nov 15 '16 09:11 ghost

+1

Jfeng3 avatar Nov 16 '16 06:11 Jfeng3

Same issue.

monk-blade avatar Nov 17 '16 19:11 monk-blade

Same on Ubuntu 16.04 LTS & OS X El Capitan

edgargalvan avatar Nov 17 '16 19:11 edgargalvan

https://github.com/VitaliyRodnenko/geeknote/pull/374

This should fix it. It was a csrf token failure. Evernote was outputting two csrf token hidden fields that needed to be sent along with the request.

Or alternatively feel free to just use my branch. It doesn't look like pull requests have been accepted here for some time.

pipakin avatar Nov 18 '16 23:11 pipakin

@pipakin: I can confirm that your fix works. It is still asking for the second factor, but just hitting enter successfully logged me in. Subsequent commands are working fine.

ghost avatar Nov 22 '16 10:11 ghost

Yup, the two factor is a different thing. It should work either way. Internally they changed the process to always return a 302 (redirect) to send you to an analytics page. Before it seems that only happened with tfa. Now it always tries the tfa but if you leave it blank it will work if you don't have tfa enabled.

pipakin avatar Nov 23 '16 17:11 pipakin

I just installed Geeknote and have the same two-factor login problem on Kubuntu 16.04. I have applied the above mentioned fix on the geeknote/oauth.py file without success.

eanogueyra avatar Dec 17 '16 02:12 eanogueyra

installed today on OS X 10.11.6 Despite installation going smoothly, all that happens is prompts for authentication... Every time I authenticate, nothing happens. I'm returned back to the command prompt.

Sure hope it can be resolved soon. Don't know what I could do to troubleshoot further.

liveconvinced avatar Jan 01 '17 21:01 liveconvinced

I also installed Geeknote on OS X 10.11.6 and I am simply returned to the prompt after auth.

same as @liveconvinced above.

mdhighfi avatar Feb 04 '17 04:02 mdhighfi

People: Go to Graphs -> Network on this page. Then you will see that this repository is terribly outdated.

The issue has been fixed for quiet some time here: https://github.com/jeffkowalski/geeknote

ghost avatar Feb 05 '17 11:02 ghost

It didn't work and I gave up (don't remember the details). Then today I tried again. I tried:

brew install --HEAD https://raw.githubusercontent.com/jeffkowalski/geeknote/master/geeknote.rb

[insert brew doing many things here]

python
-c
import setuptools, tokenize
__file__ = 'setup.py'
exec(compile(getattr(tokenize, 'open', open)(__file__).read()
  .replace('\r\n', '\n'), __file__, 'exec'))
--no-user-cfg
install
--prefix=/usr/local/Cellar/geeknote/HEAD-2b5f8fc/libexec/vendor
--single-version-externally-managed
--record=installed.txt

error in docker-py setup command: Invalid environment marker: python_version < "3.5"

Do not report this issue to Homebrew/brew or Homebrew/core!

Looked up the error and didn't find much. I then remembered that when this failed a few weeks ago I tried installing a later version of Python, but got more errors going that route.

Next I tried replacing the repo listed in the geeknote installation instructions with https://github.com/jeffkowalski/geeknote:

> git clone git://github.com/jeffkowalski/geeknote
...
> cd geeknote/
> sudo python setup.py install
...
> geeknote login
Traceback (most recent call last):
  File "/usr/local/bin/geeknote", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 2793, in <module>
    working_set.require(__requires__)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 673, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py", line 576, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: lxml

I did a quick search and found this installation issue which is not the same as mine. Going to take a break from messing with this again and try some other tools for now. But I'll probably revisit geeknote when I'm bold enough to try again.

mdhighfi avatar Mar 18 '17 18:03 mdhighfi

I have the same issue with mdhighfi...

semtle avatar May 26 '17 08:05 semtle

Tanks very much !

Elinpf avatar Jun 26 '17 09:06 Elinpf

Hi, If you have still issues you need to install this version: https://github.com/jeffkowalski/geeknote and compile libs with python 2.7: https://pypi.python.org/pypi/proxyenv https://pypi.python.org/pypi/lxml/2.3 then install geeknote with python 2.7.

d7bh avatar Sep 26 '17 19:09 d7bh

I have the same issue +1

jameswq avatar Mar 16 '18 04:03 jameswq