I have deployed my angular application, its showng 502 bad gateway
prashantparmar95
HOBBYOP

2 years ago

I have deployed my angular application, its showng 502 bad gateway

Solved

33 Replies

2 years ago

Hey, what version of angular?


prashantparmar95
HOBBYOP

2 years ago

Angular CLI: 15.1.4

Node: 18.14.0

Package Manager: npm 9.3.1

OS: win32 x64

Angular:

...

Package Version

------------------------------------------------------

@angular-devkit/architect 0.1501.4 (cli-only)

@angular-devkit/core 15.1.4 (cli-only)

@angular-devkit/schematics 15.1.4 (cli-only)

@schematics/angular 15.1.4 (cli-only)


prashantparmar95
HOBBYOP

2 years ago

above is all configuration, could you please help me in it


2 years ago

https://github.com/brody192/angular-template

Try copying the nixpacks.toml and Caddyfile from this repo into your project.


prashantparmar95
HOBBYOP

2 years ago

In logs , i am facing these errors and warning:

1. npm WARN config production Use --omit=dev instead.

2.- Generating browser application bundles (phase: setup)...

level:"error"

replica: 787465f7-68c0-47a2-bca3-b7126b44aeff

3.Browser application bundle generation complete.

level:"error"

replica: 787465f7-68c0-47a2-bca3-b7126b44aeff


2 years ago

Please try my suggestion.


prashantparmar95
HOBBYOP

2 years ago

i have added , still not working my project

issue in log : admin endpoint disabled


prashantparmar95
HOBBYOP

2 years ago

could you please help @brody?


2 years ago

Red doesn't always mean error, please look at what the log says, not its colour.

To help further you would need to share your repo.


prashantparmar95
HOBBYOP

2 years ago

code is deployed successfully, but when i am opening the url , 502 is comming


2 years ago

To help further you would need to share your repo.


prashantparmar95
HOBBYOP

2 years ago

sure , please share your email


2 years ago

My GitHub username is brody192


prashantparmar95
HOBBYOP

2 years ago

https://github.com/PrashantParmar95/lekhamfront


prashantparmar95
HOBBYOP

2 years ago

please check the log


2 years ago

Moderators can not see your logs.

Looking at your project code now.


prashantparmar95
HOBBYOP

2 years ago

ok


prashantparmar95
HOBBYOP

2 years ago

could you please share your email, can we
discuss on team or google meet?


2 years ago

I am not able to offer that level of support.


prashantparmar95
HOBBYOP

2 years ago

ok


prashantparmar95
HOBBYOP

2 years ago

have you find any bug?


2 years ago

Here is quick deployment I threw together - https://believable-insight-production.up.railway.app/

Zero code changes.

Please send a screenshot of your public networking section in the service settings.


prashantparmar95
HOBBYOP

2 years ago

please check

Attachments


2 years ago

Port 4200 is wrong, remove and re-add the domain.


prashantparmar95
HOBBYOP

2 years ago

once i choose generate domain , it is asking me to choose port, what i need to do


2 years ago

Choose the port.


prashantparmar95
HOBBYOP

2 years ago

which port, sorry i did not getting it


2 years ago

8080


prashantparmar95
HOBBYOP

2 years ago

i have choosen same , but still showing this error

Attachments


prashantparmar95
HOBBYOP

2 years ago

should i redeploy?


2 years ago

The site works fine for me, please have some patience.


prashantparmar95
HOBBYOP

2 years ago

ohh thanks brody , its working for me now


2 years ago

Awsome.


Status changed to Solved brody over 1 year ago


Loading...