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

a year ago

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

Solved

33 Replies

brody
EMPLOYEE

a year ago

Hey, what version of angular?


prashantparmar95
HOBBYOP

a year 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

a year ago

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


brody
EMPLOYEE

a year ago

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

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


prashantparmar95
HOBBYOP

a year 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


brody
EMPLOYEE

a year ago

Please try my suggestion.


prashantparmar95
HOBBYOP

a year ago

i have added , still not working my project

issue in log : admin endpoint disabled


prashantparmar95
HOBBYOP

a year ago

could you please help @brody?


brody
EMPLOYEE

a year 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

a year ago

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


brody
EMPLOYEE

a year ago

To help further you would need to share your repo.


prashantparmar95
HOBBYOP

a year ago

sure , please share your email


brody
EMPLOYEE

a year ago

My GitHub username is brody192


prashantparmar95
HOBBYOP

a year ago

https://github.com/PrashantParmar95/lekhamfront


prashantparmar95
HOBBYOP

a year ago

please check the log


brody
EMPLOYEE

a year ago

Moderators can not see your logs.

Looking at your project code now.


prashantparmar95
HOBBYOP

a year ago

ok


prashantparmar95
HOBBYOP

a year ago

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


brody
EMPLOYEE

a year ago

I am not able to offer that level of support.


prashantparmar95
HOBBYOP

a year ago

ok


prashantparmar95
HOBBYOP

a year ago

have you find any bug?


brody
EMPLOYEE

a year 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

a year ago

please check

Attachments


brody
EMPLOYEE

a year ago

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


prashantparmar95
HOBBYOP

a year ago

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


brody
EMPLOYEE

a year ago

Choose the port.


prashantparmar95
HOBBYOP

a year ago

which port, sorry i did not getting it


brody
EMPLOYEE

a year ago

8080


prashantparmar95
HOBBYOP

a year ago

i have choosen same , but still showing this error

Attachments


prashantparmar95
HOBBYOP

a year ago

should i redeploy?


brody
EMPLOYEE

a year ago

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


prashantparmar95
HOBBYOP

a year ago

ohh thanks brody , its working for me now


brody
EMPLOYEE

a year ago

Awsome.


Status changed to Solved brody over 1 year ago


Loading...