Code Monkey home page Code Monkey logo

Comments (2)

gregor avatar gregor commented on May 22, 2024

This is due to CORS limitations. Running the webapp locally we will not be able to refresh the access token. The backend expects the request to originate from certain domains that are whitelisted. As of now the backend is not open sourced and we have no means to change this whitelist for security reasons. We need do that roughly every 14 minutes. As this fails. we try to log you out. One of the few other calls that are limited by CORS. Thus you get stuck in this reconnecting state. Currently nothing we can avoid.

But you can always start the Chrome browser with the --disable-web-security flag. Depending on the Chrome version and platform you are on you might also have to set a separate --user-data-dir="C:\ChromeProfile" folder for the profile to be used. This will ignore the CORS check and we can properly refresh the access token. (or log you out or register an account for that matter)

from wire-webapp.

dschoepe avatar dschoepe commented on May 22, 2024

I can confirm that running Chrom(e|ium) with --disable-web-security and a different data directory fixes the issue.

from wire-webapp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.