Skip to content
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

Nextcloud Talk Windows Client fails to upload data from server (CSRF mismatch, 404 errors, and incorrect locale errors) #985

Open
nassimshahin opened this issue Dec 17, 2024 · 2 comments
Labels

Comments

@nassimshahin
Copy link

I am experiencing an issue with the Nextcloud Talk Windows Client where it fails to upload data from the Nextcloud server. The developer console shows multiple errors, including:

resources:
bash

404 Not Found errors when accessing user_status, dav/events/upcoming, and other resources:

CSRF token mismatches:
communis.erzbistum-koeln.de/ocs/v2.php/apps/user_status/api/v1/statuses/_:1
Failed to load resource: the server responded with a status of 404 (Not Found)

arduino
Request to https://communis.erzbistum-koeln.de/index.php/apps/files/api/v1/configs failed because of a CSRF mismatch. Fetching a new token

javascript
RangeError: Incorrect locale information provided
at Intl.Collator ()
at J.t (index.js)

javascript
Uncaught SyntaxError: Unexpected token 'E', "Error whil"... is not valid JSON
at JSON.parse

csharp
index.js:1 Session has been marked as inactive
index.js:1 Session has been marked as active

Nextcloud Talk Client
Server: Nextcloud server (URL: communis.erzbistum-koeln.de)
Language/Locale: de_DE

@nassimshahin nassimshahin added 0. Needs triage bug Something isn't working labels Dec 17, 2024
@ShGKme
Copy link
Contributor

ShGKme commented Dec 17, 2024

Please provide a diagnosis report (see new issue template).

@nassimshahin
Copy link
Author

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. Access the Nextcloud Talk or related app through the provided URL (communis.erzbistum-koeln.de).
  2. Attempt to join a call room (/call/r2nkd9ed).
  3. Observe console errors and connection failures.

Expected behaviour

The connection to the server should work seamlessly, and calls should be successfully initialized without errors.

Actual behaviour

Several issues occur:

  1. 404 Not Found responses when requesting the following endpoints:
    • .../ocs/v2.php/apps/user_status/api/v1/statuses/...
    • .../ocs/v2.php/apps/dav/api/v1/events/upcoming
  2. CSRF mismatch errors when accessing configurations:
    • .../index.php/apps/files/api/v1/configs
  3. WebSocket connection failures to the signaling server (wss://communis-push.erzbistum-koeln.de/push/ws).
  4. RangeError regarding incorrect locale information:
    RangeError: Incorrect locale information provided
        at Intl.Collator (<anonymous>)
    

Image
...

5. Syntax errors parsing JSON responses.


### Diagnosis and logs

<details>
<summary>Diagnosis report</summary>




Insert a diagnosis report here.  
It can be found in the About window (open from the menu or via <kbd>F1</kbd> and click on the "Copy report" button).

</details>

<details>
<summary>Client logs</summary>

#### Console logs:

Using locale "" for language "de_DE"
Failed to load resource: the server responded with a status of 404 (Not Found)
Request failed because of a CSRF mismatch. Fetching a new token...
WebSocket connection failed: wss://communis-push.erzbistum-koeln.de/push/ws
RangeError: Incorrect locale information provided
SyntaxError: Unexpected token 'E', "Error whil"... is not valid JSON
Session has been marked as inactive/active repeatedly


</details>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants