Skip to content

502 error when behind corporate proxy #103

Description

@lechum2

Summary

When trying to use Chat with Dev Assistant I am getting 502 error. We have proxy in our company. I have set it properly in vs code, salesforce cli settings (was not working without it) and in my environment variables.

Steps To Reproduce:

  1. Open Dev Assistant Chat
  2. Type anything and hit Enter

Actual result

502 error

Additional information

Debug log for Agentforce for Developers:

10:47:03.818 sfApiClient.getSfApiUrl
10:47:03.818 DefaultOrg ~ Using cached JWT.
10:47:03.818 sfApiClient.getSfApiRegion
10:47:03.818 Tracing header sfapi /embeddings
10:47:03.971 In AxiosClient, axiosClient.handleError AxiosError: Request failed with status code 502
10:47:03.972 Error creating embeddings
10:47:03.973 Error: Error encountered requesting chat stream: 
11:03:13.675 ActiveTextEditor.changeHandler
11:07:12.979 ActiveTextEditor.changeHandler

Salesforce Extension Version in VS Code: v62.2.0

Salesforce Einstein For Developers Version in VS Code: v1.2.0

OS and version: Windows_NT x64 10.0.19045

VS Code version: 1.93.1

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