curl --location \
--request POST 'https://myidp.mydomain.com/oauth/token' \
--header 'Content-Type: application/json' \
-d '{"audience":"audience_I_need","grant_type":"client_credentials","client_id":"xxx","client_secret":"secret123"}'
h2 is HTTP/2 over TLS (protocol negotiation via ALPN). h2c is HTTP/2 over TCP.
https://blog.cloudflare.com/tools-for-debugging-testing-and-using-http-2/
Do HTTP2 if possible or downgrade
apiVersion: v1 | |
kind: Service | |
metadata: | |
annotations: | |
networking.gke.io/load-balancer-type: "Internal" | |
name: echoheaders | |
labels: | |
app: echoheaders | |
spec: | |
type: LoadBalancer |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: echo-deployment | |
spec: | |
replicas: 2 | |
selector: | |
matchLabels: | |
app: echo-server | |
template: |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: echoheaders | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: echoheaders | |
template: |
While more and more extensions land in Open VSX on a daily basis, there still might be cases where you are missing a certain extension that exists in the MS marketplace.
On a real vscode instance, right click on an extension and choose Copy Extension ID
Example:
- Cloud Code from Google has the extension id
googlecloudtools.cloudcode
- The publisher is googlecloudtools and the extention is cloudcode.
In Gitpod, download the VSIX file using cURL (adapt the values as needed)
You might want to use a service account to access google cloud. This is how
gcloud iam service-accounts create \
labgke --description="Temp access account to gke for lab purpose" \
--display-name="tmp lab service account" \
gcloud iam service-accounts list
I wasn't able to git fetch
from Azure DevOps repos after upgrading openssh on my computer.
ssh -V
OpenSSH_8.8p1, OpenSSL 1.1.1l 24 Aug 2021
Turns out that OpenSSL has now turned off ssh-rsa by default:
This release disables RSA signatures using the SHA-1 hash algorithm by default.
But Azure DevOps doesn't support anything else... Add the following to your config file to re-enable ssh-rsa for Azure DevOps: