sentry icon indicating copy to clipboard operation
sentry copied to clipboard

Issue while npm run build in the azure pipeline in docker . ,##[error]The hosted runner encountered an error while running your job. (Error Type: Disconnect).

Open prasad28061998 opened this issue 1 year ago • 6 comments

Environment

SaaS (https://sentry.io/)

What are you trying to accomplish?

Hi,

We are encountering an issue with Sentry while running on the Azure pipeline. At the stage of npm run build, we receive the error message: ##[error]The hosted runner encountered an error while running your job. (Error Type: Disconnect) with an agent disconnection error. Could you please share the resource requirements, such as the necessary RAM and CPU, to build this package? Additionally, could you provide the steps to resolve this issue, such as any specific commands that need to be added to the Docker file? Trying to accomplish: To build and image of docker

Thank you.

How are you getting stuck?

We are stuck at NPM RUN BUILD cmd which is in dockerfile and running through a azure pipeline

Where in the product are you?

Issues

Link

No response

DSN

No response

Version

No response

prasad28061998 avatar Sep 30 '24 09:09 prasad28061998

Assigning to @getsentry/support for routing ⏲️

getsantry[bot] avatar Sep 30 '24 09:09 getsantry[bot]

Routing to @getsentry/product-owners-settings-integrations for triage ⏲️

getsantry[bot] avatar Sep 30 '24 17:09 getsantry[bot]

Routing to @getsentry/product-owners-issues for triage ⏲️

getsantry[bot] avatar Oct 01 '24 23:10 getsantry[bot]

Hi! thanks for writing in - do you mind clarifying what you are trying to do - Is this on self-hosted sentry? Are you trying to set up the Azure integration? I think we need a little more context to help you out

roggenkemper avatar Oct 02 '24 16:10 roggenkemper

Hi @roggenkemper We implemented the library of sentry inside our one application. -Our azure pipeline agent has 2 cpu core and 8 gb ram -while building the docker image from the azure pipeline, at the stage of npm run build the utilization of the RAM and CPU goes 100% and bcoz of that the pipeline stuck. -why it need too much resources while building the code? is there any solution ? -also we need sourcemap enable for error finding

prasad28061998 avatar Oct 04 '24 12:10 prasad28061998

it seems like you are running into a few problems with your Sentry setup. i would recommend going to https://help.sentry.io/ to get help from our support team on your setup

roggenkemper avatar Oct 04 '24 21:10 roggenkemper