I am using emacs behind a firewall in Windows. I configured the access to proxy and I worked with no problems for a week. But now I can't upgrade emacs packages using Melpa, because the proxy refuses to download packages ("Bad request"). Any clue to what may happened?
This is the result of emacs with --init-debug
:
Debugger entered--Lisp error: (file-error "http://melpa.milkbox.net/packages/archive-contents" "Bad Request")
signal(file-error ("http://melpa.milkbox.net/packages/archive-contents" "Bad Request"))
url-insert-file-contents("http://melpa.milkbox.net/packages/archive-contents")
package--download-one-archive(("melpa" . "http://melpa.milkbox.net/packages/") "archive-contents")
#[0 "\301\300\302\"\207" [("melpa" . "http://melpa.milkbox.net/packages/") package--download-one-archive "archive-contents"] 3 "\n\n(fn)"]()
funcall(#[0 "\301\300\302\"\207" [("melpa" . "http://melpa.milkbox.net/packages/") package--download-one-archive "archive-contents"] 3 "\n\n(fn)"])
package-refresh-contents()
eval-buffer(#<buffer *load*> nil "c:/Users/sergio.bacelar/.emacs.d/init.el" nil t) ; Reading at buffer position 8124
load-with-code-conversion("c:/Users/sergio.bacelar/.emacs.d/init.el" "c:/Users/sergio.bacelar/.emacs.d/init.el" t t)
load("c:/Users/sergio.bacelar/.emacs.d/init" t t)
#[0 "\205\262