MqDockerUp icon indicating copy to clipboard operation
MqDockerUp copied to clipboard

Request failed, error 404

Open pissten opened this issue 1 year ago • 5 comments

I can't seem to get any of my containers to install/update through mqtt from HA.

In the logs i get this:

Failed to check for new Dockerhub image digest: AxiosError: Request failed with status code 404 22.04.2024 16:36:23 [error] Request failed with status code 404 Failed to check for new Dockerhub image digest: TypeError: Cannot read properties of undefined (reading 'split') 22.04.2024 16:36:28 [error] Cannot read properties of undefined (reading 'split')

This is my docker-compose:

`version: '3.9'

services: mqdockerup: image: micrib/mqdockerup:latest restart: always environment: MAIN_INTERVAL: "5m" MQTT_CONNECTIONURI: "mqtt://myhostip:1883" MQTT_USERNAME: "mqtt-user" MQTT_PASSWORD: "mqtt-password" ACCESSTOKENS_GITHUB: "ghp_XdQxxxxxxxxxxx" ACCESSTOKENS_DOCKERHUB: "dckr_pat_Oxxxxxxxxxxxxxx" DOCKER_HOST: "tcp://myhostip:2375" volumes: - /var/run/docker.sock:/var/run/docker.sock - /opt/mqdockerup/data:/app/data/ container_name: mqdockerup`

Any help would be truly appreciated!

pissten avatar Apr 22 '24 16:04 pissten

👋 Welcome to the project! Thank you for raising your first issue. We will look into it as soon as possible.

github-actions[bot] avatar Apr 22 '24 16:04 github-actions[bot]

and also this:

`22.04.2024 16:50:26 [info] Finished checking for image updates 22.04.2024 16:50:26 [info] Next check in 5 minutes 22.04.2024 16:50:43 [error] MqDockerUp stopped due to an error 22.04.2024 16:50:43 [error] object 22.04.2024 16:50:43 [error] SyntaxError: Unexpected end of JSON input at JSON.parse () at IncomingMessage. (/app/src/services/DockerService.ts:23:28) at IncomingMessage.emit (node:events:517:28) at IncomingMessage.emit (node:domain:489:12) at addChunk (node:internal/streams/readable:368:12) at readableAddChunk (node:internal/streams/readable:341:9) at IncomingMessage.Readable.push (node:internal/streams/readable:278:10) at HTTPParser.parserOnBody (node:_http_common:131:24) at Socket.socketOnData (node:_http_client:541:22) at Socket.emit (node:events:517:28)

[email protected] start ts-node src/index.ts`

This keeps the container going in endless restart cycle

pissten avatar Apr 22 '24 16:04 pissten

any help on this matter would be truly appreciated

pissten avatar Jun 20 '24 09:06 pissten

Also when trying to update containers from within HA, i press update and get this error in log: [error] Pulling Error: Error: (HTTP code 403) unexpected - <html><body><h1>403 Forbidden</h1> Request forbidden by administrative rules.

pissten avatar Nov 06 '24 11:11 pissten

Hi, could you specify which image MqDockerUp is trying to update?

Lesekater avatar Apr 10 '25 11:04 Lesekater