apache / apache/openwhisk-cli

how to set a https proxy for wsk

Aperta
#514 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
109
Fork
98
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Hello there,

I am wondering if can set a http/https proxy for openwhisk-cli.

I search document of repo:openwhisk and found there is some [related instruction](https://github.com/apache/openwhisk/blob/master/docs/cli.md#using-the-openwhisk-cli) for setting it.

I set the mentioned env variable `HTTPS_PROXY` in one of my terminal by `export HTTPS_PROXY=127.0.0.1:8080`, where the `127.0.0.1:8080` is the address of my web proxy.

Then when I invoke an action `wsk action invoke -r {action_name}`, the action flow does not through my proxy.

The web proxy work fine when I invoke the action by `curl --proxy 127.0.0.1:8080 http://localhost:3233/api/v1/web/{action_name}`

Could anyone please tell me how to set up a HTTP/HTTPS proxy for wsk?

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia da docs/cli.md e dall’implementazione del comando `wsk action invoke -r`. Verifica come viene gestito `HTTPS_PROXY` per le richieste CLI e confrontalo con la configurazione proxy documentata. Il lavoro è completato quando gli utenti possono configurare un proxy per l’invocazione delle action e le istruzioni descrivono accuratamente il comportamento supportato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
go
Ambito
cli, networking
Tipo di issue
Documentazione
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.