-
Notifications
You must be signed in to change notification settings - Fork 21
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
'ERR_HTTP_HEADERS_SENT' terminate the script #10
Comments
If I understand correctly, you run the proxy server directly with Node.js, not with Docker? Then you could modify the file lib/server.js to help pin down the error. At the end of the file, you find the following code:
Change it to:
Then restart the server, wait for the error to reappear and post the log output here. Thank you! |
I made the change. ` 2 high severity vulnerabilities To address all issues (including breaking changes), run: Run Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client Or is there a log file somewhere where the errors are recorded? |
I suggest to run the script with forever or to use the provided Docker image, which uses forever internally. The forever command in the Docker image is |
Hello,
I use the script (as "root") with Node.js (v12) to establish a HyperBackup connection to OneDrive on a Synology server (DS214 + DSM6.2.3-25426 Update 3). I proceeded exactly according to "README". It works.
But after a while the following error messages appear and the script is terminated completely. Can no longer connect to OneDrive. Only when I restart the script.
What's wrong?
Or to put it better: What can I do to ensure that the connection is automatically re-established?
many greetings
Benjamin
The text was updated successfully, but these errors were encountered: