Use the docker pull [image_name] command directly on the EC2 instance to see detailed error messages from the Docker daemon. This can provide more specific clues about the issue.
Encountering a 403 Forbidden error suggests that the web server (likely running within the Docker container) is configured to restrict access to your application's files. Here are some troubleshooting steps to address this: 1. Check File Permissions 2. Inspect Dockerfile and Container Logs 3. While less likely, ensure that your EC2 instance security groups allow inbound traffic on port 80 (default for web servers) from the internet (or specific IPs if desired). 4. Try temporarily disabling any firewall rules on your EC2 instance to isolate if the issue lies with firewall restrictions. 5. If you're using a reverse proxy like Nginx in front of your application container, verify its configuration to ensure it routes requests correctly to the backend app.
@@IntegrationNinjas as i new towards Github actions many things i don't know. I used self-hosted runner and while doing extracting actions runner folder i extracted in the project folder which might be wrong and after than as sudo user i run the command on Linux action runner .....but we have to run as normal user while checking i find out. My Bad For English.
#Community............. after git Push it asking username and password of Github but in place of Passwords you have to generate Tokens and paste in place of password.
I am in government job but after watching your videos I am thinking to switch my career to IT sector
Seriously???
I push the code which shows in github master branch but i am not able to merge in github main branch ,Could you please Help?
thanks for the tutorial
Happy to help
Thanks.
Bro do you have any videos that have .env files in a nodejs app ? Or else how to incorporate any .envs in a node app using docker and github actions
Hi bro, I am uing angular project build and deploy successfully it shows 403 error
Deploying angular app is little different, you can refer in this video: ua-cam.com/video/PaeopD78NFU/v-deo.html
Hi bro, I have a doubt. I have been facing one warning node version 16 has been dericated but i am using node 18 version
you can update it.
Hi bro, My docker could not pull the image.How to resolve this error
Use the docker pull [image_name] command directly on the EC2 instance to see detailed error messages from the Docker daemon. This can provide more specific clues about the issue.
how to get docker usename /password
You need to create account on docker hub, you can use same username and password.
You explain good but it can be better because i am facing issue my local system is windows and ec2 is ubuntu so i am confused many place.
What issue you are facing, can you explain here so I can help you.
Windows runner or linux runner there should not be change in commands.
Hi bro, After building and deploying successfully. I am getting 403 Forbidden error
Encountering a 403 Forbidden error suggests that the web server (likely running within the Docker container) is configured to restrict access to your application's files. Here are some troubleshooting steps to address this:
1. Check File Permissions
2. Inspect Dockerfile and Container Logs
3. While less likely, ensure that your EC2 instance security groups allow inbound traffic on port 80 (default for web servers) from the internet (or specific IPs if desired).
4. Try temporarily disabling any firewall rules on your EC2 instance to isolate if the issue lies with firewall restrictions.
5. If you're using a reverse proxy like Nginx in front of your application container, verify its configuration to ensure it routes requests correctly to the backend app.
Bro, But I am deploying the angular application. There is no backend
@@IntegrationNinjas
This is just for react app not for angular. Other than env variables it should be same and for 403 you can try above steps.
I am facing This issue "Must not run with sudo"
May i know which runner you are using?
@@IntegrationNinjas as i new towards Github actions many things i don't know. I used self-hosted runner and while doing extracting actions runner folder i extracted in the project folder which might be wrong and after than as sudo user i run the command on Linux action runner .....but we have to run as normal user while checking i find out. My Bad For English.
Cool, I hope your issue got resolved
@@IntegrationNinjas Thanks for project. i
Is GitHub enterprise cloud free.
No, you can try it free for 30 days but it is paid.
Can you provide Blue Green Deployment
Sure, will try to create video on it further videos
Thanks for sharing 👍
#Community............. after git Push it asking username and password of Github but in place of Passwords you have to generate Tokens and paste in place of password.