Obsidian Rest on Windows Host, Access from WSL #178
-
Hello, I have set this up on 2 different macOS devices and it is working great. However, I am struggling with Windows and WSL for use with MCP / Claude. If Obsidian is running on the Windows Host, the WSL I can validate that the connection is being made:
Yet the API Key being passed is correct. I have triple checked. Is it not possible to bind to anything else besides localhost? I did see this: #18 But as it is 3 years old, I figured something might have changed between now and then. #157 Edit 1:
So I know it is working properly. EDIT 2: I also already attempted to install the Self Signed Certificate into the CA Store in WSL:
Still didn't help the situation. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Whatever it is that's going on, it's certainly not going to be #18 -- your request is clearly being processed by an instance of Obsidian Local REST API, and if it were #18, you'd just either not get a reply, or get a refused connection. It's definitely not a binding problem. My guess, given what you've talked through above, is that you're actually running two instances of Obsidian Local REST API -- maybe one in WSL and one outside it? If that's the case, your |
Beta Was this translation helpful? Give feedback.
I'm not able to reproduce any similar problems w/r/t adding or removing a trailing slash, but looking through the defined routes in docs or code, I also don't have a route named
/status/
in the API. The/
route does return status information, but it also does appear to respond correctly with the right data indicating whether or not the API request was correct. I think you might actually be using a fork of this API maintained by somebody else, or have installed or written your own API extension that's coded slightly incorrectly w/r/t handling of authentication.