mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #3330] [bug]: ERR_PNPM_META_FETCH_FAIL Error Encountered During Database Migration in Hoppscotch Community Edition #1106
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#1106
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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?
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.

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