Comments (7)
@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.
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.
@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.
@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.
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.
Thanks for the info @hritvi! I'm going to close this issue.
from fxa-content-server.
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)
- Add an OAuth success screen at /oauth/success/<client_id> HOT 7
- Travis uses Firefox 58, 7 versions behind. HOT 3
- Local failing unit test: views/sign_up - render - positions password help tooltip on the second password field HOT 1
- TeamCity tests got confused with the sync dialog
- Pairing: Make sure Android device icon shows up for Fenix and Reference Browser HOT 3
- Avatar preview not horizontally centered on tablets in landscape HOT 3
- [Android Enhancement] Rotate button is positioned too close to the zoom icon HOT 1
- Different length for success message depending if the page is scrolled or not HOT 7
- [Android] Cannot duplicate a bookmark HOT 1
- Green banner for Account recovery enabled/disabled actions not displayed HOT 2
- Deprecate context=fx_desktop_v2 HOT 3
- Merge fx-desktop-v1 auth broker into fx-ios-v1 HOT 3
- Remove support for node 8, support 10+ HOT 5
- Profile upload view layout not working on mobile HOT 3
- User is able to sign up even if the account already exists HOT 2
- Add client icon for Send in device list HOT 6
- [Train-133] "Sync now" is not working on Android HOT 2
- Add errno 121 to oauth-errors.js HOT 3
- CODE_OF_CONDUCT.md file missing HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fxa-content-server.