Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EAI_AGAIN error prevents cancel in GUI #11300

Open
bgoodmansf opened this issue Nov 1, 2024 · 0 comments
Open

EAI_AGAIN error prevents cancel in GUI #11300

bgoodmansf opened this issue Nov 1, 2024 · 0 comments
Labels
bug It's a bug

Comments

@bgoodmansf
Copy link

bgoodmansf commented Nov 1, 2024

Operating system

Windows

Joplin version

3.1.20

Desktop version info

Joplin 3.1.20 (prod, win32)

Client ID: 90e37e04408c4af2b430cdbb08fdd606
Sync Version: 3
Profile Version: 47
Keychain Supported: Yes

Revision: 8199362

Current behaviour

  1. Start sync.
  2. EAI_AGAIN error (DNS timeout) occurs.
  3. Sync terminates but CANCEL button in GUI continues to show busy spinner. Clicking CANCEL button has no effect. Have to quit Joplin to regain control.

Expected behaviour

Expected sync state in GUI to terminate when CANCEL button is clicked.

Logs

C:\Program Files\Joplin\resources\app.asar\node_modules@joplin\utils\dist\Logger.js:259 21:22:01: Synchronizer: Sync: deleteRemote: local has been deleted: (Remote 98b293214ee1450794d0e966934ba6e3)
C:\Program Files\Joplin\resources\app.asar\node_modules@joplin\utils\dist\Logger.js:259 21:22:04: Synchronizer: Sync: deleteRemote: local has been deleted: (Remote a5a007c96593498790371ba6217e29c8)
C:\Program Files\Joplin\resources\app.asar\node_modules@joplin\utils\dist\Logger.js:259 21:22:07: Synchronizer: Sync: deleteRemote: local has been deleted: (Remote 5614751647394d7fba9a64a65bd480cc)
C:\Program Files\Joplin\resources\app.asar\node_modules@joplin\lib\node_modules\node-fetch\lib\index.js:1491 Uncaught (in promise) FetchError {message: 'request to https://ref.cyclos.com/nextcloud/remote…led, reason: getaddrinfo EAI_AGAIN ref.cyclos.com', type: 'system', errno: 'EAI_AGAIN', code: 'EAI_AGAIN', stack: 'FetchError: request to https://ref.cyclos.com/next…ections (node:internal/process/task_queues:82:21)'}code: "EAI_AGAIN"errno: "EAI_AGAIN"message: "request to https://ref.cyclos.com/nextcloud/remote.php/dav/files/mbg/Computing/AppData/Joplin/BusinessProfile/locks/ failed, reason: getaddrinfo EAI_AGAIN ref.cyclos.com"type: "system"stack: "FetchError: request to https://ref.cyclos.com/nextcloud/remote.php/dav/files/mbg/Computing/AppData/Joplin/BusinessProfile/locks/ failed, reason: getaddrinfo EAI_AGAIN ref.cyclos.com\n at ClientRequest. (C:\Program Files\Joplin\resources\app.asar\node_modules\@joplin\lib\node_modules\node-fetch\lib\index.js:1491:11)\n at ClientRequest.emit (node:events:514:28)\n at TLSSocket.socketErrorListener (node:_http_client:495:9)\n at TLSSocket.emit (node:events:514:28)\n at emitErrorNT (node:internal/streams/destroy:151:8)\n at emitErrorCloseNT (node:internal/streams/destroy:116:3)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)"[[Prototype]]: Error
(anonymous) @ C:\Program Files\Joplin\resources\app.asar\node_modules@joplin\lib\services\synchronizer\LockHandler.js:366
processTicksAndRejections @ node:internal/process/task_queues:95
await in processTicksAndRejections (async)
listOnTimeout @ node:internal/timers:573
processTimers @ node:internal/timers:514
C:\Program Files\Joplin\resources\app.asar\node_modules@joplin\utils\dist\Logger.js:259 21:22:50: Synchronizer: FetchError {message: 'request to https://ref.cyclos.com/nextcloud/remote…led, reason: getaddrinfo EAI_AGAIN ref.cyclos.com', type: 'system', errno: 'EAI_AGAIN', code: 'EAI_AGAIN', stack: 'FetchError: request to https://ref.cyclos.com/next…ections (node:internal/process/task_queues:82:21)'}code: "EAI_AGAIN"errno: "EAI_AGAIN"message: "request to https://ref.cyclos.com/nextcloud/remote.php/dav/files/mbg/Computing/AppData/Joplin/BusinessProfile/locks/ failed, reason: getaddrinfo EAI_AGAIN ref.cyclos.com"type: "system"stack: "FetchError: request to https://ref.cyclos.com/nextcloud/remote.php/dav/files/mbg/Computing/AppData/Joplin/BusinessProfile/locks/ failed, reason: getaddrinfo EAI_AGAIN ref.cyclos.com\n at ClientRequest. (C:\Program Files\Joplin\resources\app.asar\node_modules\@joplin\lib\node_modules\node-fetch\lib\index.js:1491:11)\n at ClientRequest.emit (node:events:514:28)\n at TLSSocket.socketErrorListener (node:_http_client:495:9)\n at TLSSocket.emit (node:events:514:28)\n at emitErrorNT (node:internal/streams/destroy:151:8)\n at emitErrorCloseNT (node:internal/streams/destroy:116:3)\n at process.processTicksAndRejections (node:internal/process/task_queues:82:21)"[[Prototype]]: Errorconstructor: ƒ FetchError(message, type, systemError)name: "FetchError"[[Prototype]]: Objectconstructor: ƒ Error()message: ""name: "Error"toString: ƒ toString()[[Prototype]]: Object
log @ C:\Program Files\Joplin\resources\app.asar\node_modules@joplin\utils\dist\Logger.js:259
error @ C:\Program Files\Joplin\resources\app.asar\node_modules@joplin\lib\node_modules@joplin\utils\dist\Logger.js:90
start @ C:\Program Files\Joplin\resources\app.asar\node_modules@joplin\lib\Synchronizer.js:1034
processTicksAndRejections @ node:internal/process/task_queues:95
C:\Program Files\Joplin\resources\app.asar\node_modules@joplin\utils\dist\Logger.js:259 21:23:11: Could not run background sync:
C:\Program Files\Joplin\resources\app.asar\node_modules@joplin\utils\dist\Logger.js:259 21:23:11: FetchError {message: 'request to https://ref.cyclos.com/nextcloud/remote…led, reason: getaddrinfo EAI_AGAIN ref.cyclos.com', type: 'system', errno: 'EAI_AGAIN', code: 'EAI_AGAIN', stack: 'FetchError: request to https://ref.cyclos.com/next…ections (node:internal/process/task_queues:82:21)'}
C:\Program Files\Joplin\resources\app.asar\node_modules@joplin\utils\dist\Logger.js:259 21:26:15: RevisionService: maintenance: Starting...
C:\Program Files\Joplin\resources\app.asar\node_modules@joplin\utils\dist\Logger.js:259 21:26:15: RevisionService: maintenance: Service is enabled
C:\Program Files\Joplin\resources\app.asar\node_modules@joplin\utils\dist\Logger.js:259 21:26:15: RevisionService: collectRevisions: Created revisions for 0 notes
C:\Program Files\Joplin\resources\app.asar\node_modules@joplin\utils\dist\Logger.js:259 21:26:15: RevisionService: maintenance: Done in 119ms

@bgoodmansf bgoodmansf added the bug It's a bug label Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug It's a bug
Projects
None yet
Development

No branches or pull requests

1 participant