HTTPS connections fail with "Method failed" if trustmanager_trust_all is false and remote CA signed certificates are not explicitly added. Symptoms of this issue include:

  • Connections to remote HTTPS services (REST,SOAP,LDAP) could fail with " Method failed"
  • The remote services certificates are self-signed and not explicitly added to the instance
  • The com.glide.communications.trustmanager_trust_all system property is set to false.

The following example shows a sample of a data source using an HTTPS Web Service.

com.glide.db.impex.datasource.DataSourceException: com.glide.db.impex.datasource.DataSourceException: Method failed:(REMOTESERVER) null with code: 0
at com.glide.processors.ImportProcessorWorker.loadDataSource(
at com.glide.processors.ImportProcessorWorker.startWork(
at com.glide.worker.AbstractProgressWorker.startAndWait(
at com.glide.worker.HierarchicalProgressWorker.startAndWait(
Caused by: com.glide.db.impex.datasource.DataSourceException: Method failed: (REMOTESERVER) null with code: 0
at com.glide.db.impex.datasource.DataSource.getFile(
at com.glide.db.impex.datasource.DataSource.getFile(
at com.glide.db.impex.CSVLoader.setDataSource(
at com.glide.db.impex.JDBCLoader.setImportDataSource(
at com.glide.db.impex.datasource.CSVDataSource.getLoader(
at com.glide.processors.ImportProcessorWorker.loadDataSource(
... 4 more
Caused by: Method failed: (REMOTESERVER) null with code: 0
at com.glide.protocol.http.HTTPURLConnection.connect(
at com.glide.protocol.http.HTTPURLConnection.getInputStream(
at com.glide.db.impex.datasource.DataSource.writeFile(
at com.glide.db.impex.datasource.DataSource.getFile(
... 9 more

Steps to Reproduce


  1. Go to / and set the system property com.glide.communications.trustmanager_trust_all to false.

  2. Create a new data source with the following values:

    • File Retrieval Method: HTTPS
    • File path: Path of the file on destination server to be retrieved
    • Server: IP of the destination server

    For more information, see the product documentation topic Create a data source.

  3. Click Test Load 20 Records.

  4. Make sure the destination server is secured with a self-signed certificate and not by a trusted domain CA.

    Connection URL: https://serverip or dns /datafile

  5. Click Load All Records.

    An error message appears similar to the following example:

    com.glide.db.impex.datasource.DataSourceException: Method failed: (https://serverip or dns /datafile) null with code: 0




Choose from one of the following workarounds:

  • Set the system property com.glide.communications.trustmanager_trust_all to true.
  • On the remote Web Service, replace the self-signed certificate with another one that is signed by a trusted Java Certificate Authority.

Related Problem: PRB1201373

Seen In

There is no data to report.

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-03-20 11:08:28