nextcloud / nextcloud/ios

Request failed: internal server error (500)

Open
#1,177 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Expected behaviour

log in to the iOS app with error

Actual behaviour

Receive error message Request failed: internal server error (500)

Steps to reproduce
  1. Open the Nextcloud app for iOS
  2. login to your account using the old authorization method
  3. get error 500
iOS version

13

App version

2.25.9

Operating system:
CentOS 6

Web server:
apache 2.2.15 | nginx 1.16.1 (reverse proxy)

Database:
PG10

PHP version:
7.2

Nextcloud version: (see Nextcloud admin page)
17.0.3

The official Nextcloud app for iOS is installed. after logging in with the old authorization method, the error “Request failed: internal server error (500)” is displayed.
it appears once upon the first authorization. after which the error window disappears and the application works as usual.

I use the old authorization method because I can’t use the standard one because I have nginx with reverse proxies and balancers. when I try to log in by default, I get the error “csrf check failed”. the option with “overwriteprotocol => https” helps with this error “csrf …”, but it doesn’t suit me because of the limitations of the infrastructure.

b5da126d3841bbb0585e5c07932f6f790a50eb50

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

No source file or test is identified in the report; start by reproducing the first-login failure in the iOS app's old authorization flow against the listed Nextcloud, reverse-proxy, PHP, and PostgreSQL setup. Done means the initial authorization no longer returns HTTP 500, while subsequent login behavior is verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
apache, nginx, php, postgresql, swift
Domain
authentication, mobile, networking
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.