Skip to content

Invalid host defined options Error #129

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
andersonmorino opened this issue Dec 24, 2024 · 9 comments
Open

Invalid host defined options Error #129

andersonmorino opened this issue Dec 24, 2024 · 9 comments
Assignees
Labels
question Further information is requested

Comments

@andersonmorino
Copy link

image

This error happens when trying to execute SFDX Package.xml Generator: Choose Metadata Components command. How to fix it?

@vignaesh01
Copy link
Owner

@andersonmorino Please try the following,

  1. Update to the latest version of Salesforce generator extension.
  2. Check whether the package.xml is present inside the manifest folder.
  3. Reauthenticate your org with your sfdx project

If still the issue persists, please send me the extension logs & developer tools log.

Steps for Extension logs:
Help -> Toggle Developer Tools
View -> Command Palette -> Developer : Open Logs Folder

Steps for Developer tools log:
View -> Command Palette -> Developer : Open Webview Developer Tools

@vignaesh01 vignaesh01 self-assigned this Dec 26, 2024
@vignaesh01 vignaesh01 added the question Further information is requested label Dec 26, 2024
@andersonmorino
Copy link
Author

@vignaesh01

Toggle Developer Tools:

INFO Started local extension host with pid 19000.
TMScopeRegistry.ts:46 Overwriting grammar scope name to file mapping for scope text.log.
Old grammar file: file:///c%3A/Users/ander/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/extensions/log/syntaxes/log.tmLanguage.json.
New grammar file: file:///c%3A/Users/ander/.vscode/extensions/salesforce.salesforcedx-vscode-apex-replay-debugger-62.9.1/syntaxes/apexlog.tmLanguage.json
register @ TMScopeRegistry.ts:46
log.ts:439 ERR [Extension Host] Cannot find en-us, defaulting to en
console.ts:137 [Extension Host] Cannot find en-us, defaulting to en
y @ console.ts:137
log.ts:439 ERR [Extension Host] Cannot find en-us, defaulting to en
console.ts:137 [Extension Host] Cannot find en-us, defaulting to en
y @ console.ts:137
log.ts:439 ERR [Extension Host] Cannot find en-us, defaulting to en
console.ts:137 [Extension Host] Cannot find en-us, defaulting to en
y @ console.ts:137
console.ts:137 [Extension Host] adding AppInsights reporter.
console.ts:137 [Extension Host] SF CLI Extension Activated
log.ts:439 ERR [Extension Host] Cannot find en-us, defaulting to en
console.ts:137 [Extension Host] Cannot find en-us, defaulting to en
y @ console.ts:137
log.ts:439 ERR [Extension Host] Cannot find en-us, defaulting to en
console.ts:137 [Extension Host] Cannot find en-us, defaulting to en
y @ console.ts:137
log.ts:439 ERR [Extension Host] Cannot find en-us, defaulting to en
console.ts:137 [Extension Host] Cannot find en-us, defaulting to en
y @ console.ts:137
log.ts:439 ERR [Extension Host] Cannot find en-us, defaulting to en
console.ts:137 [Extension Host] Cannot find en-us, defaulting to en
y @ console.ts:137
log.ts:439 ERR [Extension Host] Cannot find en-us, defaulting to en
console.ts:137 [Extension Host] Cannot find en-us, defaulting to en
y @ console.ts:137
log.ts:439 ERR [Extension Host] Cannot find en-us, defaulting to en
console.ts:137 [Extension Host] Cannot find en-us, defaulting to en
y @ console.ts:137
log.ts:419 INFO [perf] Render performance baseline is 22ms
log.ts:439 ERR [Extension Host] Cannot find en-us, defaulting to en
console.ts:137 [Extension Host] Cannot find en-us, defaulting to en
y @ console.ts:137
log.ts:439 ERR [Extension Host] Cannot find en-us, defaulting to en
console.ts:137 [Extension Host] Cannot find en-us, defaulting to en
y @ console.ts:137
log.ts:439 ERR [Extension Host] Cannot find en-us, defaulting to en
console.ts:137 [Extension Host] Cannot find en-us, defaulting to en
y @ console.ts:137
console.ts:137 [Extension Host] Activation Mode: autodetect
console.ts:137 [Extension Host] Aura Components Extension Activated
console.ts:137 [Extension Host] WorkspaceType detected: 4
console.ts:137 [Extension Host] Activation Mode: autodetect
console.ts:137 [Extension Host] salesforce.salesforcedx-vscode-core present and active. Returning its exported API.
console.ts:137 [Extension Host] adding AppInsights reporter.
console.ts:137 [Extension Host] key: salesforcedx-vscode-apex
3console.ts:137 [Extension Host] adding AppInsights reporter.
console.ts:137 [Extension Host] Lightning Web Components Extension Activated
console.ts:137 [Extension Host] WorkspaceType detected: 4
console.ts:137 [Extension Host] adding AppInsights reporter.
console.ts:137 [Extension Host] SOQL Extension Activated
log.ts:439 ERR [Extension Host] Cannot find en-us, defaulting to en
console.ts:137 [Extension Host] Cannot find en-us, defaulting to en
y @ console.ts:137
log.ts:439 ERR [Extension Host] Cannot find en-us, defaulting to en
console.ts:137 [Extension Host] Cannot find en-us, defaulting to en
y @ console.ts:137
log.ts:439 ERR [Extension Host] Cannot find en-us, defaulting to en
console.ts:137 [Extension Host] Cannot find en-us, defaulting to en
y @ console.ts:137
log.ts:439 ERR [Extension Host] Cannot find en-us, defaulting to en
console.ts:137 [Extension Host] Cannot find en-us, defaulting to en
y @ console.ts:137
console.ts:137 [Extension Host] adding AppInsights reporter.
console.ts:137 [Extension Host] Apex Debugger Extension Activated
console.ts:137 [Extension Host] Setting up ISV Debugger environment variables
console.ts:137 [Extension Host] Apex Replay Debugger Extension Activated
console.ts:137 [Extension Host] Project is not for ISV Debugger
console.ts:137 [Extension Host] Deleted environment variables SF_TARGET_ORG and SF_ORG_INSTANCE_URL

Developer: Open Logs Folder:

2024-12-26 10:05:20.722 [info] update#setState disabled
2024-12-26 10:05:20.723 [info] update#ctor - updates are disabled by user preference
2024-12-26 10:09:04.362 [info] Extension host with pid 10080 exited with code: 0, signal: unknown.
2024-12-26 10:09:05.376 [error] Extension host with pid 10080 still exists, forcefully killing it...
2024-12-26 10:19:55.396 [info] Extension host with pid 14236 exited with code: 0, signal: unknown.
2024-12-26 10:20:12.275 [info] Extension host with pid 17808 exited with code: 0, signal: unknown.
2024-12-26 10:20:23.986 [info] Extension host with pid 22508 exited with code: 0, signal: unknown.
2024-12-26 10:20:44.606 [info] Extension host with pid 10856 exited with code: 0, signal: unknown.
2024-12-26 10:20:45.611 [error] Extension host with pid 10856 still exists, forcefully killing it...
2024-12-26 10:21:01.863 [info] Extension host with pid 17876 exited with code: 0, signal: unknown.
2024-12-26 10:21:13.121 [info] Extension host with pid 18832 exited with code: 0, signal: unknown.
2024-12-26 10:21:29.917 [info] Extension host with pid 3956 exited with code: 0, signal: unknown.
2024-12-26 10:21:30.922 [error] Extension host with pid 3956 still exists, forcefully killing it...
2024-12-26 10:22:14.769 [info] Extension host with pid 22508 exited with code: 0, signal: unknown.
2024-12-26 10:23:15.109 [info] Extension host with pid 17116 exited with code: 0, signal: unknown.
2024-12-26 10:23:18.071 [info] Extension host with pid 6320 exited with code: 0, signal: unknown.

Developer: Open Webview Developer Tools -> Nothing has opened

@nehapatilSFDC
Copy link

nehapatilSFDC commented Dec 27, 2024

@vignaesh01 Any workaround for this issue in the interim incase the above steps doesnt work?

@djb0646
Copy link

djb0646 commented Jan 2, 2025

I hit the same problem today, recreate project or re-auth the org won't help.

End up rollback to 2.0.11 and it works.

Probably some issue on 2.1.0, or compatibility with sf 2.70.7

@vignaesh01
Copy link
Owner

vignaesh01 commented Jan 3, 2025 via email

@andersonmorino
Copy link
Author

2.1.0 uses sf v2 commands. 2.0.11 uses deprecated sfdx commands. May be you
can try installing tge latest version of the extension again
Thanks,
Vignaesh Ram A

I've downgraded from 2.1.0 to 2.0.14 and also 2.0.11 and both worked. The bug is on the 2.1.0 most recent version. Could you please check on your side?

@dmurcias
Copy link

Hey hey I've downgraded to 2.0.14 and that works perfectly in MACOS thanks folks.

@VKnani
Copy link

VKnani commented Jan 27, 2025

hello @vignaesh01

Image

This error happens when trying to execute SFDX Package.xml Generator: Choose Metadata Components command. How to fix it?

@amatyasftd
Copy link

Im getting the same error on version 2.1.0
How can I downgrade it to an earlier version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

7 participants