rxliuli / joplin-utils

Joplin-based community tool
https://joplin-utils.rxliuli.com/
MIT License
235 stars 36 forks source link

[Bug]: token/port setting is ignored #67

Closed vasaka closed 1 year ago

vasaka commented 1 year ago

Confirmation

The tool/kit where the error occurred

joplin-vscode-plugin

Describe the bug

I am getting Joplin's token/port is set incorrectly, unable to access Joplin service! Are you sure it is running and active? error

When opening developer tools I see following error in the console FetchError: request to http://127.0.0.1:41184/ping?token= failed, reason: connect ECONNREFUSED 127.0.0.1:41184

the plugin ignores both my custom port and address and token I have added in the settings, when I try to connect to ping in browser with correct token and port it is all works just fine

Steps to reproduce the behavior

Install the plugin Go to extension settings Set token and custom url Restart VS Code Try open Joplin side bar Observe Joplin's token/port is set incorrectly error

Go to Help/Toggle Developer Tools Go to console tab Observe error message FetchError: request to http://127.0.0.1:41184/ping?token= failed, reason: connect ECONNREFUSED 127.0.0.1:41184 that ignores the plugin settings

log file

logs are empty combined.log error.log

Additional context

No response

rxliuli commented 1 year ago

Ok, I confirmed the problem, can you try the new version? I will use the configuration in vscode when pinging

joplin-vscode-plugin-1.1.1.zip

vasaka commented 1 year ago

It works now, thanks