Code Monkey home page Code Monkey logo

Comments (7)

shane-tomlinson avatar shane-tomlinson commented on July 17, 2024 1

@championshuttler - From this line, it looks like you do not have Docker running:

20|pairing | See 'docker run --help'.
20|pairing | docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

from fxa-content-server.

lmorchard avatar lmorchard commented on July 17, 2024 1

I haven't looked too deeply into this issue, but just talking about localhost versus 127.0.0.1: Those are definitely not interchangeable as URLs. They might go to the same place, network-wise, but in an URL they are different distinct origins with respect to security concerns and such.

If you look in the Web Console, you should see an error that reads something like: Content Security Policy: The page’s settings blocked the loading of a resource at... This means that the site has directed the browser to only load certain kinds of resources from certain origins - i.e. in this case, only from 127.0.0.1 per the Content-Security-Policy header served up with the page. (You can also see this header if you look in the Network tab in the Web Console)

I think for FxA in development, everything is tied to 127.0.0.1:3000 as the expected origin.

from fxa-content-server.

r-arvind avatar r-arvind commented on July 17, 2024

Screenshot from 2019-03-20 00-12-52

@shane-tomlinson I am facing the same issue, can you explain as to what is happening and how to fix it?

Edit: Isn't the content-server supposed to work with remote Firefox Accounts Server?

from fxa-content-server.

hritvi avatar hritvi commented on July 17, 2024

@r-arvind @championshuttler there is some issue with the localhost. Instead, you would be able to signin at 127.0.0.1:3030. Even I tried a lot to search for an appropriate reason for this issue, but at last, concluded that there is some problem with my local PC. But as this issue is more frequent and not dependent on the local machine, I think that it would need some more discussions.

from fxa-content-server.

r-arvind avatar r-arvind commented on July 17, 2024

Wow, it works at 127.0.0.1. That was unexpected, never realized that localhost won't work. I was struggling to find the issue for a long long time. Thanks!!

from fxa-content-server.

shane-tomlinson avatar shane-tomlinson commented on July 17, 2024

Thanks for the info @hritvi! I'm going to close this issue.

from fxa-content-server.

hritvi avatar hritvi commented on July 17, 2024

Thanks @lmorchard for clearing all my origin related doubts. Until now I used to think that 127.0.0.1 points to localhost only and both are the same things 😅 .

from fxa-content-server.

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.