Hi all,
When migrating from scout 11 to 22, we have the following error because of custom font import from google fonts
throw er; // Unhandled 'error' event
^
Error: read ECONNRESET
at TLSWrap.onStreamRead (node:internal/stream_base_commons:217:20)
Emitted 'error' event on ClientRequest instance at:
at TLSSocket.socketErrorListener (node:_http_client:442:9)
at TLSSocket.emit (node:events:526:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
errno: -54,
code: 'ECONNRESET',
syscall: 'read'
}
The part of our code that generate the error is following. There is no error if we comment it.
body, .outline-title, .desktop-tool-box-item.menu-item, .table-header-item, .form > .header > .title, .menubar > .menubox > .menu-item.menu-button.default-menu:not(.disabled), input, textarea, button,.tab-item, .desktop-tab.simple-tab > .title {
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400&display=swap');
font-family: 'Rubik', sans-serif;
}