Esri/geoportal-server-harvester

Geoportal server harvester 2.6.4 is not harvesting Map services

Dineshr25 opened this issue · 12 comments

Dear ESRI Team,

I have set Input broker, Output broker and Tasks. Task got completed successfully without harvesting.
Please see below screen shot for more details. Please suggest for successful harvesting.

Thanks & Regards
DInesh
HarvesterError

looks like this collected 19 items from the ArcGIS (server?). Can you share the config (sanitized for passwords) of the input and output brokers, and what do you see when clicking '0 / 19'?

Dear Marten,

Thanks for your quick response. Please find details as required for further analysis.
When, I am clicking on 0/19. I am getting url of mapservers published on server.

InputBroker

OutputBroker

start with checking the 'accept json' option in the target.

Dear Marten,

As per your suggestion, I have click on check box for accept json. Then, also I am facing same issue.

zguo commented

You might try with the new version to see if you still have the issue.

Dear ZhongPing,

Today, I have tried with Geoportal Server Harvester 2.6.5 also. But, I found same issue.

Please suggest further.

Geoportal Server Harvester 2 6 5 Error

Thanks & Regards
Dinesh

can you click the 0 / 21 link and see what messages are displayed? the result suggest the harvester successfully got 21 items from your ArcGIS Server, but could not publish any of them to the catalog.

Dear Marten,

After click on 0/21, I am seeing list of mapservers .

Can you look in the Geoportal Server Catalog log files for this particular map service and collect any error messages from that log?

Dear Marten,

Please see below mentioned Error logs.
s
2021-07-14 21:46:06,826 WARN [org.springframework.security.oauth2.provider.endpoint.TokenEndpoint] - Handling error: InvalidGrantException, Bad credentials
2021-07-14 21:46:07,246 WARN [org.springframework.security.oauth2.provider.endpoint.TokenEndpoint] - Handling error: InvalidGrantException, Bad credentials
2021-07-14 21:46:07,579 WARN [org.springframework.security.oauth2.provider.endpoint.TokenEndpoint] - Handling error: InvalidGrantException, Bad credentials
2021-07-14 21:46:12,935 WARN [org.springframework.security.oauth2.provider.endpoint.TokenEndpoint] - Handling error: InvalidGrantException, Bad credentials
2021-07-14 21:46:13,946 WARN [org.springframework.security.oauth2.provider.endpoint.TokenEndpoint] - Handling error: InvalidGrantException, Bad credentials
2021-07-14 21:46:15,507 WARN [org.springframework.security.oauth2.provider.endpoint.TokenEndpoint] - Handling error: InvalidGrantException, Bad credentials
2021-07-14 21:46:16,232 WARN [org.springframework.security.oauth2.provider.endpoint.TokenEndpoint] - Handling error: InvalidGrantException, Bad credentials
2021-07-14 21:46:16,839 WARN [org.springframework.security.oauth2.provider.endpoint.TokenEndpoint] - Handling error: InvalidGrantException, Bad credentials
2021-07-14 21:46:17,834 WARN [org.springframework.security.oauth2.provider.endpoint.TokenEndpoint] - Handling error: InvalidGrantException, Bad credentials
2021-07-14 21:46:18,931 WARN [org.springframework.security.oauth2.provider.endpoint.TokenEndpoint] - Handling error: InvalidGrantException, Bad credentials
2021-07-14 21:46:19,700 WARN [org.springframework.security.oauth2.provider.endpoint.TokenEndpoint] - Handling error: InvalidGrantException, Bad credentials
2021-07-14 21:46:20,368 WARN [org.springframework.security.oauth2.provider.endpoint.TokenEndpoint] - Handling error: InvalidGrantException, Bad credentials
2021-07-14 21:46:21,053 WARN [org.springframework.security.oauth2.provider.endpoint.TokenEndpoint] - Handling error: InvalidGrantException, Bad credentials
2021-07-14 21:46:21,709 WARN [org.springframework.security.oauth2.provider.endpoint.TokenEndpoint] - Handling error: InvalidGrantException, Bad credentials
2021-07-14 21:46:22,376 WARN [org.springframework.security.oauth2.provider.endpoint.TokenEndpoint] - Handling error: InvalidGrantException, Bad credentials
2021-07-14 21:46:22,878 WARN [org.springframework.security.oauth2.provider.endpoint.TokenEndpoint] - Handling error: InvalidGrantException, Bad credentials
2021-07-14 21:46:23,146 WARN [org.springframework.security.oauth2.provider.endpoint.TokenEndpoint] - Handling error: InvalidGrantException, Bad credentials
2021-07-14 21:46:23,855 WARN [org.springframework.security.oauth2.provider.endpoint.TokenEndpoint] - Handling error: InvalidGrantException, Bad credentials
2021-07-14 21:46:24,882 WARN [org.springframework.security.oauth2.provider.endpoint.TokenEndpoint] - Handling error: InvalidGrantException, Bad credentials
2021-07-14 21:46:25,295 WARN [org.springframework.security.oauth2.provider.endpoint.TokenEndpoint] - Handling error: InvalidGrantException, Bad credentials
2021-07-14 21:46:25,669 WARN [org.springframework.security.oauth2.provider.endpoint.TokenEndpoint] - Handling error: InvalidGrantException, Bad credentials

well... this indicates the harvester is not using the right credentials when submitting to the catalog. Can you explain how you have setup your geoportal security? simple/LDAP/ArcGIS Portal?

Dear Marten,
I am using simple security. I have corrected credentials. Now, its working fine. Thanks a lot.