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.

Hi guys,

just want a report a server configuration issue (I don’t know where to put this, so I opened a github issue). Occasionally, when using Branch web SDK I get CORS errors.

Console output (I removed some data from output):

XMLHttpRequest cannot load https://api.branch.io/v1/has-app/MY_KEY?browser_fingerprint_id=xxxxxxxxxxx. The 'Access-Control-Allow-Origin' header contains multiple values '*, *', but only one is allowed. Origin 'http://localhost:9000' is therefore not allowed access.

We’ve recently went from v2.1.1 to v2.11.0.

Hope you will be able to track down the server responsible. Thanks!

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jsaleighcommented, Nov 10, 2016

It looks like the problem was isolated, and has been repaired. If you see this again, please let us know. Thanks again for reporting it 😃

0reactions
jsaleighcommented, Jan 26, 2017

Hi @tech-sgsragasagara! Sorry you’re having difficulties with the service. We’ve done a check against your app id and don’t see any errors like this for it over the past several days. Of course you’re seeing the issue, so there must be something going on, and we’ll try to help where we can.

Does the problem you’re seeing happen very often? Also do you have a timestamp for when you see the errors? Any extra information would be great to help us track this down.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cross-Origin Resource Sharing (CORS) - MDN Web Docs
Cross-Origin Resource Sharing (CORS) is an HTTP-header based mechanism that allows a server to indicate any origins (domain, scheme, ...
Read more >
A Guide to Solving Those Mystifying CORS Issues
An 'issue with CORS' occurs when the API does not reply to such request with, 'Yes, dear browser, you are allowed to do...
Read more >
What is CORS (cross-origin resource sharing)? - PortSwigger
Vulnerabilities arising from CORS configuration issues · Server-generated ACAO header from client-specified Origin header · Errors parsing Origin headers.
Read more >
CORS errors and how to solve them - Topcoder
Or, your API fails and shows a CORS error in the console. · This happens because the same-origin policy is part of the...
Read more >
What Is a CORS Error and How to Fix It (3 Ways) - Bannerbear
As a CORS error occurs when the external API server doesn't return the HTTP headers required by the CORS standard, you can add...
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