-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
BatchProcessException{message=Alexandria batch error., exceptions=[HttpException{
message="HttpException: GET https://redacted/api/core/v3/contents?fields=id%2CcontentID%2Ctags%2Cupdated%2Cpublished%2CparentPlace%2Csubject%2Cresources%2Ccontent%2Cvia%2Cparent&filter=tag%2842f4477d-fa30-4729-a721-809fb42b3d1c%29&count=25&startIndex=0 - 401 (excepted one of [20X])",
rootCauseMessage="HttpException: GET https://redacted/api/core/v3/contents?fields=id%2CcontentID%2Ctags%2Cupdated%2Cpublished%2CparentPlace%2Csubject%2Cresources%2Ccontent%2Cvia%2Cparent&filter=tag%2842f4477d-fa30-4729-a721-809fb42b3d1c%29&count=25&startIndex=0 - 401 (excepted one of [20X])",
metadata=
{
"sourcePath" : "redacted/docs/result_message.md",
"title" : "result_message.md",
"convertedChecksum" : 3321649118,
"extraProps" : {
"jiveTrackingTag" : "42f4477d-fa30-4729-a721-809fb42b3d1c"
}
}
]}
[ERROR] HttpException: GET https://mojo.redhat.com/api/core/v3/contents?fields=id%2CcontentID%2Ctags%2Cupdated%2Cpublished%2CparentPlace%2Csubject%2Cresources%2Ccontent%2Cvia%2Cparent&filter=tag%2842f4477d-fa30-4729-a721-809fb42b3d1c%29&count=25&startIndex=0 - 401 (excepted one of [20X])
com.github.macgregor.alexandria.exceptions.HttpException: GET https://redacted/api/core/v3/contents?fields=id%2CcontentID%2Ctags%2Cupdated%2Cpublished%2CparentPlace%2Csubject%2Cresources%2Ccontent%2Cvia%2Cparent&filter=tag%2842f4477d-fa30-4729-a721-809fb42b3d1c%29&count=25&startIndex=0 - 401 (excepted one of [20X])
at com.github.macgregor.alexandria.exceptions.HttpException$Builder.build (HttpException.java:109)
at com.github.macgregor.alexandria.remotes.RemoteDocument.doRequest (RemoteDocument.java:328)
at com.github.macgregor.alexandria.remotes.RemoteDocument$RemoteDocumentIterator.nextPage (RemoteDocument.java:478)
at com.github.macgregor.alexandria.remotes.RemoteDocument$RemoteDocumentIterator.hasNext (RemoteDocument.java:438)
at com.github.macgregor.alexandria.remotes.RemoteDocument$RemoteDocumentPage.first (RemoteDocument.java:368)
at com.github.macgregor.alexandria.remotes.jive.JiveRemote.findDocument (JiveRemote.java:300)
at com.github.macgregor.alexandria.remotes.jive.JiveRemote.create (JiveRemote.java:167)
at com.github.macgregor.alexandria.AlexandriaSync.lambda$syncWithRemote$1 (AlexandriaSync.java:90)
at com.github.macgregor.alexandria.BatchProcess.execute (BatchProcess.java:97)
at com.github.macgregor.alexandria.AlexandriaSync.syncWithRemote (AlexandriaSync.java:77)
at com.github.macgregor.alexandria.Alexandria.syncWithRemote (Alexandria.java:93)
at com.github.macgregor.alexandria.SyncMojo.execute (SyncMojo.java:19)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:56)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:305)
at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
at org.apache.maven.cli.MavenCli.execute (MavenCli.java:956)
at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:290)
at org.apache.maven.cli.MavenCli.main (MavenCli.java:194)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke (Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
Jive rest api suuuucks. Not sure why this happened, as it cleared up eventually on its own. Possibly a transient error server side, in which case this error is expected, perhaps retries might help if it is a very short lived problem. It could also be a quirk in Jive when a newly created document is in a weird state and the search throws a 401 for some reason when it should be a better error code. I've seen similar errors that I built safeguards for, maybe this is another one.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working