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

Cannot add Nextcloud instance #1385

Closed
TylerLaBree opened this issue Jul 31, 2024 · 3 comments
Closed

Cannot add Nextcloud instance #1385

TylerLaBree opened this issue Jul 31, 2024 · 3 comments

Comments

@TylerLaBree
Copy link

Describe the bug

Recently, I haven't been able to sync with my home network Nextcloud server. I tried clearing app data, and setting the connection to the server up again. When I add the server (port 443), I get the following error:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>405 Method Not Allowed</title>
</head><body>
<h1>Method Not Allowed</h1>
<p>The requested method PROPFIND is not allowed for this URL.</p>
<hr>
<address>Apache/2.4.61 (Debian) Server at 192.168.1.131 Port 80</address>
</body></html>

Note that changing the port to an incorrect one provides the same error.

To Reproduce

Steps to reproduce the behavior:

  1. Go to Main Menu->Preferences->Integrations->Add Source->Nextcloud
  2. Fill information, with Server URL using http and port 443
  3. Select Log In

Expected behavior

Planify should connect to the server and sync files.

Screenshots

image

image

Desktop:

  • OS: Fedora Linux 40
  • DE: Gnome 46.3.1

Additional context

Syncing worked ~2 weeks ago. Connecting to my Nextcloud instance via my web browser still works. Gnome Calendar still connects and syncs through Gnome Online Accounts->Nextcloud. DAVx5 still works for syncing my calendar and tasks to my phone.

It looks like it's having an issue with port 80. Possibly either Planify is not respecting the port I tell it, or it needs to connect to port 80 before port 443. It could be something wrong with my Nextcloud configuration, although I don't believe I've made any changes to it in this time.

Since running into the issue, I've updated my Nextcloud server, my server packages, and rebooted everything. The error remains the same.

Visiting port 80 in a web browser takes me to the Apache2 Debian Default Page.

@alainm23
Copy link
Owner

@TylerLaBree Hello and thanks for reporting this issue. For now, Planify does not support ports other than 80 (I have not tested connecting with IP and port directly), maybe it is too much to ask but could you lend me a test account.

@TylerLaBree TylerLaBree changed the title Cannot add Cannot add Nextcloud instance Jul 31, 2024
@TylerLaBree
Copy link
Author

Hi @alainm23, I can't share an account with you since the instance is only accessible on my home network, and I'm not comfortable enough with my security knowledge to set up port forwarding.

Is the requirement to have the server on port 80 recently added? Is there a way to work around this requirement?

I plan to get a DNS server set up eventually so I don't have to connect to ip:port, and instead to something like cloud.home.arpa. Would this fix my issue?

Thanks for your work on this great project!

@alainm23
Copy link
Owner

Don't worry, I haven't pllged to test these cases, Planify uses a proprietary service to sync with CalDAV, I will install an own instance locally and give you a solution, thank you very much.

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

2 participants