question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support execution behind a corporate proxy

See original GitHub issue

User story. As a user working behind a corporate proxy, I can configure spectral, so that I can run it without errors when ref$ points to internet based urls.

Is your feature request related to a problem? In #245, @marbemac made it possible to resolve http based remote references.

https://github.com/stoplightio/spectral/blob/027664fcf7f58f542a323d338b9017ba18adc9a3/src/resolvers/http.ts#L7

However, for those of us working behind a corporate proxy, well… things do tend to not work.

 842:13    error  [invalid-ref] FetchError: request to https://REDACTED/doco.yaml failed, reason: connect ETIMEDOUT XX.XX.XX.XX:443

Describe the solution you’d like

  • Ideally, supporting http_proxy and https_proxy would just be awesome 🎉
  • An optional argument to the cli would also fit my request.

Additional context https://github.com/bitinn/node-fetch/issues/195

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
P0lipcommented, Sep 20, 2019

@nulltoken v4.2.0-beta2 containing this proxy feature has just been released.

0reactions
philsturgeoncommented, Sep 18, 2019

For sure. We started tagging v4.2-beta’s just before this one was merged so there’ll be another beta soon.

– Phil Sturgeon @philsturgeon

On Sep 18, 2019, at 13:27, nulltoken notifications@github.com wrote:

@philsturgeon So glad this got merged. Do you foresee a release of this as part of the v4 branch soon?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Execute Gradle behind a corporate proxy network - Medium
This is the easiest way I found to handle Gradle under a network proxy. Afterward, run regular Gradle commands, it will automatically load...
Read more >
Using PowerShell Behind a Proxy Server | Windows OS Hub
Let's try to update the PowerShell Help on a computer behind a corporate proxy server: Update-Help. Or refer to an external web page:....
Read more >
Running Android Studio behind a corporate proxy: Unable to ...
I'm running Android Studio 3.3 installed on a company system, connected to the company's proxy. Whenever I try to execute Make Project ...
Read more >
Use Azure CLI 2.0 behind corporate proxy server
Due to the authentication schematics of Azure Service, Azure CLI needs to pass an authentication payload through the HTTPS request, which will ...
Read more >
How to use NPM Install (The Command) behind Corporate ...
How to use NPM Install (The Command) behind Corporate Proxy Server ... Studio and trying to restore packages with the help of package.json, ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found