heavyai / heavydb

HeavyDB (formerly OmniSciDB)
https://heavy.ai
Apache License 2.0
2.95k stars 449 forks source link

License error: Failed to parse key #680

Open junrenge opened 3 years ago

junrenge commented 3 years ago

I try to install OmniSci Enterprise edition using a Docker container.Then I connected to Immerse using a web browser connected to my host machine on port 6273.I click APPLY and got an error msg "License error: Failed to parse key".I donot know how to do with this.

cdessanti commented 3 years ago

Hi @junrenge

It happened the same when I copied the key from a windows browser and tried to paste it into the browser.

You can try to check the length of the license, pasting it into a notepad, and saving the file. It would be around 1229 bytes.

Alternatively, you can download the key, connect to the docker you created and create a file called omnisci.license into /var/lib/omnisci/omnisci-storage (or directly on /omnisci-storage into the host if you used the default YAML settings) and restart the docker.

Regards, Candido

junrenge commented 3 years ago

Hi @junrenge

It happened the same when I copied the key from a windows browser and tried to paste it into the browser.

You can try to check the length of the license, pasting it into a notepad, and saving the file. It would be around 1229 bytes.

Alternatively, you can download the key, connect to the docker you created and create a file called omnisci.license into /var/lib/omnisci/omnisci-storage (or directly on /omnisci-storage into the host if you used the default YAML settings) and restart the docker.

Regards, Candido

企业微信截图_1632383205671

Thank you for your help.I tried but it didnot work.

cdessanti commented 3 years ago

hi @junrenge

I'm sorry but I gave you the wrong direction.

the license fie should be placed under /omnisci-storage/data

to be sure we are working with a valid license, I'm sharing my personal free license at this link removed link

let me know when you have downloaded, so I'll remove the link

junrenge commented 3 years ago

hi @cdessanti I have downloaded your license, you can remove it now. And I put it under /omnisci-storage/data, the container cannot restart, error_log says 'Failed to parse key'. Now I try to start with Open Source edition, it works well.

cdessanti commented 3 years ago

That's worrying because I used without any problems with a 5.7.1 free on a tarball installs lately.

The Os is fine if you plan to use the database only because you are going to miss immerse and backend rendering.

I will try to reproduce the error you are getting.

Candido

Scarica Outlook per Androidhttps://aka.ms/AAb9ysg


From: zszq @.> Sent: Saturday, September 25, 2021 4:36:21 AM To: omnisci/omniscidb @.> Cc: Candido Dessanti @.>; Mention @.> Subject: Re: [omnisci/omniscidb] License error: Failed to parse key (#680)

hi @cdessantihttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcdessanti&data=04%7C01%7C%7C146c4c005cbb4b0bc90f08d97fcd4335%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637681341833088972%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=DGq%2BuPQa4vE8tl0jH6kwbGqFfgUXZ99KBFx00q6%2Bh4Q%3D&reserved=0 I have downloaded your license, you can remove it now. And I put it under /omnisci-storage/data, the container cannot restart, error_log says 'Failed to parse key'. Now I try to start with Open Source edition, it works well.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fomnisci%2Fomniscidb%2Fissues%2F680%23issuecomment-926997834&data=04%7C01%7C%7C146c4c005cbb4b0bc90f08d97fcd4335%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637681341833088972%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=kyLbisJv0gtPUIekRJ%2FILPpJcenHpro8N%2BX8M8Jey30%3D&reserved=0, or unsubscribehttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAHLFBFZ7OLNKEGV3RCMAZ3LUDUYSLANCNFSM5EQSPCSA&data=04%7C01%7C%7C146c4c005cbb4b0bc90f08d97fcd4335%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637681341833098968%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=z0Pl4NDH4cKoRl8nZpo7mhG93VSNHf%2B0JkAs2L6UQtw%3D&reserved=0. Triage notifications on the go with GitHub Mobile for iOShttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04%7C01%7C%7C146c4c005cbb4b0bc90f08d97fcd4335%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637681341833108963%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=v%2Foc7BKikCf3bIFF9m9U%2BKEljPHDg5%2B%2B4BSHSnZ%2F53U%3D&reserved=0 or Androidhttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04%7C01%7C%7C146c4c005cbb4b0bc90f08d97fcd4335%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637681341833108963%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=aXubO8x4u0xh9whZYca1Rtn3RyoYVLwT9JDxAi5AvDc%3D&reserved=0.