[
https://issues.apache.org/jira/browse/VFS-758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Woonsan Ko updated VFS-758:
---------------------------
Description:
Reported by https://github.com/ddg-igh:
- https://github.com/apache/commons-vfs/pull/81
{quote}
When using webdav4s the requests will be send as "http" and not "https".
So this will always fail when the webdav server does not allow "http" requests."
{quote}
I was also able to reproduce through shell:
{noformat}
$ cd commons-vfs2-examples
$ mvn -Pshell -Dwebdav4
VFS Shell null
cd webdav4s://localhost
Command failed:
...
Caused by: org.apache.http.conn.HttpHostConnectException: Connect to
localhost:80 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed:
Connection refused (Connection refused)
...
{noformat}
- which shows that it makes an http (port 80), not https (port 443).
- it should have made *https* requests for 'webdav4s'.
was:
Reported by https://github.com/ddg-igh:
- https://github.com/apache/commons-vfs/pull/81
{quote}
When using webdav4s the requests will be send as "http" and not "https".
So this will always fail when the webdav server does not allow "http" requests."
{quote}
I was also able to reproduce through shell:
{noformat}
$ cd commons-vfs2-examples
$ mvn -Pshell -Dwebdav4
VFS Shell null
cd webdav4s://localhost
Command failed:
...
Caused by: org.apache.http.conn.HttpHostConnectException: Connect to
localhost:80 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed:
Connection refused (Connection refused)
...
{noformat}
- which shows that it makes http request at port 80, not 443.
> Webdav4s provider does not make https requests
> ----------------------------------------------
>
> Key: VFS-758
> URL: https://issues.apache.org/jira/browse/VFS-758
> Project: Commons VFS
> Issue Type: Bug
> Affects Versions: 2.6.0
> Reporter: Woonsan Ko
> Assignee: Gary D. Gregory
> Priority: Major
> Fix For: 2.7.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Reported by https://github.com/ddg-igh:
> - https://github.com/apache/commons-vfs/pull/81
> {quote}
> When using webdav4s the requests will be send as "http" and not "https".
> So this will always fail when the webdav server does not allow "http"
> requests."
> {quote}
> I was also able to reproduce through shell:
> {noformat}
> $ cd commons-vfs2-examples
> $ mvn -Pshell -Dwebdav4
> VFS Shell null
> cd webdav4s://localhost
> Command failed:
> ...
> Caused by: org.apache.http.conn.HttpHostConnectException: Connect to
> localhost:80 [localhost/127.0.0.1, localhost/0:0:0:0:0:0:0:1] failed:
> Connection refused (Connection refused)
> ...
> {noformat}
> - which shows that it makes an http (port 80), not https (port 443).
> - it should have made *https* requests for 'webdav4s'.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)