Failing to deploy flask app on AWS Elastic Beanstalk environment - amazon-elastic-beanstalk

I've been working on this for quite some time now and all of a sudden when I run eb deploy to deploy a newer version I get this error in red:
ERROR: Environment named *** is in an invalid state for this operation. Must be Ready.

Related

How do I provide the correct permissions for a Github Workflow?

I have a GitHub runner installed on an on-premise Windows Server 2016 that pickups up a Github action workflow. I installed the Runner as NETWORK SERVICE and have tried running it as other users out of desperation (Administrator, Local Service, Local System). Regardless of what user I have tried thus far, I get the following error:
ERROR ( message: The W3SVC service is not available - try starting the service first. )
I have verified that the service is running, and I am able to run the same command I have in my Github YAML file successfully from PowerShell on the on-premise machine. I have included the line from my YAML file below.
- name: Stop IIS Site and Pool
run: 'c:\windows\system32\inetsrv\appcmd.exe stop site "ORXApi1"'

How to run prisma migrate deploy on amazon beanstalk?

I am having difficulty running Prisma migrations on my Amazon Elastic Beanstalk environment. I have successfully deployed my application, but am unsure how to migrate the database. I have attempted to create a .ebextensions/00_migration.config file with the following command:
container_commands:
01_migrate:
command: "npx prisma migrate deploy"
leader_only: true
But I keep getting an error. Can someone please provide guidance on how to properly run Prisma migrations on an Amazon Elastic Beanstalk environment once deployed?

Codeceptjs Error - Please make sure Selenium Server (ChromeDriver or PhantomJS) is running and accessible

CodeceptJS v3.0.5
Using test root "/Users/bhupendrarautela/extram"
login --
✖ "before all" hook: codeceptjs.beforeSuite for "test something" in 17ms
Error: Can't connect to WebDriver.
Error: Failed to create session.
Unable to connect to "http://127.0.0.1:4444/wd/hub", make sure browser driver is running on
that address.
If you use services like chromedriver see initialiseServices logs above or in wdio.log file
as the service might had problems to start the driver.
Please make sure Selenium Server (ChromeDriver or PhantomJS) is running and accessible
-- FAILURES:
1) login
"before all" hook: codeceptjs.beforeSuite for "test something":
Can't connect to WebDriver.
Error: Failed to create session.
Unable to connect to "http://127.0.0.1:4444/wd/hub", make sure browser driver is running on
that address.
If you use services like chromedriver see initialiseServices logs above or in wdio.log file
as the service might had problems to start the driver.
Please make sure Selenium Server (ChromeDriver or PhantomJS) is running and accessible
Error: Failed to create session.
Unable to connect to "http://127.0.0.1:4444/wd/hub", make sure browser driver is running
on that address.
If you use services like chromedriver see initialiseServices logs above or in wdio.log file as the service might had problems to start the driver.
FAIL | 0 passed, 1 failed // 19ms
Run with --verbose flag to see complete NodeJS stacktrace
Please help me with how to make sure Selenium Server (ChromeDriver or PhantomJS) is running and accessible.

Cant access deployed contract with web3 after restarting local server

I made an app that interacts with a smart contract in the local ganache-cli server, with everything working fine, after restarting the server (and deploying againg the contracts) the app seems to not find the contracts. This is the error that I receive:
Error: UserController has not been deployed to detected network (network/artifact mismatch)
I've deployed the contracts and restarted the server multiple times but nothing seems to works, also MetaStack is able to interact with the server.
Try using the --reset --all flags which tends to resolve this issue.

java jetty app connects one way to mysql in kubernetes

I am facing issue with my app it can connect to mysql in kubernetes when i ran it locally but ones i deploy it on pod it only can connect and executes first query but it never get response back and fails on timeout. I have tried running them in the same pod, various pods etc.