Document requestOptions for SSL/TLS configuration; fix broken rpOptions example#279
Merged
aviadhahami merged 5 commits intomasterfrom Mar 10, 2026
Merged
Conversation
…onfig.requestOptions Fix issue #239 - Users upgrading to Node 18+ encounter SSL errors due to OpenSSL changes. The config.requestOptions mechanism already supports passing agentOptions through to postman-request, but was undocumented. Changes: - Fix README: change broken rpOptions to requestOptions in SOCKS proxy example - Add SSL/TLS configuration section to README with usage examples - Update pass_request_options.js example to show init-time and per-call options - Add 7 unit tests verifying config.requestOptions forwarding for all methods Co-authored-by: aviadhahami <7353632+aviadhahami@users.noreply.github.com>
Co-authored-by: aviadhahami <7353632+aviadhahami@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix error in vault usage documentation
Document requestOptions for SSL/TLS configuration and fix broken rpOptions example
Mar 10, 2026
Copilot
AI
changed the title
Document requestOptions for SSL/TLS configuration and fix broken rpOptions example
Document requestOptions for SSL/TLS configuration; fix broken rpOptions example
Mar 10, 2026
aviadhahami
approved these changes
Mar 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
config.requestOptionsalready forwardsagentOptionsto postman-request on every call, but this was entirely undocumented — leaving Node 18+ users stuck onEPROTO ... unsafe legacy renegotiation disablederrors with no clear path forward. The README also had a broken SOCKS proxy example referencing a non-existentrpOptionsconfig key.Changes
rpOptions→requestOptionsin SOCKS proxy example; add SSL/TLS configuration sectionconfig.requestOptions) and per-call usageconfig.requestOptionsforwarding across all HTTP methods, generated functions, and per-call overrideUsage
Per-call overrides work too:
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/graphql/usr/bin/gh gh pr ready 279(http block)/usr/bin/gh gh auth status(http block)/usr/bin/gh gh api graphql -f query=mutation { markPullRequestReadyForReview(input: { pullRequestId: "" }) { pullRequest { isDraft } } }(http block)https://api.github.com/repos/nodevault/node-vault/pulls/279/usr/bin/gh gh api repos/nodevault/node-vault/pulls/279 --jq .node_id(http block)/usr/bin/curl curl -s -H Authorization: ****** -H Accept: application/vnd.github+json REDACTED(http block)/usr/bin/curl curl -v -H Authorization: ****** -H Accept: application/vnd.github+json REDACTED(http block)If you need me to access, download, or install something from one of these locations, you can either:
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.