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

[ISSUE] Carnet desktop for Linux doesnt connect to NextCloud server. #43

Open
hardwareadictos opened this issue May 21, 2020 · 14 comments
Assignees

Comments

@hardwareadictos
Copy link

Hello, good afternoon.

First of all i want to say how grate this app is, and big thanks to the development team who made this project possible.

I have a little issue when i try to connect Carnet to to my NextCloud server:

imagen

I dont have any issue with the Android app, it allows me to connect and sync my notes pretty fine with my phone, in fact, android app uses a more suitable workaround, as it allows you to browse inside your server to find the desired folder to sync notes (just a request a part from the issue report, could be posible to implement this behaviour on the Electron App?).

Tried different destination folders (including the default one), tried WebDAV address instead regular one (just to try luck) but nothing seems to work.

Let me know if you need any information please.

Thanks in advance.

Best regards.

@PhieF
Copy link
Collaborator

PhieF commented May 22, 2020

Hi,

do you have something like double authentication ?

thanks for your report

@hardwareadictos
Copy link
Author

Hello!

No, i dont have it. Its just a normal nextcloud home server, it does even have self-signed certificates.

Weird thing is that works just fine on the android app.

@hardwareadictos
Copy link
Author

Hey,

It's been weeks since there's not activity on this issue, could be related to self signed certificates?

Is it possible to integrate NextCloud browse sync settings Android App like?

Thanks in advance :)

Cheers.

@eandersons
Copy link

@hardwareadictos What URL are you using to connect to Nextcloud in the Carnet app? In macOS Carnet app I used https://nextcloud.my.domain/remote.php/webdav to connect to my Nextcloud server.

@hardwareadictos
Copy link
Author

hardwareadictos commented Jun 14, 2020

@hardwareadictos What URL are you using to connect to Nextcloud in the Carnet app? In macOS Carnet app I used https://nextcloud.my.domain/remote.php/webdav to connect to my Nextcloud server.

Yes, i add the URL that my nextcloud server settings points me wich is the same you posted but adapted to my server name (it also doesn't work with the IP).

It's weird because it's not even processing the request, the error pops up instantly when pressing the connect button

@hardwareadictos
Copy link
Author

I just migrated my server to another platform and i confirm that this issue persists

@hardwareadictos
Copy link
Author

Hi, here is another screenshot from the issue:

image

Please, can somene guide me to workaround this? I want to is this app with my NextCloud Server, it has some potential. But the issue its been opened for more than a month without any support from the dev team.

Thanks in advance.

@Teuwu
Copy link

Teuwu commented Sep 28, 2020

I do believe that this issue is related to self-signed certs, as I have 2 urls pointing to my nextcloud, 1 is with letsencrypt certs, and the second is with my self-signed cert, I have tried unsuccessfully to get carnet to accept the self signed certs.

@herrsei123
Copy link

herrsei123 commented Nov 17, 2021

I'm also having the same issue. Its also a server with self-signed certificate. Do you found a workaround for this?

I think it is node.js and the webdav library who is rejecting the self-signed certificate. is there a way to disable it? i found ( NODE_TLS_REJECT_UNAUTHORIZED ) but i didn't found out how to do it for the app. And of course then its pretty more insecure.

@EdoSecco
Copy link

EdoSecco commented Dec 25, 2021

I'm unable to sync on pc with Nextcloud WebDAV, too.
I have an account on Wölkli Nextcloud; while on the phone I managed to set the synchronization of Carnet via associating with Nextcloud app without any problem, there is no way to set on my pc (Ubuntu 20.04), the app is last version from Snap; like the opener I inserted the same URL/user/pw but always get that error message.
I have other things on the pc synced with that Nextcloud instance so I don't think it's caused by this.

@loxK
Copy link

loxK commented Jan 3, 2022

I have the same issue. It won't connect. I tried:

  • https://[nextcloudhost]/remote.php/dav
  • https://[nextcloudhost]/remote.php/webdav
  • https://[nextcloudhost]

I have double authentication, so I generated an app password, I am using valid let's encrypt certificate.

@PhieF PhieF self-assigned this Jan 3, 2022
@mementomori74
Copy link

im having the same problem. the android app sync just fine. The linux desktop version gives this error
carnet

@Cewoj
Copy link

Cewoj commented Jun 1, 2022

`

Error: shell_exec() has been disabled for security reasons at /data/www/cebea.info/apps/carnet/lib/Controller/NoteController.php#64<>OC\Log\ErrorHandler::onError(2, "shell_exec( ... s", "/data/www/c ... p", 64, { 0: "And 3 ... }})/data/www/cebea.info/apps/carnet/lib/Controller/NoteController.php - line 64:shell_exec("php occ car ... &")<>OCA\Carnet\Controller\NoteController->__construct("carnet", OC\AppFramework\Http\Request {}, "xxxxxx", OC\Files\Node\LazyRoot {}, OC\AllConfig {}, OC\DB\ConnectionAdapter {}, OC\URLGenera ... }})/data/www/cebea.info/lib/private/AppFramework/Utility/SimpleContainer.php - line 106:ReflectionClass->newInstanceArgs([ "carnet",O ... "])/data/www/cebea.info/lib/private/AppFramework/Utility/SimpleContainer.php - line 114:OC\AppFramework\Utility\SimpleContainer->buildClass(ReflectionCl ... "})/data/www/cebea.info/lib/private/AppFramework/Utility/SimpleContainer.php - line 131:OC\AppFramework\Utility\SimpleContainer->resolve("OCA\Carnet ... r")/data/www/cebea.info/lib/private/AppFramework/DependencyInjection/DIContainer.php - line 463:OC\AppFramework\Utility\SimpleContainer->query("OCA\Carnet ... r")/data/www/cebea.info/lib/private/AppFramework/DependencyInjection/DIContainer.php - line 435:OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback("OCA\Carnet ... r")/data/www/cebea.info/lib/private/AppFramework/App.php - line 144:OC\AppFramework\DependencyInjection\DIContainer->query("OCA\Carnet ... r")/data/www/cebea.info/lib/private/Route/Router.php - line 302:OC\AppFramework\App::main("OCA\Carnet ... r", "isFirstRun", OC\AppFramew ... {}, { _route: "c ... "})/data/www/cebea.info/lib/base.php - line 1006:OC\Route\Router->match("/apps/carne ... n")/data/www/cebea.info/index.php - line 36:OC::handleRequest()

`

@paulsybrandy
Copy link

So I have the same issue but what I did was I have the Nextcloud app syncing my my machine so I directed the carnet app to use the notes in that same folder but on my local machine. So the "/home/USER/nextcloud/documents/QuickNote/" which then the Nextcloud sync app syncs and then the Android app sees the changes. Basically I am making the Nextcloud sync app do the work of syncing that the Carnet should be doing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants