You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Woonsan Ko (Jira)" <ji...@apache.org> on 2020/02/14 16:15:00 UTC

[jira] [Created] (VFS-758) Webdav4s provider does not make https requests

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

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




--
This message was sent by Atlassian Jira
(v8.3.4#803005)