Skip to page contentSkip to chat
ServiceNow support
    • Community
      Ask questions, give advice, and connect with fellow ServiceNow professionals.
      Developer
      Build, test, and deploy applications
      Documentation
      Find detailed information about ServiceNow products, apps, features, and releases.
      Impact
      Accelerate ROI and amplify your expertise.
      Learning
      Build skills with instructor-led and online training.
      Partner
      Grow your business with promotions, news, and marketing tools
      ServiceNow
      Learn about ServiceNow products & solutions.
      Store
      Download certified apps and integrations that complement ServiceNow.
      Support
      Manage your instances, access self-help, and get technical support.
Data Import From Remote Server Fails with *** WARNING *** java.io.IOException: Method failed - Support and Troubleshooting
  • >
  • Knowledge Base
  • >
  • Support and Troubleshooting (Knowledge Base)
  • >
  • Data Import From Remote Server Fails with *** WARNING *** java.io.IOException: Method failed
KB0639261

Data Import From Remote Server Fails with *** WARNING *** java.io.IOException: Method failed


7833 Views Last updated : Aug 16, 2024 public Copy Permalink English (Original)
  • English (Original)
  • Japanese
KB Summary by Now Assist

Issue

Data Import From Remote Server Fails with *** WARNING *** java.io.IOException: Method failed



Problem


Importing data from a remote server fails and generates below exceptions. It might be a scheduled import or even you click Load All Records on the Data Source record.

com.glide.db.impex.datasource.DataSourceException: com.glide.db.impex.datasource.DataSourceException: java.io.IOException: Method failed:(https://remoteserver/filename) null with code: 0 
at com.glide.processors.ImportProcessorWorker.loadDataSource(ImportProcessorWorker.java:181) 
at com.glide.processors.ImportProcessorWorker.startWork(ImportProcessorWorker.java:104) 
at com.glide.worker.AbstractProgressWorker.startAndWait(AbstractProgressWorker.java:86) 
at com.glide.worker.HierarchicalProgressWorker.startAndWait(HierarchicalProgressWorker.java:37) 
at com.glide.worker.ProgressWorkerThread.run(ProgressWorkerThread.java:53) 
Caused by: com.glide.db.impex.datasource.DataSourceException: java.io.IOException: Method failed: (https://remoteserver/filename) null with code: 0 
at com.glide.db.impex.datasource.DataSource.getFile(DataSource.java:312) 
at com.glide.db.impex.datasource.DataSource.getFile(DataSource.java:252) 
at com.glide.db.impex.CSVLoader.setDataSource(CSVLoader.java:127) 
at com.glide.db.impex.JDBCLoader.setImportDataSource(JDBCLoader.java:551) 
at com.glide.db.impex.datasource.CSVDataSource.getLoader(CSVDataSource.java:21) 
at com.glide.processors.ImportProcessorWorker.loadDataSource(ImportProcessorWorker.java:139) 
... 4 more 
Caused by: java.io.IOException: Method failed: (https://remoteserver/filename) null with code: 0 
at com.glide.protocol.http.HTTPURLConnection.connect(HTTPURLConnection.java:38) 
at com.glide.protocol.http.HTTPURLConnection.getInputStream(HTTPURLConnection.java:46) 
at com.glide.db.impex.datasource.DataSource.writeFile(DataSource.java:336) 
at com.glide.db.impex.datasource.DataSource.getFile(DataSource.java:305) 

 

Cause


It appears after customers apply ServiceNow Instance Hardening KB0550654 and set com.glide.communications.trustmanager_trust_all system property false as a part of 9.1 Certificate Trust.

By default, ServiceNow trusts a certificate's Certificate Authority, CA, which ensures ServiceNow accepts self-issued certificates. When customers set this property false and their remote server is secured with a self-sign Certificate Authority, not a trusted CA, this import fails because the platform does not allow this.

 

Solution


Customer can opt one of the following to fix this issue:

  1. Set system property com.glide.communications.trustmanager_trust_all as true.
  2. Or replace the self-signed certificate on their remote server with another one which is signed by a trusted CA.

The world works with ServiceNow.

Sign in for more! There's more content available only to authenticated users Sign in for more!
Did this KB article help you?
Did this KB article help you?

How would you rate your Now Support digital experience?

*

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

Very unsatisfied

Unsatisfied

Neutral

Satisfied

Very satisfied

What can we improve? Please select all that apply.

What are we doing well? Please select all that apply.

Tell us more

*

Do you expect a response from this feedback?

  • Terms and conditions
  • Privacy statement
  • GDPR
  • Cookie policy
  • © 2025 ServiceNow. All rights reserved.