Open JonathanAnderson opened 9 years ago
:+1: Having the same problem that I cannot connect to zedd from zed, but when I manually hit the endpoint from my browser I connect fine.
The problem is from Zed. It isn't actually sending the basic auth through the headers over to zedd.
http://stackoverflow.com/a/11960692/814690 shows why this is broken and the solution https://github.com/zedapp/zed/blob/33695acb30c75baf6aa76605805e14c27e51755e/app/js/open_ui.js#L511
It seems like this feature never worked in the first place :disappointed:
I am trying to open zedd folder. In Zed I connect to "http://10.8.155.129:7337" with "user" and "pass" but I get
Couldn't connect: Unauthorized
my
.zeddrc
isIf i comment out the entire
if (config.get("user")) {
block in requestHandler, then zedd works just fine.Perhaps Zed isn't sending the information over?
I added a console.log(req) to the first line of requestHandler() in zedd... and I don't see anything on the request user and password and when i try
console.log(auth(req))
i getundefined
Here is the request zed sends to zedd: