vermiculus / sx.el

Stack Exchange for Emacs
http://stackapps.com/q/3950
709 stars 40 forks source link

seems sx.el does not support proxy #304

Closed stardiviner closed 8 years ago

stardiviner commented 8 years ago

I export shell environment variable like HTTP_PROXY for Emacs. I found sx.el will get this error:

<p>Your cache administrator is <a href="mailto:.....@gmail.com?subject=CacheErrorInfo%20-%20ERR_INVALID_REQ&amp;body=.....</a>.</p>
<br>
</div>

<script language="javascript">
if ('GET' != '[unknown method]') document.getElementById('missing-method').style.display = 'none';
if ('https://api.stackexchange.com/2.2/questions?site=emacs' != '[no URL]') document.getElementById('missing-url').style.display = 'none';
if ('https' != '[unknown protocol]') document.getElementById('missing-protocol').style.display = 'none';
</script>

<hr>
<div id="footer">
<p>Generated Fri, 16 Oct 2015 06:59:56 GMT by qingyunProxy005 (squid)</p>
<!-- ERR_INVALID_REQ -->
</div>
</body></html>

PS: ... hide some personal info.

Malabarba commented 8 years ago

Is that the browser authentication page you get from sx-authenticate?

stardiviner commented 8 years ago

No, it's after command sx-tab-hot or other similar commands.

vermiculus commented 8 years ago

I'm curious -- do you see a bunch of JSON when you point your browser right at https://api.stackexchange.com/2.2/questions?site=emacs?

stardiviner commented 8 years ago

@vermiculus yes. a bunch of JSON.

vermiculus commented 8 years ago

And I assume you've tried cleaning out the cache and firing off sx-authenticate?

What does curl give you for the same API call? (Maybe it's the environment variable that's messing this up?)

Have you tried just pulling a simple page down with sx-request-get-url? What happens then?

stardiviner commented 8 years ago

@vermiculus I did passed sx-authenticate. After call API with curl I got this output:

https://flic.kr/p/zSPjKx

And after executing elisp code sx-request-get-url. I got correct page

(print (sx-request-get-url "https://api.stackexchange.com/2.2/questions?site=emacs"))

Here is the output

"{\"items\":[{\"tags\":[\"org-mode\",\"org-capture\"],\"owner\":{\"reputation\":107,\"user_id\":5478,\"user_type\":\"registered\",\"accept_rate\":60,\"profile_image\":\"https://www.gravatar.com/avatar/7b0c2e49d535e1d244954b8cd81cf2b1?s=128&d=identicon&r=PG\",\"display_name\":\"kgo\",\"link\":\"http://emacs.stackexchange.com/users/5478/kgo\"},\"is_answered\":false,\"view_count\":78,\"answer_count\":1,\"score\":4,\"last_activity_date\":1445043103,\"creation_date\":1434577712,\"last_edit_date\":1434580240,\"question_id\":13243,\"link\":\"http://emacs.stackexchange.com/questions/13243/how-to-use-org-capture-to-add-a-task-and-automatically-add-parents-property\",\"title\":\"How to use Org Capture to add a task *and* automatically add parent&#39;s property\"},{\"tags\":[\"package-repositories\"],\"owner\":{\"reputation\":33,\"user_id\":9568,\"user_type\":\"registered\",\"profile_image\":\"https://www.gravatar.com/avatar/eb95ffc417ea1a8f577d12bbad58a29d?s=128&d=identicon&r=PG\",\"display_name\":\"roman-kashitsyn\",\"link\":\"http://emacs.stackexchange.com/users/9568/roman-kashitsyn\"},\"is_answered\":true,\"view_count\":51,\"accepted_answer_id\":16737,\"answer_count\":2,\"score\":6,\"last_activity_date\":1445039997,\"creation_date\":1442598538,\"question_id\":16730,\"link\":\"http://emacs.stackexchange.com/questions/16730/how-to-setup-a-private-package-repository\",\"title\":\"How to setup a private package repository?\"},{\"tags\":[\"build\",\"emacs24\",\"emacs-snapshot\"],\"owner\":{\"reputation\":5882,\"user_id\":227,\"user_type\":\"registered\",\"accept_rate\":67,\"profile_image\":\"https://i.stack.imgur.com/0RwfY.jpg?s=128&g=1\",\"display_name\":\"lunaryorn\",\"link\":\"http://emacs.stackexchange.com/users/227/lunaryorn\"},\"is_answered\":true,\"view_count\":69,\"answer_count\":1,\"score\":4,\"last_activity_date\":1445039533,\"creation_date\":1437121312,\"question_id\":14043,\"link\":\"http://emacs.stackexchange.com/questions/14043/build-a-minimal-emacs-25-for-unit-testing\",\"title\":\"Build a minimal Emacs 25 for unit testing\"},{\"tags\":[\"customize\"],\"owner\":{\"reputation\":33,\"user_id\":9558,\"user_type\":\"registered\",\"profile_image\":\"https://i.stack.imgur.com/5AHJB.jpg?s=128&g=1\",\"display_name\":\"Dexter Morgan\",\"link\":\"http://emacs.stackexchange.com/users/9558/dexter-morgan\"},\"is_answered\":true,\"view_count\":87,\"answer_count\":2,\"score\":1,\"last_activity_date\":1445039447,\"creation_date\":1444855335,\"last_edit_date\":1444864480,\"question_id\":17386,\"link\":\"http://emacs.stackexchange.com/questions/17386/display-all-setq-possibilities\",\"title\":\"Display all setq possibilities\"},{\"tags\":[\"package\",\"package-repositories\"],\"owner\":{\"reputation\":994,\"user_id\":448,\"user_type\":\"registered\",\"accept_rate\":33,\"profile_image\":\"https://www.gravatar.com/avatar/c178ede8c192f372ab361ec83befc8be?s=128&d=identicon&r=PG\",\"display_name\":\"elemakil\",\"link\":\"http://emacs.stackexchange.com/users/448/elemakil\"},\"is_answered\":true,\"view_count\":192,\"accepted_answer_id\":606,\"answer_count\":2,\"score\":4,\"last_activity_date\":1445037810,\"creation_date\":1412248128,\"last_edit_date\":1412248519,\"question_id\":604,\"link\":\"http://emacs.stackexchange.com/questions/604/problems-installing-packages-via-elpa-that-require-cl-lib-1-0\",\"title\":\"Problems installing packages via elpa that require cl-lib-1.0\"},{\"tags\":[\"org-mode\",\"org-export\",\"images\"],\"owner\":{\"reputation\":38,\"user_id\":2207,\"user_type\":\"registered\",\"profile_image\":\"https://www.gravatar.com/avatar/7497e2df8f20209f3f09f26a9e8ff6df?s=128&d=identicon&r=PG&f=1\",\"display_name\":\"sooheon\",\"link\":\"http://emacs.stackexchange.com/users/2207/sooheon\"},\"is_answered\":false,\"view_count\":7,\"answer_count\":1,\"score\":2,\"last_activity_date\":1445034688,\"creation_date\":1445032272,\"question_id\":17432,\"link\":\"http://emacs.stackexchange.com/questions/17432/org-preview-latex-fragment-in-higher-resolution\",\"title\":\"org-preview-latex-fragment in higher resolution\"},{\"tags\":[\"themes\",\"spacemacs\"],\"owner\":{\"reputation\":120,\"user_id\":9294,\"user_type\":\"registered\",\"profile_image\":\"https://www.gravatar.com/avatar/430d169e29cbd04c38dfb07d17ac9cfd?s=128&d=identicon&r=PG\",\"display_name\":\"Running Turtle\",\"link\":\"http://emacs.stackexchange.com/users/9294/running-turtle\"},\"is_answered\":false,\"view_count\":14,\"answer_count\":0,\"score\":0,\"last_activity_date\":1445029731,\"creation_date\":1445029731,\"question_id\":17431,\"link\":\"http://emacs.stackexchange.com/questions/17431/how-do-i-customise-a-color-theme\",\"title\":\"How do I customise a color theme?\"},{\"tags\":[\"elisp\",\"key-bindings\"],\"owner\":{\"reputation\":4730,\"user_id\":306,\"user_type\":\"registered\",\"profile_image\":\"https://www.gravatar.com/avatar/059a5820c6189aa2661f80f3abc62112?s=128&d=identicon&r=PG\",\"display_name\":\"tarsius\",\"link\":\"http://emacs.stackexchange.com/users/306/tarsius\"},\"is_answered\":false,\"view_count\":13,\"answer_count\":0,\"score\":1,\"last_activity_date\":1445028946,\"creation_date\":1445028946,\"question_id\":17430,\"link\":\"http://emacs.stackexchange.com/questions/17430/how-to-implement-remove-key-to-completely-undo-the-effect-of-define-key\",\"title\":\"How to implement remove-key to completely undo the effect of define-key\"},{\"tags\":[\"org-mode\",\"org-babel\",\"org-publish\"],\"owner\":{\"reputation\":128,\"user_id\":8424,\"user_type\":\"registered\",\"profile_image\":\"https://www.gravatar.com/avatar/ec3b4d2db3e6e33b498deb38592e862d?s=128&d=identicon&r=PG\",\"display_name\":\"Julien Chastang\",\"link\":\"http://emacs.stackexchange.com/users/8424/julien-chastang\"},\"is_answered\":true,\"view_count\":18,\"answer_count\":1,\"score\":1,\"last_activity_date\":1445027451,\"creation_date\":1445013519,\"question_id\":17427,\"link\":\"http://emacs.stackexchange.com/questions/17427/is-it-possible-to-include-babel-header-line-when-publishing-org-mode-files-to-ht\",\"title\":\"Is it possible to include Babel header line when publishing Org-mode files to HTML?\"},{\"tags\":[\"key-bindings\",\"functions\"],\"owner\":{\"reputation\":33,\"user_id\":9558,\"user_type\":\"registered\",\"profile_image\":\"https://i.stack.imgur.com/5AHJB.jpg?s=128&g=1\",\"display_name\":\"Dexter Morgan\",\"link\":\"http://emacs.stackexchange.com/users/9558/dexter-morgan\"},\"is_answered\":true,\"view_count\":53,\"accepted_answer_id\":17416,\"answer_count\":2,\"score\":1,\"last_activity_date\":1445025109,\"creation_date\":1444951007,\"last_edit_date\":1445002407,\"question_id\":17415,\"link\":\"http://emacs.stackexchange.com/questions/17415/are-keybindings-mode-dependent-how-can-i-customize-this\",\"title\":\"Are keybindings mode-dependent? How can I customize this?\"},{\"tags\":[\"common-lisp\",\"direx\"],\"owner\":{\"reputation\":258,\"user_id\":6915,\"user_type\":\"registered\",\"accept_rate\":95,\"profile_image\":\"https://i.stack.imgur.com/JJYJ5.gif?s=128&g=1\",\"display_name\":\"ReneFroger\",\"link\":\"http://emacs.stackexchange.com/users/6915/renefroger\"},\"is_answered\":false,\"view_count\":13,\"answer_count\":0,\"score\":0,\"last_activity_date\":1445023265,\"creation_date\":1445023265,\"question_id\":17428,\"link\":\"http://emacs.stackexchange.com/questions/17428/direx-not-working-cl-call-next-method-only-inside-primary-and-around-methods\",\"title\":\"Direx not working, cl-call-next-method only inside primary and around methods\"},{\"tags\":[\"org-mode\",\"copy-paste\",\"formatting\",\"html\"],\"owner\":{\"reputation\":460,\"user_id\":7097,\"user_type\":\"registered\",\"accept_rate\":64,\"profile_image\":\"https://www.gravatar.com/avatar/bb4463b3ffb333cf95adb7ad88defa30?s=128&d=identicon&r=PG\",\"display_name\":\"Xiang Ji\",\"link\":\"http://emacs.stackexchange.com/users/7097/xiang-ji\"},\"is_answered\":true,\"view_count\":160,\"accepted_answer_id\":12124,\"answer_count\":1,\"score\":5,\"last_activity_date\":1445023062,\"creation_date\":1430737079,\"last_edit_date\":1430771808,\"question_id\":12121,\"link\":\"http://emacs.stackexchange.com/questions/12121/org-mode-parsing-rich-html-directly-when-pasting\",\"title\":\"Org mode - Parsing rich HTML directly when pasting?\"},{\"tags\":[\"key-bindings\",\"bookmarks\"],\"owner\":{\"reputation\":188,\"user_id\":2389,\"user_type\":\"registered\",\"accept_rate\":71,\"profile_image\":\"https://www.gravatar.com/avatar/9d232cc5abe46092d3972d4f85833e42?s=128&d=identicon&r=PG\",\"display_name\":\"user4035\",\"link\":\"http://emacs.stackexchange.com/users/2389/user4035\"},\"is_answered\":true,\"view_count\":41,\"accepted_answer_id\":17414,\"answer_count\":1,\"score\":0,\"last_activity_date\":1445017282,\"creation_date\":1444943434,\"question_id\":17413,\"link\":\"http://emacs.stackexchange.com/questions/17413/cant-establish-a-hook-for-bookmark-bmenu-mode\",\"title\":\"Can&#39;t establish a hook for bookmark-bmenu-mode\"},{\"tags\":[\"mode-line\",\"directories\"],\"owner\":{\"reputation\":43,\"user_id\":2145,\"user_type\":\"registered\",\"profile_image\":\"https://i.stack.imgur.com/d5ZTS.png?s=128&g=1\",\"display_name\":\"secondplanet\",\"link\":\"http://emacs.stackexchange.com/users/2145/secondplanet\"},\"is_answered\":true,\"view_count\":468,\"accepted_answer_id\":2346,\"answer_count\":4,\"score\":8,\"last_activity_date\":1445011845,\"creation_date\":1413687948,\"question_id\":2338,\"link\":\"http://emacs.stackexchange.com/questions/2338/how-can-i-display-the-parent-directory-of-the-current-file-in-the-modeline\",\"title\":\"How can I display the parent directory of the current file in the modeline?\"},{\"tags\":[\"ansi-term\",\"htmlfontify\"],\"owner\":{\"reputation\":213,\"user_id\":2787,\"user_type\":\"registered\",\"accept_rate\":25,\"profile_image\":\"https://i.stack.imgur.com/qy9AD.png?s=128&g=1\",\"display_name\":\"ceving\",\"link\":\"http://emacs.stackexchange.com/users/2787/ceving\"},\"is_answered\":false,\"view_count\":12,\"answer_count\":0,\"score\":1,\"last_activity_date\":1445008493,\"creation_date\":1445008493,\"question_id\":17423,\"link\":\"http://emacs.stackexchange.com/questions/17423/how-to-htmlfontify-an-ansi-term-buffer\",\"title\":\"How to htmlfontify an ansi-term buffer?\"},{\"tags\":[\"files\",\"revert-buffer\"],\"owner\":{\"reputation\":185,\"user_id\":195,\"user_type\":\"registered\",\"profile_image\":\"https://www.gravatar.com/avatar/49c5bd577a2d7ef0628c8ceb90b8c7ae?s=128&d=identicon&r=PG\",\"display_name\":\"Fernando Briano\",\"link\":\"http://emacs.stackexchange.com/users/195/fernando-briano\"},\"is_answered\":true,\"view_count\":4700,\"accepted_answer_id\":171,\"answer_count\":5,\"score\":14,\"last_activity_date\":1445008341,\"creation_date\":1411569820,\"last_edit_date\":1411875527,\"question_id\":169,\"link\":\"http://emacs.stackexchange.com/questions/169/how-do-i-reload-a-file-in-a-buffer\",\"title\":\"How do I reload a file in a buffer?\"},{\"tags\":[\"elisp\",\"functions\"],\"owner\":{\"reputation\":188,\"user_id\":2389,\"user_type\":\"registered\",\"accept_rate\":71,\"profile_image\":\"https://www.gravatar.com/avatar/9d232cc5abe46092d3972d4f85833e42?s=128&d=identicon&r=PG\",\"display_name\":\"user4035\",\"link\":\"http://emacs.stackexchange.com/users/2389/user4035\"},\"is_answered\":true,\"view_count\":64,\"accepted_answer_id\":17421,\"answer_count\":2,\"score\":2,\"last_activity_date\":1445006959,\"creation_date\":1444981125,\"question_id\":17420,\"link\":\"http://emacs.stackexchange.com/questions/17420/how-to-pass-a-parameter-together-with-function\",\"title\":\"How to pass a parameter together with function\"},{\"tags\":[\"ctags\"],\"owner\":{\"reputation\":192,\"user_id\":5142,\"user_type\":\"registered\",\"profile_image\":\"https://www.gravatar.com/avatar/ff85ed037ab03d87e0af921e8ec4bf5f?s=128&d=identicon&r=PG\",\"display_name\":\"fommil\",\"link\":\"http://emacs.stackexchange.com/users/5142/fommil\"},\"is_answered\":false,\"view_count\":21,\"answer_count\":1,\"score\":0,\"last_activity_date\":1445003260,\"creation_date\":1439814012,\"last_edit_date\":1439815005,\"question_id\":14808,\"link\":\"http://emacs.stackexchange.com/questions/14808/how-to-restrict-find-tag-regexp-to-search-only-the-symbol-part-of-tags\",\"title\":\"How to restrict find-tag-regexp to search only the symbol part of TAGS\"},{\"tags\":[\"images\",\"eww\"],\"owner\":{\"reputation\":128,\"user_id\":9144,\"user_type\":\"registered\",\"profile_image\":\"https://www.gravatar.com/avatar/2e6c56a8b9908be70a4c2515572f9774?s=128&d=identicon&r=PG\",\"display_name\":\"e19293001\",\"link\":\"http://emacs.stackexchange.com/users/9144/e19293001\"},\"is_answered\":true,\"view_count\":29,\"answer_count\":1,\"score\":5,\"last_activity_date\":1444973495,\"creation_date\":1444962899,\"last_edit_date\":1444973495,\"question_id\":17417,\"link\":\"http://emacs.stackexchange.com/questions/17417/how-to-save-images-from-buffer\",\"title\":\"How to save images from buffer?\"},{\"tags\":[\"elisp\",\"key-bindings\"],\"owner\":{\"reputation\":190,\"user_id\":4036,\"user_type\":\"registered\",\"accept_rate\":75,\"profile_image\":\"https://www.gravatar.com/avatar/800ec229e2df6bf517fc138c89ea8b6e?s=128&d=identicon&r=PG&f=1\",\"display_name\":\"godblessfq\",\"link\":\"http://emacs.stackexchange.com/users/4036/godblessfq\"},\"is_answered\":true,\"view_count\":71,\"accepted_answer_id\":16364,\"answer_count\":1,\"score\":3,\"last_activity_date\":1444972855,\"creation_date\":1441469545,\"last_edit_date\":1444972855,\"question_id\":16362,\"link\":\"http://emacs.stackexchange.com/questions/16362/how-to-set-a-key-binding-conditional-to-evaluate-a-lisp-expression\",\"title\":\"How to set a key binding conditional to evaluate a Lisp expression\"},{\"tags\":[\"org-mode\",\"line-break\",\"outline-mode\",\"todo\"],\"owner\":{\"reputation\":702,\"user_id\":2494,\"user_type\":\"registered\",\"accept_rate\":81,\"profile_image\":\"https://i.stack.imgur.com/NEN3E.png?s=128&g=1\",\"display_name\":\"incandescentman\",\"link\":\"http://emacs.stackexchange.com/users/2494/incandescentman\"},\"is_answered\":true,\"view_count\":90,\"answer_count\":1,\"score\":6,\"last_activity_date\":1444966098,\"creation_date\":1434834033,\"last_edit_date\":1434995125,\"question_id\":13311,\"link\":\"http://emacs.stackexchange.com/questions/13311/make-org-blank-before-new-entry-distinguish-between-a-todo-list-and-a-text-outli\",\"title\":\"make org-blank-before-new-entry distinguish between a TODO list and a text outline?\"},{\"tags\":[\"osx\",\"path\"],\"owner\":{\"reputation\":1,\"user_id\":3909,\"user_type\":\"registered\",\"profile_image\":\"https://www.gravatar.com/avatar/1a3a58d172d43802049db322ce250f14?s=128&d=identicon&r=PG&f=1\",\"display_name\":\"Jay\",\"link\":\"http://emacs.stackexchange.com/users/3909/jay\"},\"is_answered\":false,\"view_count\":58,\"answer_count\":1,\"score\":0,\"last_activity_date\":1444966016,\"creation_date\":1439642218,\"question_id\":14766,\"link\":\"http://emacs.stackexchange.com/questions/14766/why-does-emacs-app-on-mac-os-x-find-the-ctags-executable-inside-xcode-app\",\"title\":\"Why does Emacs.app (on Mac OS X) find the ctags executable inside Xcode.app?\"},{\"tags\":[\"helm\",\"keyboard-macros\"],\"owner\":{\"reputation\":16,\"user_id\":8471,\"user_type\":\"registered\",\"profile_image\":\"https://www.gravatar.com/avatar/8440dc891b994c4e127b4ac3d50359d0?s=128&d=identicon&r=PG&f=1\",\"display_name\":\"wttwm\",\"link\":\"http://emacs.stackexchange.com/users/8471/wttwm\"},\"is_answered\":false,\"view_count\":45,\"answer_count\":1,\"score\":2,\"last_activity_date\":1444955218,\"creation_date\":1439606894,\"last_edit_date\":1439614936,\"question_id\":14762,\"link\":\"http://emacs.stackexchange.com/questions/14762/how-can-i-enter-some-text-in-a-keyboard-macro-that-uses-helm-mode\",\"title\":\"How can I enter some text in a keyboard macro that uses helm mode?\"},{\"tags\":[\"org-mode\",\"org-agenda\"],\"owner\":{\"reputation\":1051,\"user_id\":35,\"user_type\":\"registered\",\"accept_rate\":82,\"profile_image\":\"https://www.gravatar.com/avatar/18b80f3021a241d9b85c236dafbcd64b?s=128&d=identicon&r=PG\",\"display_name\":\"Ryan\",\"link\":\"http://emacs.stackexchange.com/users/35/ryan\"},\"is_answered\":true,\"view_count\":25,\"answer_count\":1,\"score\":1,\"last_activity_date\":1444944572,\"creation_date\":1444679927,\"question_id\":17323,\"link\":\"http://emacs.stackexchange.com/questions/17323/org-mode-hide-tags-in-agenda\",\"title\":\"Org-mode hide tags in agenda\"},{\"tags\":[\"ediff\"],\"owner\":{\"reputation\":128,\"user_id\":9682,\"user_type\":\"registered\",\"profile_image\":\"https://www.gravatar.com/avatar/a359f1e941b9651d284a7840edbe3228?s=128&d=identicon&r=PG\",\"display_name\":\"denys\",\"link\":\"http://emacs.stackexchange.com/users/9682/denys\"},\"is_answered\":true,\"view_count\":74,\"accepted_answer_id\":17412,\"answer_count\":3,\"score\":5,\"last_activity_date\":1444941659,\"creation_date\":1444658517,\"last_edit_date\":1444787833,\"question_id\":17316,\"link\":\"http://emacs.stackexchange.com/questions/17316/how-to-kill-ediffs-buffers-on-quit\",\"title\":\"How to kill ediff&#39;s buffers on quit?\"},{\"tags\":[\"org-agenda\",\"calendar\"],\"owner\":{\"reputation\":107,\"user_id\":5478,\"user_type\":\"registered\",\"accept_rate\":60,\"profile_image\":\"https://www.gravatar.com/avatar/7b0c2e49d535e1d244954b8cd81cf2b1?s=128&d=identicon&r=PG\",\"display_name\":\"kgo\",\"link\":\"http://emacs.stackexchange.com/users/5478/kgo\"},\"is_answered\":false,\"view_count\":163,\"answer_count\":1,\"score\":2,\"last_activity_date\":1444940763,\"creation_date\":1430155202,\"last_edit_date\":1434545554,\"question_id\":10965,\"link\":\"http://emacs.stackexchange.com/questions/10965/easiest-way-to-customize-holidays-that-appear-in-org-agenda\",\"title\":\"Easiest way to customize holidays that appear in org-agenda\"},{\"tags\":[\"font-lock\",\"performance\"],\"owner\":{\"reputation\":349,\"user_id\":3858,\"user_type\":\"registered\",\"profile_image\":\"https://www.gravatar.com/avatar/79967c26a8b04f593e85ae481b394e4d?s=128&d=identicon&r=PG\",\"display_name\":\"Joakim H&#229;rsman\",\"link\":\"http://emacs.stackexchange.com/users/3858/joakim-h%c3%a5rsman\"},\"is_answered\":true,\"view_count\":229,\"answer_count\":1,\"score\":12,\"last_activity_date\":1444939908,\"creation_date\":1418501482,\"last_edit_date\":1418728733,\"question_id\":5351,\"link\":\"http://emacs.stackexchange.com/questions/5351/optimizing-font-lock-performance\",\"title\":\"Optimizing font lock performance\"},{\"tags\":[\"key-bindings\",\"bookmarks\"],\"owner\":{\"reputation\":188,\"user_id\":2389,\"user_type\":\"registered\",\"accept_rate\":71,\"profile_image\":\"https://www.gravatar.com/avatar/9d232cc5abe46092d3972d4f85833e42?s=128&d=identicon&r=PG\",\"display_name\":\"user4035\",\"link\":\"http://emacs.stackexchange.com/users/2389/user4035\"},\"is_answered\":true,\"view_count\":51,\"accepted_answer_id\":17406,\"answer_count\":3,\"score\":2,\"last_activity_date\":1444939781,\"creation_date\":1444920392,\"question_id\":17402,\"link\":\"http://emacs.stackexchange.com/questions/17402/attaching-hotkeys-to-bookmarks\",\"title\":\"Attaching hotkeys to bookmarks\"},{\"tags\":[\"ediff\"],\"owner\":{\"reputation\":150,\"user_id\":5426,\"user_type\":\"registered\",\"profile_image\":\"https://i.stack.imgur.com/FbswL.png?s=128&g=1\",\"display_name\":\"TooTone\",\"link\":\"http://emacs.stackexchange.com/users/5426/tootone\"},\"is_answered\":true,\"view_count\":136,\"answer_count\":2,\"score\":6,\"last_activity_date\":1444939763,\"creation_date\":1424206035,\"question_id\":9322,\"link\":\"http://emacs.stackexchange.com/questions/9322/how-can-i-quit-ediff-immediately-without-having-to-type-y\",\"title\":\"How can I quit ediff immediately without having to type &#39;y&#39;\"},{\"tags\":[\"package-repositories\"],\"owner\":{\"reputation\":2511,\"user_id\":2264,\"user_type\":\"registered\",\"accept_rate\":62,\"profile_image\":\"https://www.gravatar.com/avatar/9261936847b5a31e15da6e86533d3de3?s=128&d=identicon&r=PG\",\"display_name\":\"Sean Allred\",\"link\":\"http://emacs.stackexchange.com/users/2264/sean-allred\"},\"is_answered\":true,\"view_count\":61,\"answer_count\":1,\"score\":5,\"last_activity_date\":1444937588,\"creation_date\":1444919591,\"question_id\":17401,\"link\":\"http://emacs.stackexchange.com/questions/17401/how-can-i-set-up-an-elpa-server\",\"title\":\"How can I set up an ELPA server?\"}],\"has_more\":true,\"quota_max\":300,\"quota_remaining\":298}"
vermiculus commented 8 years ago

Oh, sorry, you have to pipe curl through gunzip :) forgot about that. Should be the same though.

What are you exporting HTTP_PROXY as, if you don't mind my asking? I'd like to try and reproduce this locally so I can mess around with it.

stardiviner commented 8 years ago

after pipe curl through gunzip:

{"error_id":400,"error_message":"site is required","error_name":"bad_parameter"}%

proxy: I can email you.

stardiviner commented 8 years ago

@vermiculus What about the process?

stardiviner commented 8 years ago

Close it now, I'm not using Emacs behind shell proxy environment now.