I'm in the process of migrating form Onenote to Joplin. On Windows 10, I've successfully configured the Joplin app to synchronize to my WebDav server. However, on the Android app, using the same path and credentials, I'm getting errors, "Network request failed". Below is what my link looks like that works, minus the X's obviously.
Any ideas?
https://xxxx.xxx.xxx:5006/xxx
Are you using a self-signed certificate?
1 Like
novelx
27 January 2021 12:12
3
1 Like
Port 5006 - Is this an https connection to WebDav on a Synology NAS?
If so it has been discussed before and may be of help:
Hello everybody,
I really want to conect Joplin to my synology NAS by webDAV.
I'm triying but not results.
Someone has it connected and can do a mini tutorial please.
Thank you very very (very)^99 much <3
1 Like
My WebDAV server is set up on a Synology Disk Station. I enabled port forwarding, and it all works as intended. Ports 5005 and 5006 were the default ports that the WebDAV installed with. I could always change them if I need to.
Do you use certificates?
Witch DSM Version?
Operating System: Android 10
Joplin Version: 1.4.11
I cannot sync to my WebDav based Joplin files. I am able to sync from my Mac but the app is saying that there is an error in username or password etc etc but they are exactly the same details as the ones that I have inputted in my Mac.
[Screenshot_20201219-101850] [Screenshot_20201219-102633]
opened 02:29PM - 13 Dec 20 UTC
closed 03:08AM - 31 Jan 21 UTC
bug
stale
macOS version can not sync to webdav server ,but iOS(10.4.1) version is fine.
…
my webdev server url: https://rexzhang.myds.me:5006/home/Joplin
## Environment
Joplin version:
```
Joplin 1.4.19 (prod, darwin)
Client ID: 9b3d22af1ce749ca9059a29e7ee47a82
Sync Version: 2
Profile Version: 34
Keychain Supported: Yes
Revision: de123ee (master)
```
Platform: x86-64 mbp
OS specifics: macOS 11
## Logfile
```
/Applications/Joplin…n/lib/Logger.js:165 22:16:56: CommandService::execute: synchronize false
/Applications/Joplin…n/lib/Logger.js:165 22:16:56: Preparing scheduled sync
/Applications/Joplin…n/lib/Logger.js:165 22:16:56: Starting scheduled sync
/Applications/Joplin…n/lib/Logger.js:165 22:17:02: Saving settings...
/Applications/Joplin…n/lib/Logger.js:165 22:17:02: Settings have been saved.
/Applications/Joplin…n/lib/Logger.js:165 22:17:22: RevisionService::maintenance: Starting...
/Applications/Joplin…n/lib/Logger.js:165 22:17:22: RevisionService::maintenance: Service is enabled
/Applications/Joplin…n/lib/Logger.js:165 22:17:22: RevisionService::collectRevisions: Created revisions for 0 notes
/Applications/Joplin…n/lib/Logger.js:165 22:17:22: RevisionService::maintenance: Done in 110ms
/Applications/Joplin…n/lib/Logger.js:165 22:17:37:
FetchError {name: "FetchError", message: "request to https://rexzhang.myds.me:5006/home/Jopl…d, reason: unable to verify the first certificate", type: "system", errno: "UNABLE_TO_VERIFY_LEAF_SIGNATURE", code: "UNABLE_TO_VERIFY_LEAF_SIGNATURE", …}
code: "UNABLE_TO_VERIFY_LEAF_SIGNATURE"
errno: "UNABLE_TO_VERIFY_LEAF_SIGNATURE"
message: "request to https://rexzhang.myds.me:5006/home/Joplin/info.json failed, reason: unable to verify the first certificate"
name: "FetchError"
type: "system"
stack: "FetchError: request to https://rexzhang.myds.me:5006/home/Joplin/info.json failed, reason: unable to verify the first certificate↵ at ClientRequest.<anonymous> (/Applications/Joplin.app/Contents/Resources/app.asar/node_modules/@joplin/lib/node_modules/node-fetch/index.js:133:11)↵ at ClientRequest.emit (events.js:310:20)↵ at ClientRequest.EventEmitter.emit (domain.js:482:12)↵ at TLSSocket.socketErrorListener (_http_client.js:426:9)↵ at TLSSocket.emit (events.js:310:20)↵ at TLSSocket.EventEmitter.emit (domain.js:482:12)↵ at emitErrorNT (internal/streams/destroy.js:92:8)↵ at emitErrorAndCloseNT (internal/streams/destroy.js:60:3)↵ at processTicksAndRejections (internal/process/task_queues.js:84:21)"
__proto__: Error
constructor: Ć’ FetchError(message, type, systemError)
__proto__: Object
log @ /Applications/Joplin…n/lib/Logger.js:165
error @ /Applications/Joplin…in/lib/Logger.js:54
(anonymous) @ /Applications/Joplin…Synchronizer.js:822
rejected @ /Applications/Joplin…b/Synchronizer.js:6
Promise.then (async)
step @ /Applications/Joplin…b/Synchronizer.js:7
fulfilled @ /Applications/Joplin…b/Synchronizer.js:5
Promise.then (async)
step @ /Applications/Joplin…b/Synchronizer.js:7
(anonymous) @ /Applications/Joplin…b/Synchronizer.js:8
__awaiter @ /Applications/Joplin…b/Synchronizer.js:4
start @ /Applications/Joplin…Synchronizer.js:280
timeoutCallback @ /Applications/Joplin…lib/registry.js:130
async function (async)
timeoutCallback @ /Applications/Joplin…lib/registry.js:100
reg.scheduleSync @ /Applications/Joplin…lib/registry.js:153
(anonymous) @ /Applications/Joplin…s/synchronize.js:53
fulfilled @ /Applications/Joplin…ds/synchronize.js:5
Promise.then (async)
step @ /Applications/Joplin…ds/synchronize.js:7
fulfilled @ /Applications/Joplin…ds/synchronize.js:5
Promise.then (async)
step @ /Applications/Joplin…ds/synchronize.js:7
(anonymous) @ /Applications/Joplin…ds/synchronize.js:8
__awaiter @ /Applications/Joplin…ds/synchronize.js:4
execute @ /Applications/Joplin…s/synchronize.js:25
(anonymous) @ /Applications/Joplin…mmandService.js:141
(anonymous) @ /Applications/Joplin…CommandService.js:8
__awaiter @ /Applications/Joplin…CommandService.js:4
execute @ /Applications/Joplin…mmandService.js:136
onClick @ /Applications/Joplin…eBar/SideBar.js:415
onClick @ /Applications/Joplin…utton/Button.js:173
callCallback @ /Applications/Joplin….development.js:347
invokeGuardedCallbackDev @ /Applications/Joplin….development.js:397
invokeGuardedCallback @ /Applications/Joplin….development.js:454
invokeGuardedCallbackAndCatchFirstError @ /Applications/Joplin….development.js:468
executeDispatch @ /Applications/Joplin….development.js:600
executeDispatchesInOrder @ /Applications/Joplin….development.js:622
executeDispatchesAndRelease @ /Applications/Joplin….development.js:725
executeDispatchesAndReleaseTopLevel @ /Applications/Joplin….development.js:733
forEachAccumulated @ /Applications/Joplin….development.js:707
runEventsInBatch @ /Applications/Joplin….development.js:750
runExtractedPluginEventsInBatch @ /Applications/Joplin….development.js:881
handleTopLevel @ /Applications/Joplin…development.js:5901
batchedEventUpdates @ /Applications/Joplin…development.js:2344
dispatchEventForPluginEventSystem @ /Applications/Joplin…development.js:5996
dispatchEvent @ /Applications/Joplin…development.js:6025
unstable_runWithPriority @ /Applications/Joplin….development.js:643
runWithPriority$2 @ /Applications/Joplin…evelopment.js:11305
discreteUpdates$1 @ /Applications/Joplin…evelopment.js:21672
discreteUpdates @ /Applications/Joplin…development.js:2359
dispatchDiscreteEvent @ /Applications/Joplin…development.js:5979
/Applications/Joplin…n/lib/Logger.js:165 22:17:37: Operations completed:
/Applications/Joplin…n/lib/Logger.js:165 22:17:37: Total folders: 13
/Applications/Joplin…n/lib/Logger.js:165 22:17:37: Total notes: 132
/Applications/Joplin…n/lib/Logger.js:165 22:17:37: Total resources: 272
/Applications/Joplin…n/lib/Logger.js:165 22:17:37: There was some errors:
/Applications/Joplin…n/lib/Logger.js:165 22:17:37:
FetchError {name: "FetchError", message: "request to https://rexzhang.myds.me:5006/home/Jopl…d, reason: unable to verify the first certificate", type: "system", errno: "UNABLE_TO_VERIFY_LEAF_SIGNATURE", code: "UNABLE_TO_VERIFY_LEAF_SIGNATURE", …}
log @ /Applications/Joplin…n/lib/Logger.js:165
warn @ /Applications/Joplin…in/lib/Logger.js:53
(anonymous) @ /Applications/Joplin…Synchronizer.js:193
fulfilled @ /Applications/Joplin…b/Synchronizer.js:5
Promise.then (async)
step @ /Applications/Joplin…b/Synchronizer.js:7
fulfilled @ /Applications/Joplin…b/Synchronizer.js:5
Promise.then (async)
step @ /Applications/Joplin…b/Synchronizer.js:7
fulfilled @ /Applications/Joplin…b/Synchronizer.js:5
Promise.then (async)
step @ /Applications/Joplin…b/Synchronizer.js:7
(anonymous) @ /Applications/Joplin…b/Synchronizer.js:8
__awaiter @ /Applications/Joplin…b/Synchronizer.js:4
logSyncSummary @ /Applications/Joplin…Synchronizer.js:166
(anonymous) @ /Applications/Joplin…Synchronizer.js:841
rejected @ /Applications/Joplin…b/Synchronizer.js:6
Promise.then (async)
step @ /Applications/Joplin…b/Synchronizer.js:7
fulfilled @ /Applications/Joplin…b/Synchronizer.js:5
Promise.then (async)
step @ /Applications/Joplin…b/Synchronizer.js:7
(anonymous) @ /Applications/Joplin…b/Synchronizer.js:8
__awaiter @ /Applications/Joplin…b/Synchronizer.js:4
start @ /Applications/Joplin…Synchronizer.js:280
timeoutCallback @ /Applications/Joplin…lib/registry.js:130
async function (async)
timeoutCallback @ /Applications/Joplin…lib/registry.js:100
reg.scheduleSync @ /Applications/Joplin…lib/registry.js:153
(anonymous) @ /Applications/Joplin…s/synchronize.js:53
fulfilled @ /Applications/Joplin…ds/synchronize.js:5
Promise.then (async)
step @ /Applications/Joplin…ds/synchronize.js:7
fulfilled @ /Applications/Joplin…ds/synchronize.js:5
Promise.then (async)
step @ /Applications/Joplin…ds/synchronize.js:7
(anonymous) @ /Applications/Joplin…ds/synchronize.js:8
__awaiter @ /Applications/Joplin…ds/synchronize.js:4
execute @ /Applications/Joplin…s/synchronize.js:25
(anonymous) @ /Applications/Joplin…mmandService.js:141
(anonymous) @ /Applications/Joplin…CommandService.js:8
__awaiter @ /Applications/Joplin…CommandService.js:4
execute @ /Applications/Joplin…mmandService.js:136
onClick @ /Applications/Joplin…eBar/SideBar.js:415
onClick @ /Applications/Joplin…utton/Button.js:173
callCallback @ /Applications/Joplin….development.js:347
invokeGuardedCallbackDev @ /Applications/Joplin….development.js:397
invokeGuardedCallback @ /Applications/Joplin….development.js:454
invokeGuardedCallbackAndCatchFirstError @ /Applications/Joplin….development.js:468
executeDispatch @ /Applications/Joplin….development.js:600
executeDispatchesInOrder @ /Applications/Joplin….development.js:622
executeDispatchesAndRelease @ /Applications/Joplin….development.js:725
executeDispatchesAndReleaseTopLevel @ /Applications/Joplin….development.js:733
forEachAccumulated @ /Applications/Joplin….development.js:707
runEventsInBatch @ /Applications/Joplin….development.js:750
runExtractedPluginEventsInBatch @ /Applications/Joplin….development.js:881
handleTopLevel @ /Applications/Joplin…development.js:5901
batchedEventUpdates @ /Applications/Joplin…development.js:2344
dispatchEventForPluginEventSystem @ /Applications/Joplin…development.js:5996
dispatchEvent @ /Applications/Joplin…development.js:6025
unstable_runWithPriority @ /Applications/Joplin….development.js:643
runWithPriority$2 @ /Applications/Joplin…evelopment.js:11305
discreteUpdates$1 @ /Applications/Joplin…evelopment.js:21672
discreteUpdates @ /Applications/Joplin…development.js:2359
dispatchDiscreteEvent @ /Applications/Joplin…development.js:5979
/Applications/Joplin…n/lib/Logger.js:165 22:17:37: Trying to reload note that has been deleted: null
/Applications/Joplin…n/lib/Logger.js:165 22:17:38: DecryptionWorker: cannot start because no master key is currently loaded.
```
1 Like
I ended up using the app, "FolderSync" to synchronize the folder I set up on my WebDav / Synology Server for Joplin, to a folder on the phone. From there, I pointed the Joplin Android app to sync with the local system folder. So far, things seem to working well.
system
Closed
26 February 2021 18:53
8
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.