{"action":"created","issue":{"url":"https://api.github.com/repos/UnifiedViews/Plugins/issues/306","labels_url":"https://api.github.com/repos/UnifiedViews/Plugins/issues/306/labels{/name}","comments_url":"https://api.github.com/repos/UnifiedViews/Plugins/issues/306/comments","events_url":"https://api.github.com/repos/UnifiedViews/Plugins/issues/306/events","html_url":"https://github.com/UnifiedViews/Plugins/issues/306","id":101692307,"number":306,"title":"e-filesDownload: javax.net.ssl.SSLException: Received fatal alert: protocol_version","user":{"login":"jindrichmynarz","id":198642,"avatar_url":"https://avatars.githubusercontent.com/u/198642?v=3","gravatar_id":"","url":"https://api.github.com/users/jindrichmynarz","html_url":"https://github.com/jindrichmynarz","followers_url":"https://api.github.com/users/jindrichmynarz/followers","following_url":"https://api.github.com/users/jindrichmynarz/following{/other_user}","gists_url":"https://api.github.com/users/jindrichmynarz/gists{/gist_id}","starred_url":"https://api.github.com/users/jindrichmynarz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jindrichmynarz/subscriptions","organizations_url":"https://api.github.com/users/jindrichmynarz/orgs","repos_url":"https://api.github.com/users/jindrichmynarz/repos","events_url":"https://api.github.com/users/jindrichmynarz/events{/privacy}","received_events_url":"https://api.github.com/users/jindrichmynarz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/UnifiedViews/Plugins/labels/priority:%20High","name":"priority: High","color":"e11d21"},{"url":"https://api.github.com/repos/UnifiedViews/Plugins/labels/severity:%20bug","name":"severity: bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-08-18T16:12:47Z","updated_at":"2015-08-19T10:45:07Z","closed_at":null,"body":"It seems that e-filesDownload has an issue with downloading from HTTPS. For example, when I want to download <https://www.sk-nic.sk/documents/domeny.txt.gz>, the `javax.net.ssl.SSLException: Received fatal alert: protocol_version` is raised:\r\n\r\n```\r\nExecution failed because: Exception occured while downloading files.eu.unifiedviews.dpu.DPUException: Exception occured while downloading files.\r\nat eu.unifiedviews.helpers.dpu.context.ContextUtils.dpuException(ContextUtils.java:212)\r\nat eu.unifiedviews.plugins.extractor.filesdownload.FilesDownload.innerExecute(FilesDownload.java:160)\r\nat eu.unifiedviews.helpers.dpu.exec.AbstractDpu.execute(AbstractDpu.java:133)\r\nat cz.cuni.mff.xrg.odcs.backend.execution.dpu.DPUExecutor.executeInstance(DPUExecutor.java:232)\r\nat cz.cuni.mff.xrg.odcs.backend.execution.dpu.DPUExecutor.execute(DPUExecutor.java:370)\r\nat cz.cuni.mff.xrg.odcs.backend.execution.dpu.DPUExecutor.run(DPUExecutor.java:452)\r\nat java.lang.Thread.run(Thread.java:745)\r\nCaused by: org.apache.commons.vfs2.FileSystemException: Could not connect to HTTP server on \"www.sk-nic.sk\".\r\nat org.apache.commons.vfs2.provider.http.HttpClientFactory.createConnection(HttpClientFactory.java:152)\r\nat org.apache.commons.vfs2.provider.http.HttpClientFactory.createConnection(HttpClientFactory.java:50)\r\nat org.apache.commons.vfs2.provider.http.HttpFileProvider.doCreateFileSystem(HttpFileProvider.java:83)\r\nat org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider.getFileSystem(AbstractOriginatingFileProvider.java:103)\r\nat org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider.findFile(AbstractOriginatingFileProvider.java:81)\r\nat org.apache.commons.vfs2.provider.AbstractOriginatingFileProvider.findFile(AbstractOriginatingFileProvider.java:65)\r\nat org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:693)\r\nat org.apache.commons.vfs2.impl.DefaultFileSystemManager.resolveFile(DefaultFileSystemManager.java:621)\r\nat eu.unifiedviews.plugins.extractor.filesdownload.FilesDownload.innerExecute(FilesDownload.java:157)\r\n... 5 more\r\nCaused by: javax.net.ssl.SSLException: Received fatal alert: protocol_version\r\nat sun.security.ssl.Alerts.getSSLException(Alerts.java:208)\r\nat sun.security.ssl.Alerts.getSSLException(Alerts.java:154)\r\nat sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1979)\r\nat sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1086)\r\nat sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1332)\r\nat sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:709)\r\nat sun.security.ssl.AppOutputStream.write(AppOutputStream.java:122)\r\nat java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)\r\nat java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)\r\nat org.apache.commons.httpclient.HttpConnection.flushRequestOutputStream(HttpConnection.java:828)\r\nat org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.flushRequestOutputStream(MultiThreadedHttpConnectionManager.java:1565)\r\nat org.apache.commons.httpclient.HttpMethodBase.writeRequest(HttpMethodBase.java:2116)\r\nat org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:1096)\r\nat org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:398)\r\nat org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)\r\nat org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)\r\nat org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)\r\nat org.apache.commons.vfs2.provider.http.HttpClientFactory.createConnection(HttpClientFactory.java:148)\r\n... 13 more\r\n```\r\n\r\nContext: Tested with the latest commit from the develop branch (2dd97992039e1f1898f626e2e9cb5eb03c9d7ad6)."},"comment":{"url":"https://api.github.com/repos/UnifiedViews/Plugins/issues/comments/132536185","html_url":"https://github.com/UnifiedViews/Plugins/issues/306#issuecomment-132536185","issue_url":"https://api.github.com/repos/UnifiedViews/Plugins/issues/306","id":132536185,"user":{"login":"mkl-eea-sk","id":6399320,"avatar_url":"https://avatars.githubusercontent.com/u/6399320?v=3","gravatar_id":"","url":"https://api.github.com/users/mkl-eea-sk","html_url":"https://github.com/mkl-eea-sk","followers_url":"https://api.github.com/users/mkl-eea-sk/followers","following_url":"https://api.github.com/users/mkl-eea-sk/following{/other_user}","gists_url":"https://api.github.com/users/mkl-eea-sk/gists{/gist_id}","starred_url":"https://api.github.com/users/mkl-eea-sk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkl-eea-sk/subscriptions","organizations_url":"https://api.github.com/users/mkl-eea-sk/orgs","repos_url":"https://api.github.com/users/mkl-eea-sk/repos","events_url":"https://api.github.com/users/mkl-eea-sk/events{/privacy}","received_events_url":"https://api.github.com/users/mkl-eea-sk/received_events","type":"User","site_admin":false},"created_at":"2015-08-19T10:45:07Z","updated_at":"2015-08-19T10:45:07Z","body":"I do not know, I have sent an email to openjdk as I had written before. We should ask them. At least we see, that the problem is related to what JDK user is using. That may be indication, that in fact, the problem is not in our code."}}