nextcloud / nextcloud/notes-ios

404 after successful login

Open
#161 16 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Swift
Stars
73
Forks
22
PR merge metrics
No merged PRs in 30d

Description

How to use GitHub
  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

I can contribute clear text network logs from interface between nginx and php if s.b. is willing to work on this

Steps to reproduce
  1. install nextcloud notes on ios
  2. connect to nc instance
    3.try to add note
Expected behaviour

note is added and replicated to nc instance

Actual behaviour

Red error window, see attached pic

Server configuration

Web server: nginx-2:1.26.3

Database: postgresql-0:16.9-1

PHP version: php-0:8.3.22-1

Nextcloud version: 31.0.9

List of activated apps

Enabled:

  • app_api: 5.0.2
  • bruteforcesettings: 4.0.0
  • calendar: 5.5.4
  • circles: 31.0.0
  • cloud_federation_api: 1.14.0
  • comments: 1.21.0
  • contactsinteraction: 1.12.0
  • dashboard: 7.11.0
  • dav: 1.33.0
  • federatedfilesharing: 1.21.0
  • files: 2.3.1
  • files_downloadlimit: 4.0.0
  • files_pdfviewer: 4.0.0
  • files_reminders: 1.4.0
  • files_sharing: 1.23.1
  • files_trashbin: 1.21.0
  • files_versions: 1.24.0
  • fileslibreofficeedit: 2.0.1
  • firstrunwizard: 4.0.0
  • gpxpod: 7.0.4
  • impersonate: 2.0.0
  • logreader: 4.0.0
  • lookup_server_connector: 1.19.0
  • mail: 5.5.0
  • notes: 4.12.3
  • oauth2: 1.19.1
  • password_policy: 3.0.0
  • photos: 4.0.0
  • privacy: 3.0.0
  • profile: 1.0.0
  • provisioning_api: 1.21.0
  • related_resources: 2.0.0
  • settings: 1.14.0
  • sharebymail: 1.21.0
  • spreed: 21.1.4
  • survey_client: 3.0.0
  • systemtags: 1.21.1
  • tables: 0.9.5
  • tasks: 0.16.1
  • text: 5.0.0
  • theming: 2.6.1
  • twofactor_backupcodes: 1.20.0
  • updatenotification: 1.21.0
  • viewer: 4.0.0
  • webhook_listeners: 1.2.0
  • workflowengine: 2.13.0
    Disabled:
  • activity: 4.0.0 (installed 2.21.1)
  • admin_audit: 1.21.0
  • encryption: 2.19.0
  • federation: 1.21.0 (installed 1.19.0)
  • files_external: 1.23.0
  • nextcloud_announcements: 3.0.0 (installed 1.7.0)
  • notifications: 4.0.0 (installed 2.6.0)
  • recommendations: 4.0.0 (installed 2.1.0)
  • richdocuments: 8.7.1 (installed 8.7.1)
  • serverinfo: 3.0.0 (installed 1.19.0)
  • support: 3.0.0 (installed 1.12.0)
  • suspicious_login: 9.0.1
  • twofactor_nextcloud_notification: 5.0.0
  • twofactor_totp: 13.0.0-dev.0
  • user_ldap: 1.22.0
  • user_status: 1.11.0 (installed 1.9.0)
  • weather_status: 1.11.0 (installed 1.9.0)
Nextcloud configuration "system": { "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "localhost", "vs3.ing-haug.de", "ing-haug.de" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "pgsql", "version": "31.0.9.1", "overwrite.cli.url": "http:\/\/localhost", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "dbuser": "***REMOVED SENSITIVE VALUE***", "installed": true, "instanceid": "***REMOVED SENSITIVE VALUE***", "memcache.local": "\\OC\\Memcache\\APCu", "maintenance": false, "loglevel": 1, "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_smtpmode": "smtp", "mail_sendmailmode": "smtp", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "587", "app_install_overwrite": [ "ocsms" ], "mail_smtpsecure": "tls", "mail_smtpauthtype": "PLAIN", "mail_smtpauth": 1, "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "default_phone_region": "DE" }
Browser

Browser name: no browser, ios app

Browser version: 124/125/…

Operating system: Windows/Ubuntu/Mac/…

Browser log
Insert your browser log here, this could for example include:
a) The javascript console log
b) The network log
c) ...

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Notes iOS login and add-note flow, reproducing the issue against the reported Nextcloud 31.0.9 setup. Collect the network logs between nginx and PHP around the successful login and note creation, then verify that adding a note returns no 404 and replicates to the Nextcloud instance.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, nginx, php, postgresql, swift
Domain
api, authentication, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.