Unauthorized: authentication required when using orbs

I’m getting unauthorized error during spinning up environment step.
Looks like the dockerhub limits are applying for me. How do I implement auth for circleci/orbs to pull from dockerhub? I couldn’t find documentation for orbs. It’ll be really helpful if someone takes a look at the config.yml below and help me to integrate auth. Thank you!

version: 2.1        
  node: circleci/node@4.0.0
      name: node/default
      - checkout
      - restore_cache:
          key: yarn-cache-v1-{{ checksum "yarn.lock" }}
      - run: yarn
      - save_cache:
          key: yarn-cache-v1-{{ checksum "yarn.lock" }}
            - ./node_modules
      - run: yarn build

Complete error log:

Build-agent version 1.0.52883-8215731d (2021-02-03T07:32:26+0000)
System information:
Server Version: 19.03.13
Storage Driver: overlay2
Backing Filesystem: xfs
Cgroup Driver: cgroupfs
Kernel Version: 4.15.0-1092-aws
Operating System: Ubuntu 18.04.5 LTS
OSType: linux
Architecture: x86_64
Starting container cimg/node:13.11
Warning: No authentication provided, using CircleCI credentials for pulls from Docker Hub.
image cache not found on this host, downloading cimg/node:13.11
13.11: Pulling from cimg/node
e2b273f4: Pulling fs layer
a2304fa1: Pulling fs layer
3bce3af0: Pulling fs layer
3be908de: Pulling fs layer
c4a2b2f0: Pulling fs layer
fe4e1e23: Pulling fs layer
257901c7: Pulling fs layer
b1c6061f: Pulling fs layer
1fe187f0: Pulling fs layer
1f88acd3: Pulling fs layer
ef1ffed6: Pulling fs layer
257901c7: Downloading plete ] 530.3kB/118.3MB
unauthorized: authentication required

I switched from orbs to docker image. It’s solved now, thank you!

    # name: node/default
      - image: circleci/node:latest
          username: $DOCKERHUB_USERNAME
          password: $DOCKERHUB_PASSWORD

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.