HTTP data source
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-23-2011 09:02 AM
Guys,
Need some help on creation of HTTP data source. This is my first time working with anything of this kind,and I am clueless 😞
I am given with a URL and when ever I try to load the data it is giving me this error
com.glide.db.impex.datasource.DataSourceException: java.io.IOException: Incomplete download /glide/instances/dtccpov_16000/temp/gurl7b95a2c39d3110007877486612fde1f9.tmp, 0 of 0 bytes
Any idea what might be the issue ?
Thanks !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-20-2014 08:12 AM
I am receiving this same error that the original poster had:
com.glide.db.impex.datasource.DataSourceException: java.io.IOException: Incomplete download /glide/nodes/managewireless
Although we are using an HTTPS data source to pull data from our own instance. Also attempted setting up a data source on a different instance (DEV) to pull from PROD and it works fine.
I know this error message isn't very informative so here is an additional entry that I found in the Log File Browser log that I think correlates:
SEVERE *** ERROR *** connect: timeout can't be negative
java.lang.IllegalArgumentException: connect: timeout can't be negative
at java.net.Socket.connect(Socket.java:503)
at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:559)
at com.glide.communications.GlideSSLProtocolSocketFactory.createSocket(GlideSSLProtocolSocketFactory.java:142)
at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707)
at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361)
at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
at com.glide.communications.HTTPClient.executeMethod(HTTPClient.java:235)
at com.glide.communications.HTTPDownloader.download(HTTPDownloader.java:76)
at com.glide.protocol.http.HTTPURLConnection.connect(HTTPURLConnection.java:32)
at com.glide.protocol.http.HTTPURLConnection.getInputStream(HTTPURLConnection.java:40)
at com.glide.db.impex.datasource.DataSource.writeFile(DataSource.java:285)
at com.glide.db.impex.datasource.DataSource.getFile(DataSource.java:252)
at com.glide.db.impex.datasource.DataSource.getFile(DataSource.java:223)
at com.glide.db.impex.XMLLoader.setImportDataSource(XMLLoader.java:58)
at com.glide.db.impex.datasource.XMLDataSource.getLoader(XMLDataSource.java:18)
at com.glide.processors.ImportProcessorWorker.loadDataSource(ImportProcessorWorker.java:112)
at com.glide.processors.ImportProcessorWorker.startWork(ImportProcessorWorker.java:87)
at com.glide.worker.ProgressWorker.startAndWait(ProgressWorker.java:62)
at com.glide.worker.ProgressWorkerThread.run(ProgressWorkerThread.java:38)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-10-2015 04:24 AM
Hi,
I need your help on how you have tested to pull data from other instance.
I have given a try and i am getting error "data contains 1 columns, expected 2".
Can you please provide me the steps how you have achieved.
Thanks,
Hiranmayee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-12-2015 07:01 AM
Hiranmayee--did you resolve this? I am receiving a similar error. The data does load, so I am not sure of the cause of the error. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-23-2016 04:37 AM
I did the same configurations, trying to load data from a http URL which has csv file
Eg:
http://eddg-siddr-a16.tlr.ddd.com/SCImporddt/ICMd/x.csv
Provided Type as File, Format as CSV, File Path as /SCImporddt/ICMd/x.csv ,
Server as eddg-siddr-a16.tlr.ddd.com
File Retrieval Method as http.
But when i test load i get the below message
com.glide.db.impex.datasource.DataSourceException: java.io.IOException: Method failed: (http://eddg-siddr-a16.tlr.ddd.com/SCImporddt/ICMd/x.csv) null with code: 0
What could be wrong here
Please assist
Regards,
Vidya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-06-2019 12:01 AM
Hi Vidya,
Good Noon.
I am facing similar issue.Did you get solution for this ? If yes can you provide me what steps you have performed to resolve this ?