question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

HTTP Upload fails with managed backend

See original GitHub issue

@MarcelWaldvogel

Chrome/62.0.3202.97

Console error message:

Failed to load https://userdata.[DOMAIN].jsxc.ch/f3117686f6c2d7970fae9c263771a59e859cc3fb/YC0Udmaea8LEyqGEtQYYATl7Kl63FKQXbFujk2z5/Dez-2017.md.html: Response to preflight request doesn't pass access control check: The 'Access-Control-Allow-Origin' header contains multiple values '*, *', but only one is allowed. Origin 'https://[DOMAIN]' is therefore not allowed access.

Request:

Request URL:https://userdata.[DOMAIN].jsxc.ch/f3117686f6c2d7970fae9c263771a59e859cc3fb/YC0Udmaea8LEyqGEtQYYATl7Kl63FKQXbFujk2z5/Dez-2017.md.html
Request Method:OPTIONS
Status Code:200 
Remote Address:193.197.88.169:443
Referrer Policy:no-referrer-when-downgrade

Response header:

access-control-allow-headers:Content-Type
access-control-allow-headers:Content-Type
access-control-allow-methods:OPTIONS, HEAD, GET, PUT
access-control-allow-methods:OPTIONS, HEAD, GET, PUT
access-control-allow-origin:*
access-control-allow-origin:*
content-length:1
content-security-policy:upgrade-insecure-requests
content-type:text/plain
date:Sat, 30 Dec 2017 20:08:59 GMT
server:Apache/2.4.29 (Ubuntu)
status:200
strict-transport-security:max-age=31536000

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
koarlmichaelcommented, Jan 25, 2018

Tried it with 3 users with OMEMO encryption in the group chat and it works perfectly with Conversation on Android. Just wait for OMEMO in Nextcloud Chat in the Browser 😃 Thank you and I think you can close the issue.

0reactions
koarlmichaelcommented, Jan 24, 2018

I’m testing the group chat with OMEMO again tomorrow. Do not think it’s on the server.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix the WordPress HTTP Error (Uploading Image to ...
The WordPress HTTP error occurs when something goes wrong while attempting to upload images or videos using the built-in media library tool.
Read more >
Upload files blocked by AWS WAF
I need to upload (POST) a file that uses an extension that's blocked by AWS WAF. How do I upload files that are...
Read more >
Parallel upload with h2 -> h1 fails for files above few MB #1205
Parallel uploads work when both front-end and back-end are set to HTTP/1.1, so they are expected to work when the front-end is set...
Read more >
Troubleshoot backend health issues in Application Gateway
Describes how to troubleshoot backend health issues for Azure ... fail, and an HTTP 401 status code will be returned by the backend...
Read more >
Unable to upload images in the Sitefinity backend
In the Sitefinity backend settings under 'Web Security > HttpSecurityHeaders > Response Headers > Content-Security-Policy', the 'Http header ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found