[SOLVED] Seems makemkv don't see the KEYDB.cfg file

The place to discuss linux version of MakeMKV
Post Reply
mirto
Posts: 6
Joined: Mon Mar 27, 2023 9:47 am

[SOLVED] Seems makemkv don't see the KEYDB.cfg file

Post by mirto »

Hi all,
I have Debian testing with makemkv 1.17.3 installed using the instructions at
viewtopic.php?f=3&t=224

I have the KEYDB.cfg file installed at ~/.config/aacs/

When I try to open a BD iso image it fails saying

Code: Select all

MakeMKV v1.17.3 linux(x64-release) inizializzato
Il programma non ha trovato alcun lettore ottico.
Uso modalità di accesso diretto
Tabella del contenuto hash caricata. Sarà verificata l'integrità dei files M2TS.
Il file di scaricamento memoria AACS è stato salvato come /home/XXXXXXX/.MakeMKV/MKB_v43_Now_You_See_Me_E1A0.tgz
La chiave del volume di questo disco è sconosciuta. Il video non può essere decriptato.
Impossibile aprire il disco
If I open the same iso image with VLC it works perfectly.

Seems that makemkv cannot reach the KEYDB.cfg file.

What can I do?
Last edited by mirto on Sat Apr 08, 2023 4:01 pm, edited 1 time in total.
Woodstock
Posts: 10327
Joined: Sun Jul 24, 2011 11:21 pm

Re: Seems makemkv don't see the KEYDB.cfg file

Post by Woodstock »

Submit the file MKB_v43_Now_You_See_Me_E1A0.tgz to svc@makemkv.com for analysis. And make sure your copy of the program can access internet to pick up updates.

keydb.cfg isn't mentioned in the MakeMKV online documentation, going back to version 1.01. I cannot see any documentation saying it is used. I remember trying it a few times, but it did not seem to do anything.
mirto
Posts: 6
Joined: Mon Mar 27, 2023 9:47 am

Re: Seems makemkv don't see the KEYDB.cfg file

Post by mirto »

Ok here is the file.
I added another file of another BD disk that had the same error.

How can I test if makemkv can reach Internet?
Attachments
MKB_v62_Resident_Evil-_The_Final_Chapter_2602.tgz
(153.58 KiB) Downloaded 281 times
MKB_v43_Now_You_See_Me_E1A0.tgz
(128.09 KiB) Downloaded 288 times
Woodstock
Posts: 10327
Joined: Sun Jul 24, 2011 11:21 pm

Re: Seems makemkv don't see the KEYDB.cfg file

Post by Woodstock »

The log will tell whether or not MakeMKV can reach the internet. If your logging settings are set high enough, that is. The default is rather low, in my opinion, but it is easily switched.

In program settings, General, "Enable Internet access" checked sets that up. It's been checked so long on my copies that I can't remember if it is automatic or not. :)
mirto
Posts: 6
Joined: Mon Mar 27, 2023 9:47 am

Re: Seems makemkv don't see the KEYDB.cfg file

Post by mirto »

Well, it seems that internet access is already enabled.

Have i to select the debug log option and try again to give more information?
Attachments
makemkv_settings.png
makemkv_settings.png (152.25 KiB) Viewed 15549 times
Woodstock
Posts: 10327
Joined: Sun Jul 24, 2011 11:21 pm

Re: Seems makemkv don't see the KEYDB.cfg file

Post by Woodstock »

Yes, add a check mark for debug information being recorded. Your log window will show more stuff, and the log FILE for the application will grow even more.

You should be able to tell from the log file if it is able to download the disc decryption data, or if it had an error doing so.
mirto
Posts: 6
Joined: Mon Mar 27, 2023 9:47 am

Re: Seems makemkv don't see the KEYDB.cfg file

Post by mirto »

Here are the log window and the generated file.

But I don't see anything I can understand.

What can I try?
Attachments
MKB_v43_Now_You_See_Me_E1A0.tgz
(128.18 KiB) Downloaded 253 times
makemkv_debug.png
makemkv_debug.png (214.56 KiB) Viewed 15542 times
dcoke22
Posts: 3092
Joined: Wed Jul 22, 2020 11:25 pm

Re: Seems makemkv don't see the KEYDB.cfg file

Post by dcoke22 »

I can't read Italian, but my phone can do a reasonable job of translating.
IMG_7591.jpg
In the Fixing Volume Key is Unknown post, it says you would see 'Automatic HK downloading is disabled or failed.' if there was a problem. I do not see that message in your log so it would seem that things are working but no key exists for disc.

As Woodstock suggested, please email that file to svq@makemkv.com
mirto
Posts: 6
Joined: Mon Mar 27, 2023 9:47 am

Re: Seems makemkv don't see the KEYDB.cfg file

Post by mirto »

Well, seems a dns problem.
From Italy I wasn't able to obtain the hkdata.fairuse.org ip address using Google or Cloudflare

Code: Select all

mirto@bianco500:~$ nslookup hkdata.fairuse.org 8.8.8.8
Server:         8.8.8.8
Address:        8.8.8.8#53

** server can't find hkdata.fairuse.org: NXDOMAIN

mirto@bianco500:~$ nslookup hkdata.fairuse.org 8.8.4.4
Server:         8.8.4.4
Address:        8.8.4.4#53

** server can't find hkdata.fairuse.org: NXDOMAIN

mirto@bianco500:~$ nslookup hkdata.fairuse.org 1.1.1.1
Server:         1.1.1.1
Address:        1.1.1.1#53

** server can't find hkdata.fairuse.org: NXDOMAIN

But the post you cited says:
hkdata.fairuse.org is no longer used!
BTW adding the address to the /etc/hosts file not work: the address is unreachable

Code: Select all

mirto@debiantesting:~$ tracepath hkdata.fairuse.org
 1?: [LOCALHOST]                      pmtu 1500
 1:  _gateway                                              0.152ms 
 1:  _gateway                                              0.102ms 
 2:  192.168.68.1                                          1.244ms 
 3:  myfastgate.nexxt                                      3.536ms 
 4:  10.1.131.180                                         16.816ms 
 5:  10.1.133.161                                         11.355ms 
 6:  10.1.133.150                                         15.623ms 
 7:  10.1.133.158                                         13.391ms 
 8:  10.1.155.17                                          11.343ms 
 9:  10.254.20.9                                          13.596ms asymm 11 
10:  93-57-68-102.ip163.fastwebnet.it                     12.538ms 
11:  93-57-68-141.ip163.fastwebnet.it                     13.458ms asymm 10 
12:  hurricaneelectric.rom.namex.it                       20.702ms asymm 11 
13:  no reply
14:  100ge0-30.core2.cph1.he.net                          39.764ms asymm 11 
15:  100ge0-76.core3.sto1.he.net                         107.029ms asymm 12 
16:  inetcom-as35598.e0-51.switch1.sto2.he.net            81.871ms asymm 14 
17:  100.105.100.134                                      66.409ms asymm 12 
18:  no reply
19:  193.233.16.35                                        69.034ms asymm 14 
20:  193.233.16.35                                        71.814ms pmtu 1476
20:  193.233.16.35                                        68.949ms asymm 14 
21:  no reply
22:  no reply
23:  no reply
24:  no reply
25:  no reply
26:  no reply
27:  no reply
28:  no reply
29:  no reply
30:  no reply
     Too many hops: pmtu 1476
     Resume: pmtu 1476 
mirto@debiantesting:~$ cat /etc/hosts
127.0.0.1       localhost
127.0.1.1       debiantesting.net       debiantesting

# The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters

91.224.23.225 hkdata.fairuse.org

mirto@debiantesting:~$ 

How can I obtain a usable IP?

If the file at http://fvonline-db.bplaced.net/ is compatible with makemkv, where I can put this file to override the download problem?

P.S. sorry for the Italian language
The window log was

Code: Select all

MakeMKV v1.17.3 linux(x64-release) started
Debug logging enabled, log will be saved as /home/mirto/MakeMKV_log.txt
The program can't find any usable optical drives.
DEBUG: Code 16842752 at '5BE>tA"Gf|~89y(o3:121264027
Using direct disc access mode
Loaded content hash table, will verify integrity of M2TS files.
Saved AACS dump file as /home/mirto/.MakeMKV/MKB_v43_Now_You_See_Me_E1A0.tgz
The volume key is unknown for this disc - video can't be decrypted
DEBUG: Code 0 at m8o?n>P"p@YJs!ps:121264372
DEBUG: Code 0 at m8o?n>P"p@YJs!ps:213131341
Failed to open disc
dcoke22
Posts: 3092
Joined: Wed Jul 22, 2020 11:25 pm

Re: Seems makemkv don't see the KEYDB.cfg file

Post by dcoke22 »

Recently, others have mentioned needing to use a VPN with an exit point in Asia.

DNS Issues in the US for hkdata.fairuse.org

That post does mention getting the 'Automatic HK downloading is disabled or failed' message, which I don't think you're getting.

Personally, I haven't needed to decrypt a UHD in a while, so I haven't run into this problem.
mirto
Posts: 6
Joined: Mon Mar 27, 2023 9:47 am

Re: Seems makemkv don't see the KEYDB.cfg file

Post by mirto »

[SOLVED]

I've found where to put the KEYDB.cfg file: it is where makemkv writes the log

After issuing these commands

Code: Select all

cd ~/.config/aacs
cp KEYDB.cfg ~/.MakeMKV/
and restartting makemkv I was able to open the BD

Code: Select all

MakeMKV v1.17.3 linux(x64-release) started
Debug logging enabled, log will be saved as /home/mirto/MakeMKV_log.txt
The program can't find any usable optical drives.
Using direct disc access mode
Loaded content hash table, will verify integrity of M2TS files.
File 00001.mpls was added as title #0
File 00019.mpls was added as title #1
Title #00015.mpls(1) has length of 23 seconds which is less than minimum title length of 120 seconds and was therefore skipped
Title #00019.m2ts has length of 10 seconds which is less than minimum title length of 120 seconds and was therefore skipped
Title #00020.m2ts has length of 52 seconds which is less than minimum title length of 120 seconds and was therefore skipped
File 00017.m2ts was added as title #2
Title #00013.m2ts has length of 95 seconds which is less than minimum title length of 120 seconds and was therefore skipped
File 00012.m2ts was added as title #3
File 00011.m2ts was added as title #4
Title #00010.m2ts has length of 45 seconds which is less than minimum title length of 120 seconds and was therefore skipped
File 00009.m2ts was added as title #5
Title #00008.m2ts has length of 40 seconds which is less than minimum title length of 120 seconds and was therefore skipped
Title #00007.m2ts has length of 94 seconds which is less than minimum title length of 120 seconds and was therefore skipped
Title #00006.m2ts has length of 49 seconds which is less than minimum title length of 120 seconds and was therefore skipped
File 00005.m2ts was added as title #6
Title #00004.m2ts has length of 49 seconds which is less than minimum title length of 120 seconds and was therefore skipped
File 00003.m2ts was added as title #7
File 00002.m2ts was added as title #8
File 00001.m2ts was added as title #9
File 00000.m2ts was added as title #10
Title #00031.m2ts has length of 0 seconds which is less than minimum title length of 120 seconds and was therefore skipped
Title #00016.m2ts has length of 10 seconds which is less than minimum title length of 120 seconds and was therefore skipped
Title #00015.m2ts has length of 13 seconds which is less than minimum title length of 120 seconds and was therefore skipped
Title #00014.m2ts has length of 25 seconds which is less than minimum title length of 120 seconds and was therefore skipped
Operation successfully completed
NoHacksJustParker
Posts: 6
Joined: Mon Mar 04, 2024 12:58 am

Re: [SOLVED] Seems makemkv don't see the KEYDB.cfg file

Post by NoHacksJustParker »

if possible could someone explain how to do this but on windows because I'm having some issues with getting makemkv recognizing it as well
hulahoo
Posts: 1
Joined: Thu Mar 14, 2024 6:17 pm

Re: [SOLVED] Seems makemkv don't see the KEYDB.cfg file

Post by hulahoo »

On MacOS, copy KEYDB.cfg (case-sensitive) to ~/Library/MakeMKV and restart MakeMKV.
Post Reply