Skip to content

Create Config crash #43

@cron410

Description

@cron410

I have this running inside the rclone/rclone:beta docker image, listening on 0.0.0.0:5572 instead of 127.0.0.1:5572

docker run -it --rm -p 5572:5572 rclone/rclone:beta rcd --rc-web-gui --rc-addr 0.0.0.0:5572 --rc-user=test --rc-pass=test --rc-serve

When creating an rclone config for GDrive from the WebUI, it tries to launch the autoconfig on a local webserver at 127.0.0.1 which does not work in a docker container.

2019/10/31 18:13:37 NOTICE: A new release for gui is present at https://github.com/rclone/rclone-webui-react/releases/download/v0.0.12/currentbuild.zip
2019/10/31 18:13:37 NOTICE: Downloading webgui binary. Please wait. [Size: 4646670, Path :  /root/.cache/rclone/webgui/v0.0.12.zip]
2019/10/31 18:13:37 NOTICE: Unzipping
2019/10/31 18:13:38 NOTICE: Serving remote control on http://[::]:5572/
2019/10/31 18:14:03 NOTICE: Config file "/config/rclone/rclone.conf" not found - using defaults
2019/10/31 18:16:03 NOTICE: Bandwidth limit set to 1G
Remote config
Use auto config?
 * Say Y if not sure
 * Say N if you are working on a remote or headless machine
Auto confirm is set: answering Yes, override by setting config parameter config_is_local=false
If your browser doesn't open automatically go to the following link: http://127.0.0.1:53682/auth?state=MvVlbj7m7OS-hTSOiRT6Jg
Log in and authorize rclone for access
Waiting for code...
Remote config
Use auto config?
 * Say Y if not sure
 * Say N if you are working on a remote or headless machine
Auto confirm is set: answering Yes, override by setting config parameter config_is_local=false
2019/10/31 18:21:23 Failed to configure token: failed to start auth webserver: listen tcp 127.0.0.1:53682: bind: address already in use

We would need a way to have the autoconfig honor the --rc-addr flag or otherwise know how to configure the autoconfig listening address.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions