[GH-ISSUE #3330] [bug]: ERR_PNPM_META_FETCH_FAIL Error Encountered During Database Migration in Hoppscotch Community Edition #1106

Open
opened 2026-03-16 18:35:49 +03:00 by kerem · 0 comments
Owner

Originally created by @goutham639 on GitHub (Sep 7, 2023).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3330

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

I have recently deployed the Hoppscotch Community Edition on my system and encountered an issue while trying to run migrations on the database. The error message displayed is ERR_PNPM_META_FETCH_FAIL.

Setup Details:
Hoppscotch Community Edition
Running behind a corporate proxy
PostgreSQL container running on the same machine

Steps Taken:
Configured the HTTPS_PROXY environment variable in the container.
Attempted to run migrations on the database.

Actual Result:

/usr/src/app/packages/hoppscotch-backend # pnpx prisma migrate deploy

 WARN  GET https://registry.npmjs.org/prisma error (ERR_SOCKET_TIMEOUT). Will retry in 10 seconds. 2 retries left.
 WARN  GET https://registry.npmjs.org/prisma error (ERR_SOCKET_TIMEOUT). Will retry in 1 minute. 1 retries left.
/root/.local/share/pnpm/store/v3/tmp/dlx-51:
 ERR_PNPM_META_FETCH_FAIL  GET https://registry.npmjs.org/prisma: request to https://registry.npmjs.org/prisma failed, reason: Socket timeout

Additional Information:

Despite setting the HTTPS_PROXY environment variable in the container, the issue persists.
image

Please let me know if you require any further information or logs to assist with the investigation of this issue.

Thank you in advance for your help.

Steps to reproduce

docker run -d -p 3000:3000 --env-file /opt/app/hoppscotch/.env --name=frontend hoppscotch/hoppscotch-frontend
docker run -d -p 3170:3170 --env-file /opt/app/hoppscotch/.env --name=backend hoppscotch/hoppscotch-backend
docker run -d -p 3100:3100 --env-file /opt/app/hoppscotch/.env --name=admin hoppscotch/hoppscotch-admin

docker exec -it backend /bin/sh
pnpx prisma migrate deploy

Environment

Production

Version

Self-hosted

Originally created by @goutham639 on GitHub (Sep 7, 2023). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3330 ### Is there an existing issue for this? - [X] I have searched the existing issues ### Current behavior I have recently deployed the Hoppscotch Community Edition on my system and encountered an issue while trying to run migrations on the database. The error message displayed is ERR_PNPM_META_FETCH_FAIL. **Setup Details:** Hoppscotch Community Edition Running behind a corporate proxy PostgreSQL container running on the same machine **Steps Taken:** Configured the HTTPS_PROXY environment variable in the container. Attempted to run migrations on the database. Actual Result: /usr/src/app/packages/hoppscotch-backend # pnpx prisma migrate deploy  WARN  GET https://registry.npmjs.org/prisma error (ERR_SOCKET_TIMEOUT). Will retry in 10 seconds. 2 retries left.  WARN  GET https://registry.npmjs.org/prisma error (ERR_SOCKET_TIMEOUT). Will retry in 1 minute. 1 retries left. /root/.local/share/pnpm/store/v3/tmp/dlx-51:  ERR_PNPM_META_FETCH_FAIL  GET https://registry.npmjs.org/prisma: request to https://registry.npmjs.org/prisma failed, reason: Socket timeout Additional Information: Despite setting the HTTPS_PROXY environment variable in the container, the issue persists. ![image](https://github.com/hoppscotch/hoppscotch/assets/24263814/ed9e4f8a-8a6c-47ac-b11b-d4dedbcf7312) Please let me know if you require any further information or logs to assist with the investigation of this issue. Thank you in advance for your help. ### Steps to reproduce docker run -d -p 3000:3000 --env-file /opt/app/hoppscotch/.env --name=frontend hoppscotch/hoppscotch-frontend docker run -d -p 3170:3170 --env-file /opt/app/hoppscotch/.env --name=backend hoppscotch/hoppscotch-backend docker run -d -p 3100:3100 --env-file /opt/app/hoppscotch/.env --name=admin hoppscotch/hoppscotch-admin docker exec -it backend /bin/sh pnpx prisma migrate deploy ### Environment Production ### Version Self-hosted
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#1106
No description provided.