138 Commits

Author SHA1 Message Date
Pudong Zheng
b0a97a4aef new dns terraform 2022-01-06 17:29:00 +01:00
Manuel Alejandro de Brito Fontes
ff2f54edbb [wa-proxy] Improve TLS default configuration 2021-11-25 15:55:21 +01:00
Cornelius A. Ludmann
47d4ac5345 [ws-proxy] Get supervisor image from pod annotation
instead from ws-proxy config
2021-11-15 08:45:12 +01:00
Christian Weichel
1de8d787e1 [ws-proxy] Provide access to headless workspaces 2021-11-12 10:58:09 +01:00
Manuel Alejandro de Brito Fontes
526c95e344 Decouple ws-proxy from ws-manager 2021-11-05 10:33:03 +01:00
Cornelius A. Ludmann
e7c93eb382 [ws-manager] Add destkop_ide_image 2021-10-26 15:02:04 +02:00
Manuel Alejandro de Brito Fontes
1eb8f86a7b Refactor GRPC TLS connection default 2021-10-12 16:09:59 -03:00
Manuel Alejandro de Brito Fontes
58a9e395a8 [proxy] Do not log supervisor proxy errors 2021-09-24 03:57:49 -03:00
rl-gitpod
a4751772fe [integration-test] Add support for new IDE config and sanity checks 2021-09-22 20:42:47 -03:00
rl-gitpod
2847ef3ace [ws-proxy] Use instance ID to not stomp on newer workspaces when handling events 2021-09-22 20:42:47 -03:00
Manuel Alejandro de Brito Fontes
c46507f03c [ws-proxy] Change log level if no owner cookie is present 2021-09-13 16:18:38 +05:30
Manuel Alejandro de Brito Fontes
5ba43eba6f [ws-proxy] Improve log message and reduce verbosity 2021-09-07 07:44:13 +02:00
Manuel Alejandro de Brito Fontes
b7a3b87337 Remove duplication of GRPC configuration 2021-09-01 17:44:31 +02:00
Manuel Alejandro de Brito Fontes
347ad95d80 Switch from fmt.Errorf to xerrors.Errorf 2021-08-30 02:47:28 -03:00
Manuel Alejandro de Brito Fontes
84c6c68073 [ws-proxy] Configure grpc keepalive DialOption options 2021-08-24 08:52:23 +02:00
Christian Weichel
140c897d0d Remove old headless log infrastructure 2021-07-28 12:33:31 +02:00
Manuel Alejandro de Brito Fontes
f6aea008e9 [ws-proxy] Skip DNS errors when workspace is not available 2021-07-26 15:51:30 +02:00
Christian Weichel
afe7eda668 [ws-proxy] Disable compression on supervisor API
to avoid "stuttering log output" in image-builder
2021-07-22 16:32:26 +02:00
Anton Kosyakov
ed076d77a8 [code] fix #4529: serve each webview from own origin
decoupled from workpace origin (also extension host origin)
2021-07-16 14:08:25 +05:00
Anton Kosyakov
f6ad999455 [code] fix #4568: inline static links to blobserve 2021-07-07 08:04:28 +02:00
Cornelius A. Ludmann
cf6a5dc723 [ws-proxy] Allow workspace router to match URLs from other clusters 2021-06-28 14:19:47 +02:00
Cornelius A. Ludmann
8ef75abd27 [ws-proxy] Rename theiaRouter to ideRouter 2021-06-28 14:19:47 +02:00
Manuel Alejandro de Brito Fontes
bd3ba7cdec Refactor port parsing 2021-06-16 10:45:31 -04:00
Anton Kosyakov
7d0986778e [ws-proxy] tune idle connection pool
By default the connection pool is capped only by 2 connections per host.
If a client tries to open many connections then latency increased significantly,
see https://stackoverflow.com/a/60114945/961588.
This commit configures the connection pool be unlimited but capped by 100 connections per host.
It was inspired by measurement in Caddy: https://github.com/caddyserver/caddy/issues/2805
2021-06-14 08:52:43 +05:00
Anton Kosyakov
46d1a4dacc [ws-proxy] correct websocket headers
a work-around for servers which does not respect case-insensitive headers, see https://github.com/gitpod-io/gitpod/issues/4047#issuecomment-856566526
2021-06-09 07:59:48 +05:00
Alex Tugarev
9d83f65665 [server] fix workspaceID regex 2021-06-01 13:52:07 +02:00
Manuel Alejandro de Brito Fontes
d3ebfd454b Update golangci-lint 2021-05-11 07:15:24 -04:00
Alex Tugarev
70097b6d82 [ws-proxy] make https default and redirect http 2021-05-04 11:40:11 +02:00
Christian Weichel
0ef3733e78 [ws-proxy] Support x-gitpod-owner-token for authentication 2021-04-22 14:20:12 +02:00
Christian Weichel
daceb65cc2 [ws-proxy] Don't reuse log entry
fixes #3974
2021-04-19 13:12:34 +02:00
Anton Kosyakov
92cdef090c [blobserve] enable long term caching only on success 2021-04-07 16:15:15 +02:00
Gero Posmyk-Leinemann
76475241bb [ws-: manager, registry-facade, scheduler, proxy] TLS support 2021-04-01 14:47:31 +02:00
Gero Posmyk-Leinemann
0af1980f8c [gpctl, bridge, db, protocol, server, ws-proxy] Dynamic WorkspaceCluster 2021-04-01 14:47:31 +02:00
Sven Efftinge
5eb78b6cae update port-not-found 2021-03-29 22:34:13 +02:00
Sven Efftinge
875a325021 Update port-not-found.html 2021-03-29 22:34:13 +02:00
Manuel Alejandro de Brito Fontes
f3bc90257f Update ws-proxy 2021-03-12 12:54:40 -03:00
Gero Posmyk-Leinemann
b0bae71c63 [ws-proxy] Remove references to: pathAndHost, pathAndPort 2021-03-12 08:50:06 +01:00
Manuel Alejandro de Brito Fontes
3b4ebc9bad Migrate deprecated methods from ioutil package 2021-03-02 06:37:49 -03:00
Manuel Alejandro de Brito Fontes
2b6a56bc40 Update go imports 2021-03-02 06:37:49 -03:00
Alex Tugarev
35909b96ce rename manifest.json to manifest.webmanifest
Fixes gitpod-io/gitpod#2717
2021-02-25 11:15:29 +01:00
Anton Kosyakov
a20ef08c7d fix #2856: server ext host worker from own origin 2021-02-23 15:23:10 +01:00
Christian Weichel
c47c7e1933 [theia-server] Remove in favour of blobserve
With registry-facade becoming the default, we can also
make blobserve standard.
2021-02-18 09:25:56 +01:00
Sven Efftinge
b897e6777f Generate better workspace ids 2021-01-26 18:03:25 +01:00
Christian Weichel
396b51ed1f [ws-proxy] Don't leak workspace info Go routines 2021-01-19 10:45:57 +01:00
Gero Posmyk-Leinemann
fe3a018ea4
[self-hosted] Fix various issues around blobserve+ path based workspace access (#2666)
* [theia] Load main.js relative to support path based ws access

* [ws-proxy] Fix pathBasedTheiaRouter: workspaceID parsing

* [ide] Fix workspaceID reading/parsing issues

* [docs] self-hosted: Minor fixes

* [chart] values.yaml: remove forceHTTPS

* [review] Feedback
2021-01-05 15:49:57 +01:00
Christian Weichel
b7dda84ad0 [license] Update license header from TypeFox GmbH to Gitpod GmbH 2021-01-04 15:12:02 +01:00
Gero Posmyk-Leinemann
52d9851faf [ws-proxy] Fix workspaceHostSuffix for nodomain,pathAndHost 2020-12-23 20:55:45 +01:00
Anton Kosyakov
1ff5cd0c63 [ws-proxy] allow preflight requests for blobserve endpoint 2020-12-09 16:41:52 +01:00
Christian Weichel
6b61df4f29 [ws-proxy] Forward cookies with invalid names
fixes #2470
2020-12-09 15:05:26 +01:00
Anton Kosyakov
b6c85f88fb [ws-proxy] always serve foreign content directly from the IDE 2020-12-09 14:50:45 +01:00