keybase / keybase/keybase-issues

Reddit proof link returns 502 Bad Gateway

Open
#1,208 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
899
Forks
40
PR merge metrics
No merged PRs in 30d

Description

I was using the keybase CLI version 0.7.2 to prove my identity on Reddit. When I copied and pasted the [generated link](https://www.reddit.com/r/KeybaseProofs/submit?title=My+Keybase+proof+%5Breddit%3Amekaj+%3D+keybase%3Ajmitchell%5D+%28i-dkOXz_d-kcydc34ilo1XLpunNfgTr9VTeyd3lNk6A%29&text=%23%23%23+Keybase+proof%0A%0AI+hereby+claim%3A%0A%0A++*+I+am+%5Bmekaj%5D%28https%3A%2F%2Fwww.reddit.com%2Fuser%2Fmekaj%29+on+reddit.%0A++*+I+am+%5Bjmitchell%5D%28https%3A%2F%2Fkeybase.io%2Fjmitchell%29+on+keybase.%0A++*+I+have+a+public+key+whose+fingerprint+is+2388+3027+B838+45C5+1E3F++EDA4+E8EE+3E1B+CCFD+141C%0A%0ATo+claim+this%2C+I+am+signing+this+object%3A%0A%0A%0A++++%7B%0A++++++++%22body%22%3A+%7B%0A++++++++++++%22client%22%3A+%7B%0A++++++++++++++++%22name%22%3A+%22keybase.io+node.js+client%22%2C%0A++++++++++++++++%22version%22%3A+%220.7.2%22%0A++++++++++++%7D%2C%0A++++++++++++%22key%22%3A+%7B%0A++++++++++++++++%22fingerprint%22%3A+%2223883027b83845c51e3feda4e8ee3e1bccfd141c%22%2C%0A++++++++++++++++%22host%22%3A+%22keybase.io%22%2C%0A++++++++++++++++%22key_id%22%3A+%22E8EE3E1BCCFD141C%22%2C%0A++++++++++++++++%22uid%22%3A+%228b800a0c7b7dc9e0dcbc034b8551d600%22%2C%0A++++++++++++++++%22username%22%3A+%22jmitchell%22%0A++++++++++++%7D%2C%0A++++++++++++%22merkle_root%22%3A+%7B%0A++++++++++++++++%22ctime%22%3A+1414950588%2C%0A++++++++++++++++%22hash%22%3A+%22a650bf9d593985aed38269741a254bda8837c636f61aa3285c85859eba9da21ca8ff89f58d1f5ee09de35d3687a52479a4bb64a62f8558ec7beb87390708c184%22%2C%0A++++++++++++++++%22seqno%22%3A+90938%0A++++++++++++%7D%2C%0A++++++++++++%22service%22%3A+%7B%0A++++++++++++++++%22name%22%3A+%22reddit%22%2C%0A++++++++++++++++%22username%22%3A+%22mekaj%22%0A++++++++++++%7D%2C%0A++++++++++++%22type%22%3A+%22web_service_binding%22%2C%0A++++++++++++%22version%22%3A+1%0A++++++++%7D%2C%0A++++++++%22ctime%22%3A+1414950753%2C%0A++++++++%22expire_in%22%3A+157680000%2C%0A++++++++%22prev%22%3A+%22155f2ca510ce4a0f1e973e93b0cdfbb671b7b589a3de28e8d42b4544674cea49%22%2C%0A++++++++%22seqno%22%3A+10%2C%0A++++++++%22tag%22%3A+%22signature%22%0A++++%7D%0A%0Awith+the+PGP+key+referenced+above%2C+yielding+the+PGP+signature%3A%0A%0A%0A++++-----BEGIN+PGP+MESSAGE-----%0A++++Version%3A+GnuPG+v2%0A++++%0A++++owFVkntQVFUcxxdUKIqUp6KoeHGUCui%2Bzr3nUii0PMbWCUHzn4DtPs6Fyz7dXRY3%0A++++YIwYE9CR0LEcmghaojTERyogmRrFgIKlhTgQPtBRg0GJmMlCtLsMTfLf%2BZ3f9%2Fc9%0A++++v8%2Fvdz70n6Px9rp3f82S7qngcK8LvwuaTZstqBATLJILiyvERKOCzA7PycybEBaH%0A++++GZBL4O0oVrFEmC0Sis2zR8xoojEnstkVi1lV4bFsLIkVR3vknmJZMecgm9WmeLww%0A++++koKQwklWgBSkgQgIRMlI4mkEEaIQIYiiLBE0IaqWuRa7Y9ar2LSnXpHU22SYnEwl%0A++++E69rtSlJql6r5vKnE1CAOM7jIiuwksghXBIFEadoAQJASAyOe4R2ZJtByjMpDjEX%0A++++GY2ehk3IZjAivc1imaYWHYpHo7rTHMABhGpLvD1XreIZgAsyJwGO4iDgkURBkuFY%0A++++muBJQAsSryKyIkMxMkPwPEVCIEIAAYcEnpN4khB5KMuQkwGUCBkghH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1Rn%2F0T0Vn39wOQ59VDgSMK8%2F%0A++++418%3D%0A++++%3DxGu4%0A++++-----END+PGP+MESSAGE-----%0A%0AFinally%2C+I+am+proving+my+reddit+account+by+posting+it+in+%5BKeybaseProofs%5D%28https%3A%2F%2Fwww.reddit.com%2Fr%2FKeybaseProofs%29.%0A) into Chrome version 38.0.2125.111 I got a "502 Bad Gateway cloudflare-nginx" response.

Cloudflare has a [KB article](https://support.cloudflare.com/hc/en-us/articles/200171846-Why-am-I-getting-a-cloudflare-nginx-502-or-504-gateway-error-) about this, so I opened an issue with them and sent my `traceroute reddit.com` output.

I worked around it by URI decoding the query string values and pasting the results into the Reddit Keybase proof submission form. My proof is [here](https://www.reddit.com/r/KeybaseProofs/comments/2l2xdp/my_keybase_proof_redditmekaj_keybasejmitchell/) and was accepted by keybase.

If this is a common problem maybe keybase CLI should generate more fool-proof output than a link.

Contributor guide

No contributing guide indexed for this repository

Research direction

No source file or test is named. Start by reproducing the Reddit proof link generated by keybase CLI 0.7.2 and compare the encoded query with the URI-decoded values that worked in Reddit; done means the generated proof flow avoids the reported 502 or clearly identifies the external failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.