mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[GH-ISSUE #216] CURLE_COULDNT_RESOLVE_HOST error when using url option #118
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#118
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ogg1e on GitHub (Jul 31, 2015).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/216
I have nginx set up as a reverse proxy. I'm able to use s3cmd to connect through the reverse proxy as well as via chrome browser. So I know it works.
If I try to use the url startup option:
./s3fs mybucket /tmp/bucket -o url=http://localhost:8080 -f
I always get :
If I don't use the reverse proxy and leave out the url option, it connects to aws no problem. So why does it not like the url option?
I have:
127.0.0.1 localhost
in my /etc/hosts file.
@kahing commented on GitHub (Jul 31, 2015):
s3fs by default uses hostname based bucket request, which is why it tried to resolve mybucket.localhost and failed. Either put that in your /etc/hosts or use the use_path_request_style option to change to path based requests.
@ogg1e commented on GitHub (Jul 31, 2015):
Ahh. I missed that. Thanks!