Comments (10)
we just checked in a fix should resolve the issue, please try.
from geoportal-server-harvester.
can you please provide a few of the files that is having the issue.
from geoportal-server-harvester.
CA2732.mxd.zip
Here is an example of one of the files. I can upload these individually with no problem through Geoportal, it is harvester that is throwing a generic validation error.
from geoportal-server-harvester.
Other notes:
If I run tomcat on a different port than 8080, lets say 8088. I get a connection refused error.
17-Jul-2017 15:11:10.092 SEVERE [HARVESTING] com.esri.geoportal.harvester.support.ErrorLogger.logError Error processing task: PROCESS:: status: working, title: PROCESSOR: DEFAULT[], SOURCE: UNC[unc-root-folder=C:\Harvest\calna1\gisdata_\GIS\GIS_Services, unc-pattern=], DESTINATIONS: [GPT[gpt-host-url=http://calwgist08:8080/gp2, cred-username=gptadmin, cred-password=*****, gpt-cleanup=false]], INCREMENTAL: false, IGNOREROBOTSTXT: false | Error publishing data: id: C:\Harvest\calna1\gisdata_\GIS\GIS_Services\TEST.mxd.xml, modified: Mon Jul 17 11:35:10 MDT 2017, source URI: file:///C:/Harvest/calna1/gisdata_/GIS/GIS_Services/TEST.mxd.xml, broker URI: UNC:Harvest/calna1/gisdata_/GIS/GIS_Services com.esri.geoportal.harvester.api.ex.DataOutputException: Error publishing data: id: C:\Harvest\calna1\gisdata_\GIS\GIS_Services\TEST.mxd.xml, modified: Mon Jul 17 11:35:10 MDT 2017, source URI: file:///C:/Harvest/calna1/gisdata_/GIS/GIS_Services/TEST.mxd.xml, broker URI: UNC:Harvest/calna1/gisdata_/GIS/GIS_Services/ at com.esri.geoportal.harvester.gpt.GptBroker.publish(GptBroker.java:180) at com.esri.geoportal.harvester.api.base.BrokerLinkActionAdaptor.push(BrokerLinkActionAdaptor.java:64) at com.esri.geoportal.harvester.api.base.SimpleLink.push(SimpleLink.java:71) at com.esri.geoportal.harvester.engine.defaults.DefaultProcessor$DefaultProcess.lambda$null$0(DefaultProcessor.java:140) at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source) at java.util.stream.ReferencePipeline$Head.forEach(Unknown Source) at com.esri.geoportal.harvester.engine.defaults.DefaultProcessor$DefaultProcess.lambda$new$1(DefaultProcessor.java:138) at java.lang.Thread.run(Unknown Source) Caused by: org.apache.http.conn.HttpHostConnectException: Connect to calwgist08:8080 [calwgist08/10.13.193.102, calwgist08/0:0:0:0:0:0:0:1] failed: Connection refused: connect at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:158) at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:353) at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:380) at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236) at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:184) at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:88) at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110) at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82) at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:107) at com.esri.geoportal.commons.gpt.client.Client.execute(Client.java:477) at com.esri.geoportal.commons.gpt.client.Client.generateToken(Client.java:528) at com.esri.geoportal.commons.gpt.client.Client.getAccessToken(Client.java:502) at com.esri.geoportal.commons.gpt.client.Client.createQueryUri(Client.java:465) at com.esri.geoportal.commons.gpt.client.Client.query(Client.java:424) at com.esri.geoportal.commons.gpt.client.Client.queryIds(Client.java:397) at com.esri.geoportal.commons.gpt.client.Client.queryIds(Client.java:381) at com.esri.geoportal.commons.gpt.client.Client.publish(Client.java:142) at com.esri.geoportal.harvester.gpt.GptBroker.publish(GptBroker.java:165) ... 7 more Caused by: java.net.ConnectException: Connection refused: connect at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method) at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source) at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source) at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source) at java.net.AbstractPlainSocketImpl.connect(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:74) at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:141) ... 25 more
from geoportal-server-harvester.
I tried the metadata you provided, it seems working fine for me on my test instance, tried from unc (local folder) to geoportal 2.5.
from geoportal-server-harvester.
Any clue what it could be? Seems like something between harvester-geoportal-elasticsearch is broken?
from geoportal-server-harvester.
Or there is something on the network/permission? But the error tells me very little.
from geoportal-server-harvester.
another note I am using an Administrator user account. It starts with a $, if that makes any difference.
from geoportal-server-harvester.
Rolling back to an older version "Harvester 2.0" allowed me to harvest to the Geoportal...
Not sure what changes were made or why there are compatibility issues. I was using Geoportal 2.5
from geoportal-server-harvester.
Yes just tried with the fix it looks like its working. Thanks.
from geoportal-server-harvester.
Related Issues (20)
- HTTP ERROR 500 when accessing http://localhost:8080/harvester HOT 2
- Geoportal - Why do some users not have the ability to edit/download metadata if they are the owner/admin
- Failed to remove task/execute task HOT 5
- PyCSW harvest ESRI Geoportal 2.6.5 (CSW) failed HOT 1
- Harvester not removing content from geoportal that has been removed from source WAF HOT 5
- Item type of tiled image layers in ArcGIS Image not properly maintained when harvesting into ArcGIS Portal/Online HOT 1
- Harvester Issue to ArcGIS Portal - The size of each typeKeyword cannot be more than 256 characters
- Translation for AGOL/Portal HOT 1
- Harvester CKAN Broker Iterator Error for Data.gov
- Upgrading to 2.7 issue HOT 2
- Parse markdown to HTML in metadata XML
- Associate harvested metadata to existing sub-layers HOT 1
- Enable ArcGIS Online/Portal authentication in the harvester HOT 2
- Support for records in ISO 19115-3? HOT 2
- Enable layers option on ArcGIS Portal input broker. HOT 2
- Use title as output file name
- include reference to source metadata when publishing fails
- Harvest full XML from ArcGIS Server services and layers when available HOT 1
- Use ArcGIS Server layer metadata if available
- translate metadata when harvesting into geoportal
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geoportal-server-harvester.