nextcloud / nextcloud/ios

Multiple 404 in the server logs generated by the client

Open
#4,278 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Swift
Stars
2.5k
Forks
1k
Avg merge
2d 18h
Merged PRs (30d)
13

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.

Steps to reproduce
  1. Create an account
  2. Try to connect from Ipad
  3. Check the server logs
Expected behaviour

The client should not request non-existing URLs

Actual behaviour

404 errors for the following urls:
/index.php/login/v2/poll
/index.php/core/preview
/ocs/v2.php/apps

Logs
<IP> - - [29/Aug/2026:17:34:35 +0200] "GET /apps-appstore/collectives/js/_plugin-vue_export-helper-DkBX4V6b.chunk.mjs HTTP/1.1" 200 161 "-" "Mozilla/5.0 (iPad; CPU OS 18_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.6 Mobile/15E148 Safari/604.1" "-"

<IP> - - [29/Aug/2026:17:34:36 +0200] "GET /index.php/apps/theming/image/logo?v=6 HTTP/1.1" 200 2803863 "-" "Mozilla/5.0 (iPad; CPU OS 18_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.6 Mobile/15E148 Safari/604.1" "-"

<IP> - - [29/Aug/2026:17:34:36 +0200] "POST /index.php/login/v2/poll?token=SWu3SRrAdC4Gj5x7MJ4afQiT65SgWabc8hPCssf3Bh7M3858X8wBp8YjkDTOBkcQuZvnclFNg1CIT8DKbgfRCat7K70ZRQvT4N3DwsYkYUGH9K24CJ60vrftmAmqZ7sN HTTP/1.1" 404 2 "-" "Mozilla/5.0 (iOS) Nextcloud-iOS/34.1.4" "-"

Reasoning or why should it be changed/implemented?

I have a fail2ban filter for repeated 404 requests. I ended up banning legitimate users on signup.
When I disable the rule, everything works correctly.

Environment data

iOS version: No idea, a user in a different country.

Nextcloud iOS app version: fresh download from the app store.
Server operating system:

Web server: nginx

Database: Mariadb

PHP version:

[root@Nextcloud ~]# php --version
PHP 8.5.9 (cli) (built: Jul 28 2026 13:06:52) (NTS gcc x86_64)
Copyright (c) The PHP Group
Built by Fedora Project
Zend Engine v4.5.9, Copyright (c) Zend Technologies
    with Zend OPcache v8.5.9, Copyright (c), by Zend Technologies

Nextcloud version:

Nextcloud Hub 26 Spring (34.0.2)

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 by reproducing signup or connection from an iPad and inspect requests for /index.php/login/v2/poll, /index.php/core/preview, and /ocs/v2.php/apps. Trace where the iOS client generates these URLs and compare them with the server's available endpoints; done means legitimate signup users no longer trigger these 404 requests.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.