Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web server always started #14

Open
sabrehagen opened this issue Aug 14, 2019 · 1 comment
Open

Web server always started #14

sabrehagen opened this issue Aug 14, 2019 · 1 comment

Comments

@sabrehagen
Copy link

sabrehagen commented Aug 14, 2019

The OAuth web server is always started regardless of whether an OAuth action is required. This causes future OAuth account setup via cloudstorage-fuse --add= to fail as the https server port is already in use.

Scenario:

# Setup fuse mount
cloudstorage-fuse /mnt/fuse

# Authorise cloud storage provider
cloudstorage-fuse --add=google
Couldn't initialize http server.

Can the OAuth server only be started when the --add command line argument is supplied?

@lemourin
Copy link
Owner

This relates to the fact that the http server is always started; starting with --add starts the authorization server, starting without starts the file serving server; ideally there would be one server serving both purposes; this requires rewriting FUSE to use new ICloudAccess / ICloudFactory API.

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

No branches or pull requests

2 participants