Questions tagged [production-environment]
A production environment is one in that is exposed to its intended audience in a real-world situation.
production-environment
1,869
questions
0
votes
1
answer
26
views
What is the best approach to handle class instances in django application in a production environment?
I would like to consider 2 approaches. First, you could create a class and its instance in a class and inside views import the instance and call its methods. Second, you import the class and create ...
0
votes
0
answers
26
views
Amplify Cognito : How to hide configuration variables in production environment
I use AWS Cognito to authenticate for a React/NodeJs application, it works well, but now I'm trying to push it into production environment
I usually use backend callbacks to protect my environment ...
0
votes
1
answer
39
views
tailwind css not working on production in vercel
I made portfolio website using nextjs
my website is working fine in localhost but on production components where i used tailwind css are spreading or are not intact.
for e.g here is my code for nav ...
0
votes
0
answers
8
views
Flutter-Firebase Production Ready Apps rules [duplicate]
So i am making a Flutter application which is going to be in production so is there anything to be checked while creating bundle for uploading it in playstore,
In my case i am integrating Firebase ...
0
votes
1
answer
41
views
Django Media Files Not Found (404) on Render Deploy
I'm having trouble serving media files on my Django application deployed on Render. The media files are being created and stored (I think) correctly on the server, but accessing them through the ...
-2
votes
1
answer
38
views
Django Media Files Not Found (404) on Render Deployment
I'm having trouble serving media files on my Django application deployed on Render. The media files are being created and stored (I think?) correctly on the server, but accessing them through the ...
0
votes
1
answer
42
views
Internal server error in server works in localhost
Below code is throwing 500 Internal server error only in server but works in local host. Any input is appreciated.
Controller endpoint:
@ApiOperation(value = "This API gets info from external ...
0
votes
1
answer
58
views
Unicorn 500 code app error: undefined method `=~' for [...]:Array (NoMethodError)
Once again production deploying a rails app which is exciting. This time a Rails 7.1 app following the same guide I have before by Ralf Ebert Ruby on Rails – Deployment Tutorial. My setup is all good ...
0
votes
0
answers
53
views
I have an error that I don't understand in flutter web deployed in production
I did not know why the error started, I had already deployed to production and it worked fine. The idea is that it enters the URL, once there it accepts the permissions for notifications, then it is ...
0
votes
0
answers
93
views
Login required to view portfolio site on Vercel
I just finished creating my portfolio and deploying it to Vercel. Everything went well, including giving me the production URL but whenever I send the link to someone else, it says they have to login ...
0
votes
1
answer
52
views
Flutter Web App on Firebase: different Environments for test and production
We develop an application in Flutter Web.
The application is deployed on Firebase. We use the mechanisms available there for user management and the Firestore to store configuration parameters (e.g. ...
0
votes
1
answer
45
views
Do I need to publish facebook app in order to put my react native app that uses facebook sign in into production?
I created react-native application for both iOS and Android using react-native-fbsdk-next.
It is purely used for sign in and it is working fine on both platform.
I'm about to publish the app into ...
0
votes
0
answers
26
views
Error: EMFILE: too many open files in nextjs 14 in production build
Image of the error
Getting this error in production build.
I have tried by increasing the maximum number of processes (ulimit) from the aws ec2 server but still the issue persist. Can anyone suggest ...
0
votes
0
answers
28
views
Not show port used in geoserver url and make geoserver web interface https
I'm trying to run geoserver in production but I have some issues.
System Configurations
WPS : operating system Debian 12
Geoserver : 2.25.0
Domain name on cloudfare
ssl certificate from certbot
...
0
votes
0
answers
129
views
Supabase google provider not working as expected in vercel deployed website
I am making a Nextjs project using Supabase. Throughout the development process I (and another developer working with me) used local Supabase instance and I had to change my supabase related env ...
0
votes
0
answers
12
views
Vue: nginx setting works in development mode, fails in production mode
I have a nginx configuration like this:
server {
server_name lionchortle.lol;
location ~ ^/vue {
proxy_pass http://localhost:8085;
}
location ~ ^/vue/ {
proxy_pass http://...
0
votes
0
answers
42
views
Error connecting to database: Error: Access denied for user ''@'localhost' (using password: YES) in Electron
I am building an application on electron.js. I want to set my application into production. I have already use electron-forge to build my app and its working perfectly. The only thing is the MySQL ...
0
votes
1
answer
58
views
Applying DB migration to a private Production DB (Azure DB for PostgreSQL)
Firstly, thank you for your time reading this regardless of interaction.
I have a Dev Architecture that I am trying to "Productionise" in a project that I'm doing but struggling to see how ...
0
votes
0
answers
56
views
NextJS 14.X.X - Get explicit error messages in production with server components
Context:
NextJS 14.0.3, Typescript, App router
Separated backend API
Containerized deployment with docker/docker-compose on a Ubuntu server.
Local dev environment: WSL 2 (Ubuntu), locally deployed ...
0
votes
0
answers
64
views
Deploying backpack for Laravel project in a production environment
I am developing a Backpack for Laravel project locally using wamp, visual studio code, and git. In the local environment everything works correctly.
When I try to deploy the Backpack for Laravel ...
-1
votes
1
answer
26
views
symfony 6 login not working on production
I have two login forms.
One for users:
https://www.********/login
This login works on development but doesn't work on production. On production it simply redirects to the login page with no error ...
0
votes
0
answers
50
views
AWS AppRunner: Redirect URI Mismatch Error with Amazon Cognito
I'm building a Next.js application with Google Sign-In using AWS Cognito. It works perfectly on localhost, but I encounter a redirect URI mismatch error when deployed to production. I've confirmed ...
0
votes
0
answers
21
views
MapboxGl SymbolLayer iconImage showing random image in production
I'm building a mobile application with React Native and expo, using mapbox for the map rendering.
I'm working with a MapView that display different images in custom markers based on the sport_id of my ...
0
votes
0
answers
39
views
How to host a proper Python Flask server with HTTP, HTTPS and interactive debug shell, all in the same global namespace?
In Python Flask, if you run app.run(), typically you get the following message:
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
...
0
votes
1
answer
60
views
How to fix URLEncoder related issues?
I am having issues with my URL encoder, it is working locally and on stage, but not working on live.
I am using filters to get brand names, but some of those brand names have spaces. When I send a ...
0
votes
0
answers
68
views
Newtonsoft exception in Blazor .NET 6 only in Production environment
I need your help for a problem in PRODUCTION environment!
I'm building an .NET 6 Blazor WASM-Hosted application, which works fine in localhost.
However, in production environment, after publishing the ...
0
votes
0
answers
190
views
Application error client side exception: Next js React app only on production
i see an issue only with IE browser and DJ Browser for the nextjs react UI app that is running on production.
It always throws application error client side exception randomly every day. at least ...
0
votes
0
answers
46
views
SQL Database in production migration - Best approach
I have a SQL database (postgres using amazon RDS) on production with several records, some tables go up to a few millions rows and need to have some structure changes, in my particular case I just ...
0
votes
1
answer
196
views
Large initial chunk files (Empty Project with PWA and SSR) Angular 17
I am currently working on an Angular 17 project and recently generated a new empty project using Angular CLI with PWA (Progressive Web App) and SSR (Server-Side Rendering) features. However, I noticed ...
1
vote
1
answer
221
views
How solve "Illuminate\Console\Command" not found?
I have a web application in a production environment. The path to the command is correctly set on the server, but it still throws error "Illuminate\Console\Command" not found. Solutions ...
1
vote
1
answer
197
views
How to use Django - cPanel environment variable
While setting up a Django app in cPanel, I can assign environment variables. However, I am having trouble using them. For instance, I made an assignment as seen in the picture. But when I use it in my ...
0
votes
0
answers
51
views
How solve 403 forbidden error in vix cluste server when trying to load livewire script?
I did upload my webapp on shared hosting yesterday, I am using Laravel 10 with Livewire 3, and i am getting this error in production in console
livewire.min.js?id=6b5eb707 net::ERR_ABORTED 403 (...
2
votes
2
answers
3k
views
How to perform Drizzle Migrations in SQLite using Docker on production database on a VPS using Next.js?
I want to perform a Drizzle Migration on Production on a VPS.
I can't run 2 commands pnpm db:migrate:prod & pnpm start in a Dockerfile.
Dockerfile
# Where & how do I run `db:migrate:prod`?
...
1
vote
0
answers
34
views
Recommendations for Blue Green Deployment Testing with Minimal Assertions in Cron-Based Batch Jobs for Higher environment
I am working on a batch application where we utilize Blue Green deployment strategies. Our application comprises three cron-based batch jobs. During the Blue Green deployment process, we execute a ...
0
votes
1
answer
998
views
Try to deploy an Angular 17 web app with proxy config, but it does not work in production
I'm really clueless about the error. Locally in dev mode, it works. But in production, the request return a web page instead of a RSS feed, as if the path was wrong and it return the root (home page ...
0
votes
1
answer
488
views
How can I run Hashicorp Vault docker image with HTTPS on production
I've been trying to run the hashicorp/vault docker image in a production environment with https using docker.
I'm running a node server and using the hashi-vault-js npm package to connect to my vault
...
0
votes
0
answers
7
views
Is it bad to have your test and production environments on the same machine? - running container Images
I know there is a question exits on this topic Is it bad to have your test and production environments on the same machine?
There the major concern's that's discussed is production site can get down ...
1
vote
1
answer
64
views
Consequences of custom environment names in ASP.NET Core web applications
I've been trying to find what (if any) are the consequences of configuring the ASPNETCORE_ENVIRONMENT variable to anything other than Production in a production deployment.
We use the environment ...
0
votes
0
answers
91
views
Nodejs Error: write EPIPE error in Amazon Linux production environment. No issue on windows, but only getting EPIPE error on Linux Server
I am using "pdf-creator-node" npm to generate pdf file using nodejs. Initially i am loading html with dynamic data along with base64 image data to create pdf file. It is working fine locally ...
1
vote
2
answers
89
views
Why is my newly pushed Fly.io Rails7.0.8 app not finding my image & js assets?
I've launched and deployed my (very simple toy) app to Fly.io and it runs but as per console is getting a 404 response trying to load an image asset (there's only one!) and my Stimulus JS controller. ...
0
votes
1
answer
250
views
springboot3 keycloak in production
Recently, we performed upgrades on our Java microservices( to springboot 3.2), leading to significant changes, especially in spring security 6. After analyzing the situation, it became evident that ...
0
votes
1
answer
583
views
How to pass an environment file .env in a production environment via an ".env" file?
I am currently playing around with Python Flask. I am trying to understand the configuration of environment variables better. I know how to pass environment variables to my code when in development ...
0
votes
2
answers
725
views
nuxt/image module in nuxt 3 causes problem in production
When using the Nuxt/Image module and building the application, the image URLs are being changed to https://domain.x/_ipx/_/images/foods/Appetizaer/Garlic-Bread.png. However, the images cannot be ...
0
votes
1
answer
35
views
Journal Posting Working On Test Environment But Getting Unauthorized on Production
We're posting journal reports to Xero on the trial Xero account
Everything is working fine locally and on a test environment (When deployed).
But when deployed to the production environment, we're ...
0
votes
0
answers
25
views
Setup web server for django backend: Nginx and Gunicorn configuration before database migration
Is it possible to setup Nginx and Gunicorn on my web server before executing "python manage.py migrate", since my database server is not ready yet?
Chatgpt recommended me to execute first ...
0
votes
1
answer
370
views
Storing environment variables and secrets on AWS EC2
I have a next.js app which I deployed on EC2. I wish to add some api keys and secrets. I've added some in the next.config.js file but it seems that didn't work.
Here is my next.config.js file:
module....
0
votes
0
answers
52
views
How to initiate different flavours for Flutter web?
Having Two Different Flavours (QA,PROD)
How to dynamically configure file to related flavours like index.html, firebase-messaging-sw.js,
0
votes
1
answer
109
views
Schema hasn't been registered for model "User". Use mongoose.model(name, schema)
I run my Nuxt3 application in development environment and it's working normally but when I build the project I get the error message 'Schema hasn't been registered for model "User".
Use ...
2
votes
1
answer
64
views
Is there any way to open SQL Editor which can only query statements of type just "read only" in DBeaver?
I am a Junior Software engineer and recently got access to Production DB. The creds I got are of Admin. I am afraid that I will unintentionally make unknown changes in Prod DB.
So I want to know if we ...
0
votes
0
answers
28
views
Google/Facebook OAuth for dev/production
when using OAuth from Google, you have to create project in Developer console and then create Oauth credentials. You will get client secret, client ID... Should I create 2 projects? One with ...