Skip to content

Problem with proxy when migrating on request of open-notebook #113

@AntoineBlaisENAC

Description

@AntoineBlaisENAC

Hi,

When connecting to http://localhost:8502/ I am requested to "Run migration".

Image

I press the button and then receive this error messages :
Image

I am running open-notebook with the command:
sudo -E docker run --name open-notebook -p 8502:8502 -p 5055:5055 -v ./notebook_data:/app/data -v ./surreal_data:/mydata -d lfnovo/open_notebook:latest-single

I am behind a proxy so I need the -E option for sudo to keep these two environment variables:
http_proxy="http://proxy....:3128/"
https_proxy="http://proxy...:3128/"

My /etc/default/docker file contains:
export http_proxy="http://proxy....:3128/"
export https_proxy="http://proxy...:3128/"

In /etc/systemd/system/docker.service.d/http-proxy.conf I have:
[Service]
Environment="HTTP_PROXY=proxy..:3128/"
Environment="HTTPS_PROXY=proxy...:3128/"

And in /lib/systemd/system/docker.service:
EnvironmentFile=/etc/default/docker

I have also a ~/.docker/config.json file with:
{
"proxies": {
"default": {
"httpProxy": "http://proxy...:3128",
"httpsProxy": "http://proxy...:3128",
"noProxy": "127.0.0.0, localhost"
}
}
}

Is there something I have to do in addition?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions