[SOLVED?] HTTP error server - HTTP 501

Hardware: VPS bought online ( Contabo )
YunoHost version: 4.3.6.2
I have access to my server : Through SSH | through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

hello!

since yesterday, my phone is giving me this HTTP 501 error.
it seems to be related to nextcloud syncing, however, everything seems to be fine on that front. like everything is synced and everything works.

here the debug:

--- BEGIN DEBUG INFO ---
SYNCHRONIZATION INFO
Account name: Recently contacted (mms aQ)
Authority: com.android.contacts

HTTP REQUEST:
Request{method=GET, url=https://cloud.mms.nohost.me/remote.php/dav/addressbooks/users/mms/z-app-generated--contactsinteraction--recent/1, tags={}}


HTTP RESPONSE:
Response{protocol=h2, code=501, message=, url=https://cloud.mms.nohost.me/remote.php/dav/addressbooks/users/mms/z-app-generated--contactsinteraction--recent/1}
<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
  <s:exception>Sabre\DAV\Exception\NotImplemented</s:exception>
  <s:message/>
</d:error>



REMOTE RESOURCE:
https://cloud.mms.nohost.me/remote.php/dav/addressbooks/users/mms/z-app-generated--contactsinteraction--recent/1

EXCEPTION:
foundation.e.dav4jvm.exception.HttpException: HTTP 501 
	at foundation.e.dav4jvm.DavResource.checkStatus(DavResource.kt:423)
	at foundation.e.dav4jvm.DavResource.checkStatus(DavResource.kt:397)
	at foundation.e.dav4jvm.DavResource.get(DavResource.kt:252)
	at foundation.e.accountmanager.syncadapter.ContactsSyncManager$downloadRemote$1.invoke(ContactsSyncManager.kt:278)
	at foundation.e.accountmanager.syncadapter.ContactsSyncManager$downloadRemote$1.invoke(ContactsSyncManager.kt:75)
	at foundation.e.accountmanager.syncadapter.SyncManager.useRemote(SyncManager.kt:831)
	at foundation.e.accountmanager.syncadapter.ContactsSyncManager.downloadRemote(ContactsSyncManager.kt:277)
	at foundation.e.accountmanager.syncadapter.SyncManager$syncRemote$1$1.run(SyncManager.kt:470)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:462)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
	at java.lang.Thread.run(Thread.java:919)

SOFTWARE INFORMATION
* foundation.e.accountmanager 2.6.3-ose (328)
* com.android.providers.contacts 10 (29)
* com.android.providers.calendar 10 (29)
* foundation.e.tasks 1.2.3-69-g80fada5 (7700)
* com.android.contacts 1.7.31 (10731)
* foundation.e.calendar 1.0.21 (23)

CONNECTIVITY (at the moment)
- [ Transports: WIFI Capabilities: NOT_METERED&INTERNET&NOT_RESTRICTED&TRUSTED&NOT_VPN&VALIDATED&NOT_ROAMING&FOREGROUND&NOT_CONGESTED&NOT_SUSPENDED LinkUpBandwidth>=1048576Kbps LinkDnBandwidth>=1048576Kbps SignalStrength: -42]

CONFIGURATION
Power saving disabled: yes
Notifications (not blocked):
  [group] sync isBlocked=false
    syncProblems: importance=3
    syncIoErrors: importance=1
    syncWarnings: importance=2
  general: importance=3
  debug: importance=4
Permissions:
  READ_CONTACTS: granted
  WRITE_CONTACTS: granted
  READ_CALENDAR: granted
  WRITE_CALENDAR: granted
  READ_TASKS: granted
  WRITE_TASKS: granted
  ACCESS_COARSE_LOCATION: granted
System-wide synchronization: automatically

ACCOUNTS
Account: mms
  Address book sync. interval: 2 min
  Calendar     sync. interval: 2 min
  OpenTasks    sync. interval: 2 min
  WiFi only: false
  [CardDAV] Contact group method: GROUP_VCARDS
  [CalDAV] Time range (past days): 90
           Manage calendar colors: true
           Use event colors: false
Account {name=mms, type=e.foundation.webdav} is invalid: No main account assigned to address book account

SQLITE DUMP
android_metadata
	|  locale |
	|  en_GB |
----------
service
	|  id | accountName | authState | accountType | addressBookAccountType | type | principal |
	|  1 | mms | <null> | e.foundation.webdav | foundation.e.accountmanager.address_book | carddav | https://cloud.mms.nohost.me/remote.php/dav/principals/users/mms/ |
	|  2 | mms | <null> | e.foundation.webdav | foundation.e.accountmanager.address_book | caldav | https://cloud.mms.nohost.me/remote.php/dav/principals/users/mms/ |
----------
sqlite_sequence
	|  name | seq |
	|  service | 2 |
	|  homeset | 2 |
	|  collection | 7 |
----------
homeset
	|  id | serviceId | url | privBind | displayName |
	|  1 | 2 | https://cloud.mms.nohost.me/remote.php/dav/calendars/mms/ | 1 | <null> |
	|  2 | 1 | https://cloud.mms.nohost.me/remote.php/dav/addressbooks/users/mms/ | 1 | <null> |
----------
collection
	|  id | serviceId | type | url | privWriteContent | privUnbind | forceReadOnly | displayName | description | color | timezone | supportsVEVENT | supportsVTODO | supportsVJOURNAL | source | sync |
	|  1 | 2 | CALENDAR | https://cloud.mms.nohost.me/remote.php/dav/calendars/mms/personal/ | 1 | 1 | 0 | Personal | <null> | <null> | <null> | 1 | 1 | 0 | <null> | 1 |
	|  2 | 2 | CALENDAR | https://cloud.mms.nohost.me/remote.php/dav/calendars/mms/21-sid/ | 1 | 1 | 0 | 21 Sid | <null> | -16711894 | <null> | 1 | 0 | 0 | <null> | 1 |
	|  3 | 2 | CALENDAR | https://cloud.mms.nohost.me/remote.php/dav/calendars/mms/tarot-lesson/ | 1 | 1 | 0 | tarot lesson | <null> | -1 | <null> | 1 | 0 | 0 | <null> | 1 |
	|  4 | 2 | CALENDAR | https://cloud.mms.nohost.me/remote.php/dav/calendars/mms/hackney-copwatch/ | 1 | 1 | 0 | hackney copwatch | <null> | -3105171 | <null> | 1 | 0 | 0 | <null> | 1 |
	|  5 | 2 | CALENDAR | https://cloud.mms.nohost.me/remote.php/dav/calendars/mms/dalston-solidarity-cafe/ | 1 | 1 | 0 | dalston solidarity cafe | <null> | -32541 | <null> | 1 | 0 | 0 | <null> | 1 |
	|  6 | 1 | ADDRESS_BOOK | https://cloud.mms.nohost.me/remote.php/dav/addressbooks/users/mms/contacts/ | 1 | 1 | 0 | Contacts | <null> | <null> | <null> | <null> | <null> | <null> | <null> | 1 |
	|  7 | 1 | ADDRESS_BOOK | https://cloud.mms.nohost.me/remote.php/dav/addressbooks/users/mms/z-app-generated--contactsinteraction--recent/ | 0 | 0 | 0 | Recently contacted | <null> | <null> | <null> | <null> | <null> | <null> | <null> | 1 |
----------
room_master_table
	|  id | identity_hash |
	|  42 | 044be2cd4cd7622698b35c31c42a129a |
----------

SYSTEM INFORMATION
Android version: 10 (e_FP3-userdebug 10 QQ3A.200805.001 eng.root.20211027.184504 dev-keys,stable-release)
Device: Fairphone FP3 (FP3)

--- END DEBUG INFO ---

anyone can help?

anyone? :crying_cat_face:

What apps are installed in the server?
What 's the app or apps in the phone?
Did it work before?
When did it stop working?
What did you do recently?

1 Like

thank you :heavy_heart_exclamation:

so, in the error, i can only see a reference to my cloud subdomain in which i have installed Nextcloud. do you need a list of all of the other apps as well?

if we keep referencing the cloud subdomain, i have Nextcloud Dev synced with my server, as well as the native calendar, notes and tasks app from /e/ OS.

it has always been working and, fun thing, it’s working now as well. as far as i can notice. i only have this constant error screen coming up (unless there is something not working that i haven’t found out yet).

possibly never?

i believe this must have started after i’ve updated the app through the native /e/ App Store, rather than F-Droid (from which i originally downloaded it).
although, after that, i uninstalled Nextcloud Dev and reinstalled it but the error didn’t stop coming up.

the problem “solved itself” a.k.a. the message error just stopped showing up at some point.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.