Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login not working #372

Open
LondonAppDev opened this issue Nov 3, 2016 · 22 comments
Open

Login not working #372

LondonAppDev opened this issue Nov 3, 2016 · 22 comments

Comments

@LondonAppDev
Copy link

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.

@toffalori
Copy link

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

@jeffkowalski
Copy link

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

@jackhamm
Copy link

jackhamm commented Nov 9, 2016

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

@gentoolovers
Copy link

I have the same issue.On gentoo.

@mojoman
Copy link

mojoman commented Nov 14, 2016

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

@sunisdown
Copy link

same issue. On macOS

the response data is csrf_failure

@ghost
Copy link

ghost commented Nov 15, 2016

+1 (Debian testing and FreeBSD 11-RELEASE)

@Jfeng3
Copy link

Jfeng3 commented Nov 16, 2016

+1

@monk-blade
Copy link

Same issue.

@edgargalvan
Copy link

Same on Ubuntu 16.04 LTS & OS X El Capitan

@pipakin
Copy link

pipakin commented Nov 18, 2016

#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.

@ghost
Copy link

ghost commented Nov 22, 2016

@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.

@pipakin
Copy link

pipakin commented Nov 23, 2016

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.

@eanogueyra
Copy link

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.

@liveconvinced
Copy link

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.

@mdhighfi
Copy link

mdhighfi commented Feb 4, 2017

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

same as @liveconvinced above.

@ghost
Copy link

ghost commented Feb 5, 2017

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

@mdhighfi
Copy link

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.

@semtle
Copy link

semtle commented May 26, 2017

I have the same issue with mdhighfi...

@Elinpf
Copy link

Elinpf commented Jun 26, 2017

Tanks very much !

@d7bh
Copy link

d7bh commented Sep 26, 2017

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.

@jameswq
Copy link

jameswq commented Mar 16, 2018

I have the same issue +1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests