-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
[Bug]: Sabre\Xml\ParseException: The input element to parse is empty. Do not attempt to parse #43609
Comments
Same error with 28.0.3 |
I have finally found the "Bug": My server uses https (or the proxy), but i used |
The question is if that is intended behavior and if no, who is to blame. |
According to this part of the stack trace, the body sent with the REPORT HTTP request is empty (i.e. the first argument is empty):
And I don't see any indications that we modify it or anything before that. That's the first time we try to retrieve it. So maybe that library and the http versus https handling resulted in only a partial HTTP transaction. The ParseException saying |
Maybe https://github.com/nextcloud/all-in-one does the redirection wrong or the caldav python lib forgets to resend the body after redirection. |
I have debugged the code and caldav uses python requests to make the http requests. Nextcloud return 301 Found for the http url and request with follow_redirects does not send the body again after the redirect |
This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions. |
Bug description
I am using the python caldav lib to search for Events:
Then I get
As Json
Steps to reproduce
pip install caldav
Expected behavior
No error
Installation method
Official All-in-One appliance
Nextcloud Server version
27
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.1
Web server
Apache (supported)
Database engine version
PostgreSQL
Is this bug present after an update or on a fresh install?
Upgraded to a MAJOR version (ex. 22 to 23)
Are you using the Nextcloud Server Encryption module?
None
What user-backends are you using?
Configuration report
List of activated Apps
docker exec --user www-data -it nextcloud-aio-nextcloud php occ app:list Enabled: - activity: 2.19.0 - admin_audit: 1.17.0 - calendar: 4.6.4 - camerarawpreviews: 0.8.4 - cloud_federation_api: 1.10.0 - comments: 1.17.0 - contactsinteraction: 1.8.0 - dav: 1.27.0 - deck: 1.11.3 - federatedfilesharing: 1.17.0 - federation: 1.17.0 - files: 1.22.0 - files_pdfviewer: 2.8.0 - files_reminders: 1.0.0 - files_rightclick: 1.6.0 - files_sharing: 1.19.0 - files_trashbin: 1.17.0 - files_versions: 1.20.0 - forms: 3.4.5 - group_everyone: 0.1.13 - groupfolders: 15.3.4 - logreader: 2.12.0 - lookup_server_connector: 1.15.0 - nextcloud-aio: 0.4.0 - notifications: 2.15.0 - notify_push: 0.6.9 - oauth2: 1.15.1 - photos: 2.3.0 - privacy: 1.11.0 - provisioning_api: 1.17.0 - quota_warning: 1.18.0 - recommendations: 1.6.0 - related_resources: 1.2.0 - richdocuments: 8.2.4 - serverinfo: 1.17.0 - settings: 1.9.0 - sharebymail: 1.17.0 - spreed: 17.1.5 - support: 1.10.0 - systemtags: 1.17.0 - text: 3.8.0 - theming: 2.2.0 - theming_customcss: 1.15.0 - twofactor_backupcodes: 1.16.0 - user_ldap: 1.17.0 - user_status: 1.7.0 - viewer: 2.1.0 - weather_status: 1.7.0 - workflowengine: 2.9.0 Disabled: - apporder: 0.15.0 (installed 0.15.0) - bruteforcesettings: 2.7.0 - circles: 27.0.1 (installed 27.0.1) - dashboard: 7.7.0 (installed 7.1.0) - encryption: 2.15.0 - files_external: 1.19.0 - firstrunwizard: 2.16.0 (installed 2.10.0) - nextcloud_announcements: 1.16.0 (installed 1.10.0) - password_policy: 1.17.0 (installed 1.11.0) - survey_client: 1.15.0 (installed 1.9.0) - suspicious_login: 5.0.0 (installed 4.1.0) - tasks: 0.15.0 (installed 0.15.0) - twofactor_totp: 9.0.0
Nextcloud Signing status
Nextcloud Logs
Additional info
Nextcloud all in one 27.1.5
The text was updated successfully, but these errors were encountered: