goharbor/harbor · error
[VolcengineCR adapt] ListNamespaces resp nil
Error message
[VolcengineCR adapt] ListNamespaces resp nil
What it means
Sentinel errListNamespaceResp: the Volcengine CR ListNamespaces API returned a nil response or a nil TotalCount, so the response is unusable for pagination. Used at volccr.go:154 and :328 when listing namespaces / checking existence.
Solutions
- Retry the ListNamespaces call — usually a transient API/serialization failure
- Check the volcengine SDK version and credentials if the error persists
Defensive patterns
Strategy: retry
When it happens
Trigger: Thrown at src/pkg/reg/adapter/volcenginecr/consts.go:23 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of goharbor/harbor@7b2fd08cc5 (2026-08-16).
Data as JSON: /api/errors/a974301b525be035.
Report an issue: GitHub.
Appendix: source
Thrown at src/pkg/reg/adapter/volcenginecr/consts.go:23
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
package volcenginecr
import "errors"
var (
regionRegs = map[string]any{
"(.*)-(cn-.*)": nil,
}
errListNamespaceResp = errors.New("[VolcengineCR adapt] ListNamespaces resp nil")
errListRepositoriesResp = errors.New("[VolcengineCR adapt] ListRepositories resp nil")
errListTagsResp = errors.New("[VolcengineCR adapt] ListTags resp nil")
errPareseDigest = errors.New("[VolcengineCR adapt] fail to parse reference")
errNilVolcCrClient = errors.New("[volcengine-cr.createRepository] nil volcCr client")
)
const (
MaxPageSize int64 = 100
concurrentLimit int = 3
)
View on GitHub (pinned to 7b2fd08cc5)