Woonsan Ko created VFS-758:

             Summary: 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

Reported by https://github.com/ddg-igh:
- https://github.com/apache/commons-vfs/pull/81

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."

I was also able to reproduce through shell:
$ 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/, localhost/0:0:0:0:0:0:0:1] failed: 
Connection refused (Connection refused)
- which shows that it makes http request at port 80, not 443.

This message was sent by Atlassian Jira

Reply via email to