Search In This Blog

Showing posts with label VSCode. Show all posts
Showing posts with label VSCode. Show all posts

2020-12-23

VSCode: localhost 1717 no redirect when authorize an Org

Authorize an Org from VSCode.


Issue:

Callback URL localhost:1717 is not redirect.


reason:

proxy setting


Update the PATH Environment Variable (Microsoft Windows)

  1. From the desktop, right click the Computer icon.
  2. Choose Properties from the context menu.
  3. Click the Advanced system settings link.
  4. Click Environment Variables.
  5. Add HTTP_PROXY and HTTPS_PROXY variables

Set up proxy with username and password
HTTP_PROXY: http://USERNAME:PASSWORD@SERVER:PORT/
HTTPS_PROXY: https://USERNAME:PASSWORD@SERVER:PORT/

Set up proxy with domain, username and password
HTTP_PROXY: http://DOMAIN\\USERNAME:PASSWORD@SERVER:PORT/
HTTPS_PROXY: https://DOMAIN\\USERNAME:PASSWORD@SERVER:PORT/

2020-03-02

ERROR: VS Code deploy source to salesfores return 1

The situation
  • First time install VSC and salesforce extension pack
  • Success in web login auth to sfdc
  • Success in download source from sfdc
  • Failed in deploy

Fix by:
Upgrade the version of salesforce extension pack.
Terminal command: sfdx update