Skip to content

Latest commit

 

History

History
79 lines (64 loc) · 3.05 KB

File metadata and controls

79 lines (64 loc) · 3.05 KB

Using a Proxy in Anypoint Code Builder

reuse::partial$beta-banner.adoc

Execute network-dependent functions in Anypoint Code Builder, such as publishing to Exchange, logging into Anypoint Platform, and running or debugging applications, by configuring your proxy settings in Visual Studio Code (VS Code).

Note
Proxy settings doesn’t work on the cloud IDE

Before You Begin Configuring Your Proxy

Take into account these considerations before configuring your proxy setting in VS Code:

  • When setting a proxy URL, the protocol can be HTTP or SOCKS. For example:

    • PROTOCOL://username:password@host:port

    • PROTOCOL://host:port

      Note
      Anypoint Code Builder supports SOCKS proxies without authentication but doesn’t support SOCKS proxies with basic authentication.
  • Anypoint Code Builder ignores these fields and reads settings from the proxy URL and the no-proxy list:

    • Proxy Authorization

    • Proxy Kerberos Service Principal

    • Proxy Strict SSL

  • To exclude certain hosts from the proxy, use the Proxy bypass settings.

Configure Your Proxy Settings in VS Code

To configure your proxy settings for Anypoint Code Builder:

  1. Open VS Code.

  2. Open VS Code settings:

    1. In Windows, go to File > Preferences > Settings.

    2. In macOS, go to Code > Settings > Settings.

  3. Search for "proxy" in the settings search bar.

  4. Configure your proxy URL and no-proxy settings.

  5. Configure your proxy settings in your Maven settings.xml file. See Configure a Proxy in Maven for configuration instructions.

  6. Set the 'Proxy Support' setting to 'override' or 'on'.

  7. Restart VS Code to apply your changes.

Add Anypoint Platform URLs to an Allowlist

If your organization uses an allowlist, add these Anypoint Code Builder and Anypoint Platform URLs:

MuleSoft URL

Anypoint Platform services: CloudHub, Exchange, Core Services

Assets downloaded from Exchange

Resources for API Portals

Third Party URL

Eclipse libraries and Eclipse update sites

MuleSoft Maven repositories and connectors update site

Note
For services that use the web browser, such as the Login or Exchange operations, refer to the browser documentation to learn about the browser network requirements. If you use an external identity provider (IdP), you must also grant permission to other third-party domains.