Skip to content
This repository was archived by the owner on Jun 17, 2021. It is now read-only.
This repository was archived by the owner on Jun 17, 2021. It is now read-only.

Close agent when server returns PERMISSION_DENIED #145

@Saicasm

Description

@Saicasm

Hi ,
I'm passing authorisation token in meta data from the node js agent and OAP server checks if the token is valid or not and if it is not valid then it returns status PERMISSION_DENIED and node js agent infinitly sends request to the server instead of killing the agent gRPC process.

I tried this in remtoe-client-service.js file hoping it would work but the application using node js is
crashing.
Screen Shot 2021-02-04 at 14 22 35

is there a way to just stop the node js agent without kill the application using it ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions