fruho / fruhoapp

Fruho VPN Manager - Universal VPN Client |
https://fruho.com
GNU General Public License v2.0
34 stars 4 forks source link

extract-cn-from csr: /home/user/.fruho/profile/fruho/ovpnconf/default/client.csr does not exist #10

Closed Betree closed 7 years ago

Betree commented 7 years ago

After a fresh installation using 0.0.23 on Fedora 25 x64 Fruho crashes upon launch with the following message :

ERROR Could not retrieve client id. Try to reinstall the program.

Please check /home/user/.fruho/fruho.log for details

fruho.log contains the following messages :

2017-01-03 06:40:44 ERROR: extract-cn-from csr: /home/user/.fruho/profile/fruho/ovpnconf/default/client.csr does not exist
2017-01-03 06:40:44 ERROR: extract-cn-from csr: /home/user/.fruho/profile/fruho/ovpnconf/default/client.csr does not exist -code 1 -level 0 -errorstack {INNER {returnImm {ERROR: extract-cn-from csr: /home/user/.fruho/profile/fruho/ovpnconf/default/client.csr does not exist} {}} CALL {extract-cn-from csr /home/user/.fruho/profile/fruho/ovpnconf/default/client.csr} CALL memoize CALL memoize CALL {extract-cn-from csr /home/user/.fruho/profile/fruho/ovpnconf/default/client.csr} CALL main} -errorcode NONE -errorinfo {ERROR: extract-cn-from csr: /home/user/.fruho/profile/fruho/ovpnconf/default/client.csr does not exist
    while executing
"error [log "ERROR: extract-cn-from $filetype: $crtpath does not exist"]"
    (procedure "extract-cn-from" line 4)
    invoked from within
"extract-cn-from csr /home/user/.fruho/profile/fruho/ovpnconf/default/client.csr"
    ("eval" body line 1)
    invoked from within
"eval $cmd"
    (procedure "memoize" line 4)
    invoked from within
"memoize"
    (procedure "extract-cn-from" line 2)
    invoked from within
"extract-cn-from csr [ovpndir fruho client.csr]"} -errorline 90
2017-01-03 06:40:44 Could not retrieve client id. Try to reinstall the program.
2017-01-03 06:40:44 Could not retrieve client id. Try to reinstall the program.
fruho commented 7 years ago

It could have been a temporary network problem with retrieving the certificate from the web service. rm -r ~/.fruho ; wget https://github.com/fruho/fruhoapp/releases/download/fruho-0.0.23/fruho_0.0.23_amd64.deb ; sudo dpkg -i fruho_0.0.23_amd64.deb from command line should help

Betree commented 7 years ago

Reinstalling worked, thanks!

Nemesis-h commented 7 years ago

Hi I run on Kali last version 64 bits, i have the same problem, i do what you propose but it doesn't work, i still have this message :

ERROR
Could not retrieve client id. Try to reinstall the program.
Please check /home/user/.fruho/fruho.log for details

Log Fruho :

2017-05-13 17:06:12 extract-cn-from csr /root/.fruho/profile/fruho/ovpnconf/default/client.csr 2017-05-13 17:06:12 Could not extract cn from subject subject=C = AA, ST = Universe, L = Internet, O = Fruho, CN = 00241174f87eb297 2017-05-13 17:06:12 Could not extract cn from subject subject=C = AA, ST = Universe, L = Internet, O = Fruho, CN = 00241174f87eb297 -code 1 -level 0 -errorstack {INNER {returnImm {Could not extract cn from subject subject=C = AA, ST = Universe, L = Internet, O = Fruho, CN = 00241174f87eb297} {}} CALL {extract-cn-from csr /root/.fruho/profile/fruho/ovpnconf/default/client.csr} CALL memoize CALL memoize CALL {extract-cn-from csr /root/.fruho/profile/fruho/ovpnconf/default/client.csr} CALL main} -errorcode NONE -errorinfo {Could not extract cn from subject subject=C = AA, ST = Universe, L = Internet, O = Fruho, CN = 00241174f87eb297 while executing "error [log Could not extract cn from subject $subject]" (procedure "extract-cn-from" line 21) invoked from within "extract-cn-from csr /root/.fruho/profile/fruho/ovpnconf/default/client.csr" ("eval" body line 1) invoked from within "eval $cmd" (procedure "memoize" line 4) invoked from within "memoize" (procedure "extract-cn-from" line 2) invoked from within "extract-cn-from csr [ovpndir fruho client.csr]"} -errorline 90 2017-05-13 17:06:12 Could not retrieve client id. Try to reinstall the program. 2017-05-13 17:06:12 Could not retrieve client id. Try to reinstall the program.

I paid on security a Olivine plan.

I need Fruho working, can you help me please regards Franck

fakhour commented 7 years ago

ERROR Could not retrieve client id. Try to reinstall the program. Please check /home/user/.fruho/fruho.log for details

Betree commented 7 years ago

If I remember correctly, the missing file .fruho/profile/fruho/ovpnconf/default/client.csr is supposed to be generated during installation. If it's not, you're probably missing openvpn package or something like that.