question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error getting response from license server.

See original GitHub issue

Hi, I have a website perfectly working (single .html) with shaka-player. Now I wanted to use electron with it.

But when shaka make the request to the license server, the requests fail. It is something that I missing? (If I open my web standalone, works well).

My main.js:

const {app, components, BrowserWindow} = require('electron')
const path = require('path')

function createWindow () {
  const mainWindow = new BrowserWindow({
    width: 800,
    height: 600,
    webPreferences: {
      nodeIntegration: true,
      preload: path.join(__dirname, 'preload.js'),
      plugins: true
    }
  })

  const startFile = path.join(__dirname, '/src/index.html');

  mainWindow.loadFile(startFile);
  mainWindow.webContents.openDevTools()
}

app.whenReady().then(async () => {
  await components.whenReady();
  console.log('components ready:', components.status());

  createWindow()

  app.on('activate', function () {
    if (BrowserWindow.getAllWindows().length === 0) createWindow()
  })
})

app.on('window-all-closed', function () {
  if (process.platform !== 'darwin') app.quit()
})

The license server returns ACCESS_DENIED which means that the payload that I’m sending is wrong (the problem is that shaka do that, and its the same for the web and electron).

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:27

github_iconTop GitHub Comments

1reaction
matgottcommented, Mar 25, 2022

omg! It’s working! You’re so cool khwaaj thanks for all your help.

This was very instructive.

0reactions
khwaajcommented, Apr 22, 2022

I guess we can close this, please reopen if you feel differently!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I troubleshoot connection problems with a license ...
The error messages listed above indicate that PLECS cannot communicate with the license manager and/or the vendor daemon running on the server computer....
Read more >
Error: -15 Cannot connect to license server
A simple test would be to try to run the command 'ping hostname' where hostname is the name found on the “SERVER” line...
Read more >
Usage issues | License Server - JetBrains
Attempt to obtain license from the server leads to the error License Server response has not passed data integrity check: Invalid signature ......
Read more >
Q100235: What to do if you get a "Communications error with ...
You can fix this issue by changing your firewall settings to allow the license server and license requests to pass through it. This...
Read more >
Troubleshooting License Server Issues - Aptech
This error occurs if the wrong hostid was submitted with the license request resulting in an invalid license file. To resolve, send a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found