Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login doesn't work on Firefox #7

Open
gitxav opened this issue Jan 1, 2019 · 10 comments
Open

Login doesn't work on Firefox #7

gitxav opened this issue Jan 1, 2019 · 10 comments

Comments

@gitxav
Copy link

gitxav commented Jan 1, 2019

Hi all.

A really nice app but unfortunately I get the following error with session on landing page:

screenshot from 2018-12-31 17-33-21

My package.json in client folder:
{
"name": "fullstack-apollo-react-boilerplate-project",
"version": "0.1.0",
"author": "Robin Wieruch hello@rwieruch.com (https://www.robinwieruch.de)",
"dependencies": {
"apollo-cache-inmemory": "^1.3.7",
"apollo-client": "^2.4.4",
"apollo-link": "^1.2.3",
"apollo-link-error": "^1.1.1",
"apollo-link-http": "^1.5.5",
"apollo-link-ws": "^1.0.9",
"apollo-utilities": "^1.0.24",
"graphql": "^14.0.2",
"graphql-tag": "^2.10.0",
"history": "^4.7.2",
"react": "^16.6.0",
"react-apollo": "^2.2.4",
"react-dom": "^16.6.0",
"react-router-dom": "^4.3.1",
"react-scripts": "2.1.0",
"subscriptions-transport-ws": "^0.9.15"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --env=jsdom --passWithNoTests",
"eject": "react-scripts eject"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
]
}

My package.json in server folder:
{
"name": "fullstack-apollo-express-postgresql-boilerplate",
"version": "1.0.0",
"description": "",
"main": "index.js",
"engines": {
"node": "10.11.0"
},
"scripts": {
"start": "nodemon --exec babel-node src/index.js",
"test:run-server": "TEST_DATABASE=mytestdatabase npm start",
"test:execute-test": "mocha --require @babel/register 'src/**/*.spec.js'",
"test": "echo "No test specified" && exit 0"
},
"keywords": [],
"author": "Robin Wieruch hello@rwieruch.com (https://www.robinwieruch.de)",
"license": "ISC",
"devDependencies": {
"@babel/core": "^7.1.6",
"@babel/node": "^7.0.0",
"@babel/preset-env": "^7.1.6",
"@babel/register": "^7.0.0",
"axios": "^0.18.0",
"chai": "^4.2.0",
"mocha": "^5.2.0",
"nodemon": "^1.18.7",
"morgan": "^1.9.1"
},
"dependencies": {
"apollo-server": "^2.2.3",
"apollo-server-express": "^2.2.3",
"bcrypt": "^3.0.2",
"cors": "^2.8.5",
"dataloader": "^1.4.0",
"dotenv": "^6.1.0",
"express": "^4.16.4",
"graphql": "^14.0.2",
"graphql-iso-date": "^3.6.1",
"graphql-resolvers": "^0.2.2",
"jsonwebtoken": "^8.4.0",
"pg": "^7.6.1",
"sequelize": "^4.41.2",
"uuid": "^3.3.2"
}
}

I'm working with node 8.11.2 on ubuntu 16.04.

Thanks and I'll appreciate any hint.

@rwieruch
Copy link
Member

rwieruch commented Jan 2, 2019

Can you pull the latest version and check if it works now? Should be fixed in 5509d9e Let me know if it works that we can close the issue :)

@gitxav
Copy link
Author

gitxav commented Jan 3, 2019

Sorry for the delay. The landing page works now as expected. Thanks so much :)
But now I have a problem with sign-up. I receive 'Network error: Response not successful: Received status code 400 at every attempt'.

@rwieruch
Copy link
Member

rwieruch commented Jan 4, 2019

Can you sign up with the server via GraphQL Playground when your server runs and you visit http://localhost:8000/graphpql ?

@gitxav
Copy link
Author

gitxav commented Jan 4, 2019

Yes, I can signup from playground but when trying to login from landing page server responds with 400 error yet.
screenshot from 2019-01-04 12-15-23

@rwieruch
Copy link
Member

I tried it on my machine but cannot duplicate the issue :( Anyone else running into this?

@gitxav
Copy link
Author

gitxav commented Jan 19, 2019

I tried project using Chrome and now it works nice :) . I used Firefox initially and I was unable to login and signup from landing page. I don't understand why.

@rwieruch
Copy link
Member

That's a good hint. I will have to check it myself 👍 Thanks for trying it again!

@rwieruch rwieruch changed the title TypeError: session is undefined Login doesn't work on Firefox Jan 20, 2019
@gitxav
Copy link
Author

gitxav commented Jan 20, 2019

You are welcome :) . By the way the initial users data are not loaded in Firefox either:
'There are no messages yet ... Try to create one by yourself.'

@ACPK
Copy link

ACPK commented May 13, 2019

@rwieruch - Is this still an issue?

@rwieruch
Copy link
Member

rwieruch commented May 14, 2019

Not sure whether there are still issues on Firefox side. Someone able to test it? If everything works fine, I would close the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants