Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Editor stopped to be automatically updated on Windows #735

@Ezardy

Description

@Ezardy

Editor on Linux still able to be updated.
The message from a Windows console:

DevTools listening on ws://127.0.0.1:8315/devtools/browser/503d180a-0eb5-4f12-9d5e-12c403361151
Setting encoding on Windows is not supported
Checking for update
Found version 5.2.3 (url: BabylonJS Editor Setup 5.2.3.exe)
Downloading update from BabylonJS Editor Setup 5.2.3.exe
updater cache dir: C:\Users\zahar\AppData\Local\babylonjs-editor-updater
disableWebInstaller is set to false, you should set it to true if you do not plan on using a web installer. This will default to true in a future version.
Download block maps (old: "https://babylonjs-editor.fra1.cdn.digitaloceanspaces.com/updates/BabylonJS%20Editor%20Setup%205.2.2.exe.blockmap", new: https://babylonjs-editor.fra1.cdn.digitaloceanspaces.com/updates/BabylonJS%20Editor%20Setup%205.2.3.exe.blockmap)
Cannot download differentially, fallback to full download: Error: Cannot download "https://babylonjs-editor.fra1.cdn.digitaloceanspaces.com/updates/BabylonJS%20Editor%20Setup%205.2.2.exe.blockmap", status 403:
    at ClientRequest.<anonymous> (C:\Users\zahar\AppData\Local\Programs\BabylonJS Editor\resources\app.asar\node_modules\builder-util-runtime\out\httpExecutor.js:209:34)
    at ClientRequest.emit (node:events:519:28)
    at SimpleURLLoaderWrapper.<anonymous> (node:electron/js2c/browser_init:2:123663)
    at SimpleURLLoaderWrapper.emit (node:events:519:28)
Verifying signature C:\Users\zahar\AppData\Local\babylonjs-editor-updater\pending\temp-BabylonJS Editor Setup 5.2.3.exe
LiteralPath: C:\Users\zahar\AppData\Local\babylonjs-editor-updater\pending\temp-BabylonJS Editor Setup 5.2.3.exe. Update Path: C:\Users\zahar\AppData\Local\babylonjs-editor-updater\pending\temp-BabylonJS Editor Setup 5.2.3.exe
Sign verification failed, installer signed with incorrect certificate: publisherNames: cesharpe, raw info: {
  "SignerCertificate": {
    "FriendlyName": "",
    "IssuerName": {
      "Name": "CN=DigiCert Trusted G4 Code Signing RSA4096 SHA384 2021 CA1, O=\"DigiCert, Inc.\", C=US",
      "Oid": "System.Security.Cryptography.Oid"
    },
    "NotAfter": "/Date(1793663999000)/",
    "NotBefore": "/Date(1762128000000)/",
    "PrivateKey": null,
    "PublicKey": {
      "Key": "System.Security.Cryptography.RSACryptoServiceProvider",
      "Oid": "System.Security.Cryptography.Oid",
      "EncodedKeyValue": "System.Security.Cryptography.AsnEncodedData",
      "EncodedParameters": "System.Security.Cryptography.AsnEncodedData"
    },
    "SerialNumber": "0275F8D437D92FD33C5B80E2ED66161C",
    "SignatureAlgorithm": {
      "Value": "1.2.840.113549.1.1.11",
      "FriendlyName": "sha256RSA"
    },
    "Thumbprint": "1693E1388A6115A3F7826844F0619C57E19E74A0",
    "Version": 3,
    "Issuer": "CN=DigiCert Trusted G4 Code Signing RSA4096 SHA384 2021 CA1, O=\"DigiCert, Inc.\", C=US",
    "Subject": "CN=Cesharpe, O=Cesharpe, L=Meudon, C=FR"
  },
  "TimeStamperCertificate": {
    "Archived": false,
    "Extensions": [
      "System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension",
      "System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension",
      "System.Security.Cryptography.X509Certificates.X509Extension",
      "System.Security.Cryptography.X509Certificates.X509KeyUsageExtension",
      "System.Security.Cryptography.X509Certificates.X509EnhancedKeyUsageExtension",
      "System.Security.Cryptography.X509Certificates.X509Extension",
      "System.Security.Cryptography.X509Certificates.X509Extension",
      "System.Security.Cryptography.X509Certificates.X509Extension"
    ],
    "FriendlyName": "",
    "IssuerName": {
      "Name": "CN=DigiCert Trusted G4 TimeStamping RSA4096 SHA256 2025 CA1, O=\"DigiCert, Inc.\", C=US",
      "Oid": "System.Security.Cryptography.Oid"
    },
    "NotAfter": "/Date(2104099199000)/",
    "NotBefore": "/Date(1748995200000)/",
    "HasPrivateKey": false,
    "PrivateKey": null,
    "PublicKey": {
      "Key": "System.Security.Cryptography.RSACryptoServiceProvider",
      "Oid": "System.Security.Cryptography.Oid",
      "EncodedKeyValue": "System.Security.Cryptography.AsnEncodedData",
      "EncodedParameters": "System.Security.Cryptography.AsnEncodedData"
    },
    "SerialNumber": "0A80EF184B8DF10582D1C476A7957468",
    "SubjectName": {
      "Name": "CN=DigiCert SHA256 RSA4096 Timestamp Responder 2025 1, O=\"DigiCert, Inc.\", C=US",
      "Oid": "System.Security.Cryptography.Oid"
    },
    "SignatureAlgorithm": {
      "Value": "1.2.840.113549.1.1.11",
      "FriendlyName": "sha256RSA"
    },
    "Thumbprint": "DD6230AC860A2D306BDA38B16879523007FB417E",
    "Version": 3,
    "Handle": 3077119591296,
    "Issuer": "CN=DigiCert Trusted G4 TimeStamping RSA4096 SHA256 2025 CA1, O=\"DigiCert, Inc.\", C=US",
    "Subject": "CN=DigiCert SHA256 RSA4096 Timestamp Responder 2025 1, O=\"DigiCert, Inc.\", C=US"
  },
  "Status": 0,
  "StatusMessage": "Signature verified.",
  "Path": "C:\\Users\\zahar\\AppData\\Local\\babylonjs-editor-updater\\pending\\temp-BabylonJS Editor Setup 5.2.3.exe"
}
Error: Error: New version 5.2.3 is not signed by the application owner: publisherNames: cesharpe, raw info: {
  "SignerCertificate": {
    "FriendlyName": "",
    "IssuerName": {
      "Name": "CN=DigiCert Trusted G4 Code Signing RSA4096 SHA384 2021 CA1, O=\"DigiCert, Inc.\", C=US",
      "Oid": "System.Security.Cryptography.Oid"
    },
    "NotAfter": "/Date(1793663999000)/",
    "NotBefore": "/Date(1762128000000)/",
    "PrivateKey": null,
    "PublicKey": {
      "Key": "System.Security.Cryptography.RSACryptoServiceProvider",
      "Oid": "System.Security.Cryptography.Oid",
      "EncodedKeyValue": "System.Security.Cryptography.AsnEncodedData",
      "EncodedParameters": "System.Security.Cryptography.AsnEncodedData"
    },
    "SerialNumber": "0275F8D437D92FD33C5B80E2ED66161C",
    "SignatureAlgorithm": {
      "Value": "1.2.840.113549.1.1.11",
      "FriendlyName": "sha256RSA"
    },
    "Thumbprint": "1693E1388A6115A3F7826844F0619C57E19E74A0",
    "Version": 3,
    "Issuer": "CN=DigiCert Trusted G4 Code Signing RSA4096 SHA384 2021 CA1, O=\"DigiCert, Inc.\", C=US",
    "Subject": "CN=Cesharpe, O=Cesharpe, L=Meudon, C=FR"
  },
  "TimeStamperCertificate": {
    "Archived": false,
    "Extensions": [
      "System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension",
      "System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension",
      "System.Security.Cryptography.X509Certificates.X509Extension",
      "System.Security.Cryptography.X509Certificates.X509KeyUsageExtension",
      "System.Security.Cryptography.X509Certificates.X509EnhancedKeyUsageExtension",
      "System.Security.Cryptography.X509Certificates.X509Extension",
      "System.Security.Cryptography.X509Certificates.X509Extension",
      "System.Security.Cryptography.X509Certificates.X509Extension"
    ],
    "FriendlyName": "",
    "IssuerName": {
      "Name": "CN=DigiCert Trusted G4 TimeStamping RSA4096 SHA256 2025 CA1, O=\"DigiCert, Inc.\", C=US",
      "Oid": "System.Security.Cryptography.Oid"
    },
    "NotAfter": "/Date(2104099199000)/",
    "NotBefore": "/Date(1748995200000)/",
    "HasPrivateKey": false,
    "PrivateKey": null,
    "PublicKey": {
      "Key": "System.Security.Cryptography.RSACryptoServiceProvider",
      "Oid": "System.Security.Cryptography.Oid",
      "EncodedKeyValue": "System.Security.Cryptography.AsnEncodedData",
      "EncodedParameters": "System.Security.Cryptography.AsnEncodedData"
    },
    "SerialNumber": "0A80EF184B8DF10582D1C476A7957468",
    "SubjectName": {
      "Name": "CN=DigiCert SHA256 RSA4096 Timestamp Responder 2025 1, O=\"DigiCert, Inc.\", C=US",
      "Oid": "System.Security.Cryptography.Oid"
    },
    "SignatureAlgorithm": {
      "Value": "1.2.840.113549.1.1.11",
      "FriendlyName": "sha256RSA"
    },
    "Thumbprint": "DD6230AC860A2D306BDA38B16879523007FB417E",
    "Version": 3,
    "Handle": 3077119591296,
    "Issuer": "CN=DigiCert Trusted G4 TimeStamping RSA4096 SHA256 2025 CA1, O=\"DigiCert, Inc.\", C=US",
    "Subject": "CN=DigiCert SHA256 RSA4096 Timestamp Responder 2025 1, O=\"DigiCert, Inc.\", C=US"
  },
  "Status": 0,
  "StatusMessage": "Signature verified.",
  "Path": "C:\\Users\\zahar\\AppData\\Local\\babylonjs-editor-updater\\pending\\temp-BabylonJS Editor Setup 5.2.3.exe"
}
    at newError (C:\Users\zahar\AppData\Local\Programs\BabylonJS Editor\resources\app.asar\node_modules\builder-util-runtime\out\error.js:5:19)
    at Object.task (C:\Users\zahar\AppData\Local\Programs\BabylonJS Editor\resources\app.asar\node_modules\electron-updater\out\NsisUpdater.js:56:63)
    at async NsisUpdater.executeDownload (C:\Users\zahar\AppData\Local\Programs\BabylonJS Editor\resources\app.asar\node_modules\electron-updater\out\AppUpdater.js:590:13)
(node:11472) UnhandledPromiseRejectionWarning: Error: New version 5.2.3 is not signed by the application owner: publisherNames: cesharpe, raw info: {
  "SignerCertificate": {
    "FriendlyName": "",
    "IssuerName": {
      "Name": "CN=DigiCert Trusted G4 Code Signing RSA4096 SHA384 2021 CA1, O=\"DigiCert, Inc.\", C=US",
      "Oid": "System.Security.Cryptography.Oid"
    },
    "NotAfter": "/Date(1793663999000)/",
    "NotBefore": "/Date(1762128000000)/",
    "PrivateKey": null,
    "PublicKey": {
      "Key": "System.Security.Cryptography.RSACryptoServiceProvider",
      "Oid": "System.Security.Cryptography.Oid",
      "EncodedKeyValue": "System.Security.Cryptography.AsnEncodedData",
      "EncodedParameters": "System.Security.Cryptography.AsnEncodedData"
    },
    "SerialNumber": "0275F8D437D92FD33C5B80E2ED66161C",
    "SignatureAlgorithm": {
      "Value": "1.2.840.113549.1.1.11",
      "FriendlyName": "sha256RSA"
    },
    "Thumbprint": "1693E1388A6115A3F7826844F0619C57E19E74A0",
    "Version": 3,
    "Issuer": "CN=DigiCert Trusted G4 Code Signing RSA4096 SHA384 2021 CA1, O=\"DigiCert, Inc.\", C=US",
    "Subject": "CN=Cesharpe, O=Cesharpe, L=Meudon, C=FR"
  },
  "TimeStamperCertificate": {
    "Archived": false,
    "Extensions": [
      "System.Security.Cryptography.X509Certificates.X509BasicConstraintsExtension",
      "System.Security.Cryptography.X509Certificates.X509SubjectKeyIdentifierExtension",
      "System.Security.Cryptography.X509Certificates.X509Extension",
      "System.Security.Cryptography.X509Certificates.X509KeyUsageExtension",
      "System.Security.Cryptography.X509Certificates.X509EnhancedKeyUsageExtension",
      "System.Security.Cryptography.X509Certificates.X509Extension",
      "System.Security.Cryptography.X509Certificates.X509Extension",
      "System.Security.Cryptography.X509Certificates.X509Extension"
    ],
    "FriendlyName": "",
    "IssuerName": {
      "Name": "CN=DigiCert Trusted G4 TimeStamping RSA4096 SHA256 2025 CA1, O=\"DigiCert, Inc.\", C=US",
      "Oid": "System.Security.Cryptography.Oid"
    },
    "NotAfter": "/Date(2104099199000)/",
    "NotBefore": "/Date(1748995200000)/",
    "HasPrivateKey": false,
    "PrivateKey": null,
    "PublicKey": {
      "Key": "System.Security.Cryptography.RSACryptoServiceProvider",
      "Oid": "System.Security.Cryptography.Oid",
      "EncodedKeyValue": "System.Security.Cryptography.AsnEncodedData",
      "EncodedParameters": "System.Security.Cryptography.AsnEncodedData"
    },
    "SerialNumber": "0A80EF184B8DF10582D1C476A7957468",
    "SubjectName": {
      "Name": "CN=DigiCert SHA256 RSA4096 Timestamp Responder 2025 1, O=\"DigiCert, Inc.\", C=US",
      "Oid": "System.Security.Cryptography.Oid"
    },
    "SignatureAlgorithm": {
      "Value": "1.2.840.113549.1.1.11",
      "FriendlyName": "sha256RSA"
    },
    "Thumbprint": "DD6230AC860A2D306BDA38B16879523007FB417E",
    "Version": 3,
    "Handle": 3077119591296,
    "Issuer": "CN=DigiCert Trusted G4 TimeStamping RSA4096 SHA256 2025 CA1, O=\"DigiCert, Inc.\", C=US",
    "Subject": "CN=DigiCert SHA256 RSA4096 Timestamp Responder 2025 1, O=\"DigiCert, Inc.\", C=US"
  },
  "Status": 0,
  "StatusMessage": "Signature verified.",
  "Path": "C:\\Users\\zahar\\AppData\\Local\\babylonjs-editor-updater\\pending\\temp-BabylonJS Editor Setup 5.2.3.exe"
}
    at newError (C:\Users\zahar\AppData\Local\Programs\BabylonJS Editor\resources\app.asar\node_modules\builder-util-runtime\out\error.js:5:19)
    at Object.task (C:\Users\zahar\AppData\Local\Programs\BabylonJS Editor\resources\app.asar\node_modules\electron-updater\out\NsisUpdater.js:56:63)
    at async NsisUpdater.executeDownload (C:\Users\zahar\AppData\Local\Programs\BabylonJS Editor\resources\app.asar\node_modules\electron-updater\out\AppUpdater.js:590:13)
(Use `BabylonJS Editor --trace-warnings ...` to show where the warning was created)
(node:11472) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions