Skip to content
This repository has been archived by the owner on Sep 3, 2022. It is now read-only.

Error using ungit using IAP. #2164

Open
mikhail-khodorovskiy opened this issue Apr 29, 2020 · 0 comments
Open

Error using ungit using IAP. #2164

mikhail-khodorovskiy opened this issue Apr 29, 2020 · 0 comments

Comments

@mikhail-khodorovskiy
Copy link

The error in the datalab logs:

Apr 29 19:29:33 hsq-dev-mikhail-datalab docker[1287]: {"name":"app","hostname":"a30f38098b7f","pid":108,"level":20,"msg":"reset idle timeout (600s)","time":"2020-04-29T19:29:33.037Z","v":0}
Apr 29 19:29:33 hsq-dev-mikhail-datalab docker[1287]: {"name":"app","hostname":"a30f38098b7f","pid":108,"type":"request","level":30,"url":"/serverdata.js","method":"GET","msg":"Received a new request","time":"2020-04-29T19:29:33.037Z","v":0}
Apr 29 19:29:33 hsq-dev-mikhail-datalab docker[1287]: {"name":"app","hostname":"a30f38098b7f","pid":108,"level":30,"msg":"Forwarding proxied request to path-specified port 8083","time":"2020-04-29T19:29:33.038Z","v":0}
Apr 29 19:29:33 hsq-dev-mikhail-datalab docker[1287]: 2020-04-29T19:29:33.044Z - error: attempt to get mac addr failed, using fake mac. Error: Command failed: ifconfig -a || ip link
Apr 29 19:29:33 hsq-dev-mikhail-datalab docker[1287]: /bin/sh: 1: ifconfig: not found
Apr 29 19:29:33 hsq-dev-mikhail-datalab docker[1287]: /bin/sh: 1: ip: not found
Apr 29 19:29:33 hsq-dev-mikhail-datalab docker[1287]:     at ChildProcess.exithandler (child_process.js:206:12)
Apr 29 19:29:33 hsq-dev-mikhail-datalab docker[1287]:     at emitTwo (events.js:106:13)
Apr 29 19:29:33 hsq-dev-mikhail-datalab docker[1287]:     at ChildProcess.emit (events.js:191:7)
Apr 29 19:29:33 hsq-dev-mikhail-datalab docker[1287]:     at maybeClose (internal/child_process.js:877:16)
Apr 29 19:29:33 hsq-dev-mikhail-datalab docker[1287]:     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
Apr 29 19:29:33 hsq-dev-mikhail-datalab docker[1287]: {"name":"app","hostname":"a30f38098b7f","pid":108,"type":"request","level":30,"url":"/serverdata.js","method":"GET","status":200,"msg":"","time":"2020-04-29T19:29:33.049Z","v":0}
Apr 29 19:29:33 hsq-dev-mikhail-datalab docker[1287]: {"name":"app","hostname":"a30f38098b7f","pid":108,"level":20,"msg":"reset idle timeout (600s)","time":"2020-04-29T19:29:33.475Z","v":0}
Apr 29 19:29:33 hsq-dev-mikhail-datalab docker[1287]: {"name":"app","hostname":"a30f38098b7f","pid":108,"type":"request","level":30,"url":"/js/raven.min.js","method":"GET","msg":"Received a new request","time":"2020-04-29T19:29:33.476Z","v":0}
Ap

Errors in the Chrome browser console at the url http://localhost:9999/_proxy/8083/#/repository?path=/content/datalab/notebooks

The key "" is not recognized and ignored.
VM143:6 GET http://localhost:9999/css/styles.css net::ERR_CONTENT_LENGTH_MISMATCH 200 (OK)
VM146:32 App version: 1.1.0
:9999/_proxy/8083/#/repository?path=/content/datalab/notebooks:1 GET http://localhost:9999/_proxy/8083/ net::ERR_CONTENT_LENGTH_MISMATCH 200 (OK)
DevTools failed to load SourceMap: Could not load content for http://localhost:9999/js/raven.min.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
VM143:52 GET http://localhost:9999/js/ungit.js net::ERR_CONTENT_LENGTH_MISMATCH 200 (OK)
DevTools failed to load SourceMap: Could not parse content for http://localhost:9999/socket.io/socket.io.js.map: Unexpected end of JSON input

Connecting to the datalab via IAP:
gcloud beta compute start-iap-tunnel instance-name 8080 --zone us-west1-b --project project-id --local-host-port=0.0.0.0:999

The datalab source code repository exists and is mounted

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant