Connect App is getting error if i stop and rerun the app in production

App is running in development without uninstall and install It’s working properly. But during Production, on the Activity page, I often saw “Unauthorized: Unable to decodeSymmetric JWT token: Error: Signature verification failed for input: … with method sha256” as an error message. I then had to head to Manange apps, remove the app and then reinstall by pasting the link to my atlasssian-connect.json.

I’m running the tutorial locally with npm start, and using ngrok as suggested.

Below is the code for the config.json

// It's OK to write comments in this JSON configuration file,
// comments will be stripped when this file is loaded.
{
  
  "development": {
    // Port the Express server will listen on.
    "port": "$APP_PORT",
    // Use views/unauthorized.hbs for error page.
    "errorTemplate": true,  
   
    "store": {
      "adapter": "sequelize",
      "dialect": "sqlite",
      "storage": "./developemnt.sqlite",
      "logging":false
    }
  },
  // Configuration for production, which is enabled by setting
  // the NODE_ENV=production environment variable.
  "production": {
 
    "port": "$APP_PORT",
    // Use views/unauthorized.hbs for error page.
    "errorTemplate": true,
    // Public URL to production app.
    "localBaseUrl": "$AC_LOCAL_BASE_URL",
    "store": {
      // Don't use memory storage for production, otherwise
      // data in the storage will go away when the app server restarts.
      // Here, we use PostgreSQL:
      "type": "postgres",
      // PaaS like Heroku will provide DB connection URL through environment variable.
      //"url": "",
      // "adapter": "sequelize",
      // "dialect": "postgres",
      "logging": true,
      "url": "$DATABASE_URL",
      "storage": "./production.sqlite"
    },
    // The app can only be registered by the products on these domains:
    "whitelist": [
      "*.jira-dev.com",
      "*.atlassian.net",
      "*.atlassian.com",
      "*.jira.com"
    ]
  },
  "product": "jira"
}