mattermost / mattermost-mobile

Next generation iOS and Android apps for Mattermost in React Native
https://about.mattermost.com/
Apache License 2.0
2.25k stars 1.36k forks source link

JSON could not be serialized because of error: #7435

Closed nczyw closed 1 year ago

nczyw commented 1 year ago

Per Mattermost guidelines, GitHub issues are for bug reports: http://www.mattermost.org/filing-issues/.

For troubleshooting see: http://forum.mattermost.org/. For feature proposals see: http://www.mattermost.org/feature-requests/

If you've found a bug--something appears unintentional--please follow these steps:

  1. Confirm you’re filing a new issue. Search existing tickets in Jira to ensure that the ticket does not already exist.
  2. Confirm your issue does not involve security. Otherwise, please see our Responsible Disclosure Policy.
  3. File a new issue using the format below. Mattermost will confirm steps to reproduce and file in Jira, or ask for more details if there is trouble reproducing it. If there's already an existing bug in Jira, it will be linked back to the GitHub issue so you can track when it gets fixed.

Summary

Unable to upload certain files via mobile app. This is on an OMNIBUS self-hosted deployment.

Environment Information

Steps to reproduce

In any chat window, select the video shot by the original camera of the iPhone or turn on the Live Phone function of the original camera, and then the photos taken will report an error. The content of the error report is: JSON could not be serialized because of error:

Expected behavior

Describe your issue in detail

Observed behavior (that appears unintentional)

What did you see happen? Please include relevant error messages, screenshots and/or video recordings.

Possible fixes

If you can, link to the line of code that might be responsible for the problem

nczyw commented 1 year ago

nginx client_max_body_size Setting it up a bit larger is no problem