Closed GoogleCodeExporter closed 8 years ago
Marty mentioned that we log a WARNING. He will investigate and change it to an
ERROR.
Original comment by mobe...@gmail.com
on 18 Apr 2008 at 10:38
r778 | mgronber | 2008-04-30 09:21:09 -0700 (Wed, 30 Apr 2008) | 29 lines
Fix Issue 74 - Log an error if GSA is rejecting feeds from connector(s).
Currently the Connector Manager will log this as a Warning and throw a
PusherException containing the response code. I have updated this to now log at
SEVERE level and added more information to the message used to create the
PusherException.
This type of error should now result in the following:
Apr 29, 2008 5:35:05 PM
com.google.enterprise.connector.traversal.QueryTraverser runBatch
SEVERE: Error - Unauthorized Request: Client is not authorized to send feeds.
Make
sure the GSA is configured to trust feeds from your host.
com.google.enterprise.connector.pusher.PushException: Error - Unauthorized
Request:
Client is not authorized to send feeds. Make sure the GSA is configured to trust
feeds from your host.
at com.google.enterprise.connector.pusher.DocPusher.take(DocPusher.java:688)
at
com.google.enterprise.connector.traversal.QueryTraverser.runBatch(QueryTraverser
.java:120)
at
com.google.enterprise.connector.scheduler.TraversalScheduler$TraversalWorkQueueI
tem.doWork(TraversalScheduler.java:359)
at
com.google.enterprise.connector.common.WorkQueueThread.run(WorkQueueThread.java:
83)
ChangeLog:
*
projects/connector-manager/source/java/com/google/enterprise/connector/traversal
/QueryTraverser.java:
- Changed Log level from WARNING to SEVERE and removed redundant stack trace.
*
projects/connector-manager/source/java/com/google/enterprise/connector/pusher/Do
cPusher.java:
- Creted a more descriptive message for the PusherException.
*
projects/connector-manager/source/java/com/google/enterprise/connector/pusher/Gs
aFeedConnection.java:
- Added some constants to describe possible failure responses from the GSA.
Original comment by mgron...@gmail.com
on 30 Apr 2008 at 4:29
Original comment by mgron...@gmail.com
on 19 Jun 2008 at 6:35
Original issue reported on code.google.com by
enterpri...@gmail.com
on 11 Apr 2008 at 9:10