Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev environment fails with Error: read ECONNRESET #146

Open
timtomch opened this issue Apr 3, 2023 · 1 comment
Open

Dev environment fails with Error: read ECONNRESET #146

timtomch opened this issue Apr 3, 2023 · 1 comment

Comments

@timtomch
Copy link

timtomch commented Apr 3, 2023

Hi there

I'm failing to run gulp for a new Primo dev environment setup, even though I'm able to run it without problem for another library.

I have a working dev environment for one library, with which I'm able to run Primo locally with no issues, generate packages and upload them to Alma.

But when I try to set up the exact same thing for another library (using a fresh copy of the primo-explore-devenv repository and setting the proxy config to the sandbox for that library), I am unable to get it to work. Only part of the UI (sometimes nothing at all) loads in the browser before the following error shows up in the terminal where I'm running gulp:

Error: read ECONNRESET
    at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20)
    at TLSWrap.callbackTrampoline (node:internal/async_hooks:130:17)

Is there a timeout setting in the sandbox that's causing this issue?

Since this is a new Alma/Primo install, there are no customization packages in use, so I'm using a fresh copy of the primo-explore-package in primo-explore/custom which I've renamed according to an existing view on the sandbox.

What am I doing wrong?
Thanks for your help

@timtomch
Copy link
Author

timtomch commented Apr 3, 2023

Interestingly enough, the issue only appears if I'm using the sandbox URL in the proxy config. If I replace it with the live instance URL, things work fine...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant