I'm following the Meteor guide and have setup a login system using the following packages: useraccounts:bootstrap useraccounts:flow-routing [email protected] [email protected]. When I deploy my app for testing using the meteor-now command I'm able to register an account and login into my app but after a while of not using the app trying to log back in I get the login forbidden message and it seems the account I registered does not exist anymore. I cannot find a reason why this would be happening. I'm assuming it has something to do with deploying with meteor-now since I don't seem to have this issue on my local instance.
Login Forbidden message after registering account
96 Views Asked by oxxi At
1
There are 1 best solutions below
Related Questions in JAVASCRIPT
- Using Puppeteer to scrape a public API only when the data changes
- inline SVG text (js)
- An array of images and a for loop display the buttons. How to assign each button to open its own block by name?
- Storing the preferred font-size in localStorage
- Simple movie API request not showing up in the console log
- Authenticate Flask rest API
- Deploying sveltekit app with gunjs on vercel throws cannot find module './lib/text-encoding'
- How to request administrator rights?
- mp4 embedded videos within github pages website not loading
- Scrimba tutorial was working, suddenly stopped even trying the default
- In Datatables, start value resets to 0, when column sorting
- How do I link two models in mongoose?
- parameter values only being sent to certain columns in google sheet?
- Run main several times of wasm in browser
- Variable inside a Variable, not updating
Related Questions in METEOR
- GA Preview Says Tags are Working on Ngrok But Not on Production?
- Running a project in meteor, Errors prevented startup. While downloading [email protected]...: > error: certificate has expired
- Why does this meteor publication go slower when using limit?
- Migrating from meteor 1.8.3 to 2.6
- Meteor wallet app tutorial mins 9:27 - 12:12 Type annotations can only be used in TypeScript files error
- MeteorJS Oplog: Got exception while polling query MongoError: no primary server available
- Login forbidden after upgrading Meteor version 2.2 to 2.4
- Expo react-native app crashes right after launch in Test Flight
- How to download a file stored as Binary in MongoDB
- Meteor server side packages debugging
- Profiling packages and services for meteor apps
- MeteorJS passwordless email authentication sends a link pointing to the specific server instead of domain name
- Meteor app is not working with nivo on runtime
- Meteorjs equivalent of ws.send
- Meteor/Vue/Framework7: No style being used
Related Questions in VERCEL
- now.js hosted node app crashes after a while
- Setting multiple environment variables in vercel build step
- MongoDB returns 502 error in Vercel hosted app
- How to deploy a React website via Vercel or heroku?
- From what regios does Vercel serve Next.js SSR responses?
- In Next.js, Why static render? _document.js includes getInitialProps
- React router not working on live production
- Why is Vercel failing to build my Next.js tsx app?
- Installing the Vercel CLI in Visual Studio Code
- MongoDB unescaped slash in user info section while building a serverless function hosted by Vercel
- How to send an image file using formdata to React/Next js api?
- How to pass this.props.match.params.id across to serverless function for database query from React web app
- req.params not passing from React frontend to serverless function on Axios post request
- Unable to signin with Next-auth in production
- How to upload images or files in Next.js app deployed to Vercel
Related Questions in METEOR-USERACCOUNTS
- Login forbidden after upgrading Meteor version 2.2 to 2.4
- Meteor-Angular: Meteor.User is not assignable to type User
- Login Forbidden message after registering account
- Meteor/React: Redirect outside of component as callback of AccountsTemplates.logout()
- Dump list of users to website?
- Meteor Autoform - How can I show specific user data?
- FlowRouter.go(redirect) gets triggered, but does not actually redirect
- TheMeteorChef createUser Methods already exists?
- Display form fields based on user type with Meteor Useraccount package
- Meteor useraccounts watch state
- Meteor - event on {{if currentUser}} content loaded
- Meteor React: What is the simplest way to ensure a user is logged in before rendergin a page?
- HTML5 - unwanted <form> autofocus on mobile browsers
- Clearing Meteor.userId() from client browser after calling Meteor.logoutOtherClients()?
- Exception in template helper: TypeError: Cannot read property '0' of undefined
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
On localhost when you developing your application you are connected to the local database. You can set the database connection parameter in an environment variable
MONGO_URL.Whey you using
meteor-nowthen your application is deployed. It means that code od application is compiled and installed on Meteor cloud hosting.The code is transferred but data and configuration no. There are some solutions and you can chode one dependently from what you want to achieve.
1) Connect local instance to the production database. You should set MONGO_URL on the local machine.
Tutorials
2) You should create fixtures. I mean commands that executes when server starting and creating a user in the database if he does not exists.
In your case, I would recommend the second approach.
There is an example of creating a user by fixtures
UPDATE 1
After installing Meteor Now I see these output without any additional configuration
Paragraphs on link
explains what probably is the reason for data loss. Please tell more about your MONGO_URL settings.
Are you sure that between the moment when you have your data and you lost your data you do not do deploy? In this architecture, any update of code will erase your database.
UPDATE 2
In my screenshots, there are errors connected with the incompatibility of meteor-now with now v2.
This is not connected with a database, but maybe partially. Now, v1 is service for Docker images, v2 is for lambda expressions. After downgrade
Errors vanished, but I cant finish deploying It takes too much time. Below an example of connection with database from Mongo DB Atlas.