Giter Club home page Giter Club logo

Comments (10)

zguo avatar zguo commented on June 28, 2024 1

we just checked in a fix should resolve the issue, please try.

from geoportal-server-harvester.

zguo avatar zguo commented on June 28, 2024

can you please provide a few of the files that is having the issue.

from geoportal-server-harvester.

MapZombie avatar MapZombie commented on June 28, 2024

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.

MapZombie avatar MapZombie commented on June 28, 2024

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.

zguo avatar zguo commented on June 28, 2024

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.

MapZombie avatar MapZombie commented on June 28, 2024

Any clue what it could be? Seems like something between harvester-geoportal-elasticsearch is broken?

from geoportal-server-harvester.

MapZombie avatar MapZombie commented on June 28, 2024

Or there is something on the network/permission? But the error tells me very little.

from geoportal-server-harvester.

MapZombie avatar MapZombie commented on June 28, 2024

another note I am using an Administrator user account. It starts with a $, if that makes any difference.

from geoportal-server-harvester.

MapZombie avatar MapZombie commented on June 28, 2024

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.

MapZombie avatar MapZombie commented on June 28, 2024

Yes just tried with the fix it looks like its working. Thanks.

from geoportal-server-harvester.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.