GeoscienceAustralia / dea-sandbox

Digital Earth Australia Sandbox config and planning
Apache License 2.0
13 stars 6 forks source link

File Save Error #63

Closed pindge closed 1 year ago

pindge commented 4 years ago

image

Related Issues https://github.com/jupyterlab/jupyterlab/issues/3964

https://github.com/jupyterlab/jupyterlab/issues/4532

Investigation

Tested name contain - or _

Successful query flow

  1. save button is pressed
  2. ajax call to server
    Request URL: /api/contents/test_under_score.ipynb/checkpoints?1586321370899
    Request Method: POST
    Status Code: 201 
    Remote Address: 52.65.235.198:443
    Referrer Policy: no-referrer-when-downgrade
  3. Response Headers
    access-control-allow-origin: https://sandbox.dev.dea.ga.gov.au
    content-length: 68
    content-security-policy: frame-ancestors 'self';report-uri /hub/security/csp-report; default-src 'none'
    content-type: application/json
    date: Wed, 08 Apr 2020 04:49:31 GMT
    location: /user/pin.jin/api/contents/test_under_score.ipynb/checkpoints/checkpoint
    server: TornadoServer/6.0.4
    set-cookie: jupyterhub-user-pin.jin="2|1:0|10:1586321371|23:jupyterhub-user-pin.jin|44:NDNjZDk5OGEzYTVmNDg0YWIyOGNlYWY0OWJjN2IwOGI=|28632658a92cfe8545d3a6c037cf7ccd99b2e83a86f5dc1908f92c86c6578cf4"; expires=Fri, 08 May 2020 04:49:31 GMT; HttpOnly; Path=/user/pin.jin/
    status: 201
    x-content-type-options: nosniff
    x-jupyterhub-version: 1.1.0
  4. Request Headers
    :authority: sandbox.dev.dea.ga.gov.au
    :method: POST
    :path: /user/pin.jin/api/contents/test_under_score.ipynb/checkpoints?1586321370899
    :scheme: https
    accept: */*
    accept-encoding: gzip, deflate, br
    accept-language: en-AU,en;q=0.9,zh-AU;q=0.8,zh;q=0.7,en-GB;q=0.6,en-US;q=0.5
    authorization: token 43cd998a3a5f484ab28ceaf49bc7b08b
    content-length: 0
    content-type: application/json
    cookie: jupyterhub-user-pin.jin="2|1:0|10:1586321371|23:jupyterhub-user-pin.jin|44:NDNjZDk5OGEzYTVmNDg0YWIyOGNlYWY0OWJjN2IwOGI=|28632658a92cfe8545d3a6c037cf7ccd99b2e83a86f5dc1908f92c86c6578cf4"; _ga=GA1.3.1083561722.1572566787; sfbShellAppLaunched=yes; _xsrf=2|c36bd8db|6a1b9c6c57e41f822f000dafcef66dcb|1585544140; sfbShellAppVersion=16.2.0.511; clientchoice=DesktopClient; jupyterhub-session-id=bbf425370d494138aa79ee378f7cccd3
    origin: https://sandbox.dev.dea.ga.gov.au
    referer: https://sandbox.dev.dea.ga.gov.au/user/pin.jin/lab?
    sec-fetch-dest: empty
    sec-fetch-mode: cors
    sec-fetch-site: same-origin
    user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36
    x-xsrftoken: 2|c36bd8db|6a1b9c6c57e41f822f000dafcef66dcb|1585544140
alexgleith commented 4 years ago

Does this happen on the 0.0.5 image?

Can you please let me know what the output of cat /build.info is running for a terminal?

pindge commented 4 years ago
ubuntu@ip-10-0-12-157:~/config-testing/datacube-ows$ kubectl exec -it jupyter-imam2 -n sandbox bash
groups: cannot find name for group ID 40000
jovyan@jupyter-imam2:~$ cat /build.info 
2020-04-07T23:51+00:00 f4d438ea767124fbb67807f3550db543ec05499e
alexgleith commented 4 years ago

I just tested and could save a file with an underscore or a dash in the filename.

Any more information?

pindge commented 4 years ago

We are uncertain about what is causing/triggering this issue, I opened this ticket to gather more information