Skip to content

Post failed: Unauthorized #31

@leejarvis

Description

@leejarvis

I get this message every time I attempt a gist which requires authentication (ie everything but -a).

Here's the full output:

Posting it to gist...
Error detected while processing function Gist..13_GistPost:
line   73:
Post failed: Unauthorized   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current^@
                              Dload  Upload   Total   Spent    Left  Speed^@^M  0     0    0     0    0     0
     0      0 --:--:-- --:--:-- --:--:--     0^M100   315  100     1  100   314      1    396  0:00:01 --:--:-
-  0:00:01   554^M100   315  100     1  100   314      1    395  0:00:01 --:--:--  0:00:01   553^@HTTP/1.1 401
 Unauthorized^M^@Server: nginx/0.7.67^M^@Date: Sat, 16 Apr 2011 20:41:55 GMT^M^@Content-Type: text/html; chars
et=utf-8^M^@Connection: keep-alive^M^@Status: 401 Unauthorized^M^@X-Runtime: 3ms^M^@Content-Length: 1^M^@Set-C
ookie: _gh_sess=BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--ed7e
add474fd37850b68bd3c08a5c55ad0c3c833; path=/; expires=Fri, 01 Jan 2021 00:00:00 GMT; secure; HttpOnly^M^@Cache
-Control: no-cache^M^@Strict-Transport-Security: max-age=2592000^M^@^M^@

I've tried setting g:github_user and g:github_token explicitly but this makes no different, and it appears the GistPost function has the correct credentials. Am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions