[bug]: Upload Images in profile show error
Is there an existing issue for this?
- [x] I have searched the existing issues
Current behavior
When i try to upload a image in the profile, and slecting a local image and click upload and save i got:
Something went wrong, please try again.
I use the docker plain installation, comunity edition
Steps to reproduce
Go to Profile Click on change cover click upload select a image click upload & Save error....Something went wrong, please try again.
Environment
Production
Browser
Google Chrome
Variant
Self-hosted
Version
v1.1.0
Hi @brunomgrocha could you please share network tab logs while uploading the image
Hi @brunomgrocha could you please share network tab logs while uploading the image
I'm experiencing the exact same issue: If i upload via local IP it gives the Something went wrong, please try again error and a JS error in console: Uncaught (in promise) Error: Error in uploading file. at T (3330-faab7407cb1260b9.js:1:8442)
If i upload via fqdn the https://fqdn.com/uploads request in the network tab gets stuck (pending).
EDIT: I think the (pending) response was because of one of my attempted fixes in nginx.conf. I see Mixed Content errors for most image upload fields aside from the user profile picture: The page at 'https://fqdn.com/nextlvl/settings/' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://fqdn/uploads/'. This request has been blocked; the content must be served over HTTPS.