You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While trying to deploy an ssl certificate I'm facing one of the following two errors:
(venv) static % surge ssl
(node:98749) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
domain: emc2pdfa.emc-sq.com
pem file: surge.pem
undefined:1
<html><body><h1>502 Bad Gateway</h1>
^
SyntaxError: Unexpected token '<', "<html><bod"... is not valid JSON
at JSON.parse (<anonymous>)
at Request.<anonymous> (/Users/aviivgi/.nvm/versions/node/v21.6.0/lib/node_modules/surge/lib/middleware/ssl.js:29:24)
at Request.emit (node:events:531:35)
at IncomingMessage.<anonymous> (/Users/aviivgi/.nvm/versions/node/v21.6.0/lib/node_modules/surge/node_modules/request/request.js:1073:12)
at IncomingMessage.emit (node:events:519:28)
at Readable.read (node:internal/streams/readable:780:10)
at flow (node:internal/streams/readable:1281:53)
at resume_ (node:internal/streams/readable:1260:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Node.js v21.6.0
(venv) static % surge ssl --pem ./surge.pem
(node:64830) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
domain: emc2pdfa.emc-sq.com
Error: socket hang up
at TLSSocket.socketOnEnd (node:_http_client:516:23)
at TLSSocket.emit (node:events:531:35)
at endReadableNT (node:internal/streams/readable:1696:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
code: 'ECONNRESET'
The text was updated successfully, but these errors were encountered:
ISSUES
While trying to deploy an
ssl certificate
I'm facing one of the following two errors:The text was updated successfully, but these errors were encountered: