Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Version isn't working for me #211

Closed
ghost opened this issue Feb 9, 2018 · 30 comments
Closed

New Version isn't working for me #211

ghost opened this issue Feb 9, 2018 · 30 comments

Comments

@ghost
Copy link

ghost commented Feb 9, 2018

I have a laptop with windows 10 x64 with the latest update ,the language is Chinese ,the 0.4.3 works great on this .but the new version of 0.4.5 isn't working ,strangely.
I tried to install the .net framework 4.6.1,but it says I already installed a newer version.
when I click the simple dnscrypt icon,there is only SimpleDnsCrypt.exe running ,dnscrypt-proxy.exe doesnot start. and that is all.
I wonder what the problem is,I know nothing about code ,so I guess is impossible for me to deal with this.
Is there any way to give you more detail ,like the some log file , or is there something I did wrong ?
Thanks.

I just uninstalled some vpn software , mannually installed dnscrypt-proxy service ,but still not working

@rebornishard
Copy link

New version not working for me
win 10 x64

@pratinhos
Copy link
Contributor

@Zalica @rebornishard
It's probably related to what is being discussed in issue #202.

Try the following in a command line with administrator rights:
cd "C:\Program Files\bitbeans\Simple DNSCrypt x64\dnscrypt-proxy"
.\dnscrypt-proxy.exe -service install

@ghost
Copy link
Author

ghost commented Feb 9, 2018

@medack
tried that. it did not work

@pratinhos
Copy link
Contributor

pratinhos commented Feb 9, 2018

@Zalica What was the output of the command?

@ghost
Copy link
Author

ghost commented Feb 9, 2018

@medack
No. Just Nothing happened.

And my office computer had the same problem .it is a WIndows 10 Pro X64

@ghost
Copy link
Author

ghost commented Feb 9, 2018

@medack


PS C:\WINDOWS\system32> cd "C:\Program Files\bitbeans\Simple DNSCrypt x64\dnscrypt-proxy"
>> .\dnscrypt-proxy.exe -service install
[2018-02-09 19:55:43] [NOTICE] Source [https://download.dnscrypt.info/resolvers-list/v2/public-resolvers.md] loaded
[2018-02-09 19:55:43] [NOTICE] dnscrypt-proxy 2.0.0
[2018-02-09 19:55:43] [NOTICE] Installed as a service. Use `-service start` to start
PS C:\Program Files\bitbeans\Simple DNSCrypt x64\dnscrypt-proxy>

the service is normally installed , but when I run the program I got the same problem.

@pratinhos
Copy link
Contributor

@Zalica So the service is well installed. Can you start it? Try the following:

.\dnscrypt-proxy.exe -service start

What is the output?

@ghost
Copy link
Author

ghost commented Feb 9, 2018

@medack

with a normal console I got

PS C:\Users\Zalica> cd "C:\Program Files\bitbeans\Simple DNSCrypt x64\dnscrypt-proxy"
PS C:\Program Files\bitbeans\Simple DNSCrypt x64\dnscrypt-proxy> .\dnscrypt-proxy.exe -service start
[2018-02-09 20:00:40] [NOTICE] Source [https://download.dnscrypt.info/resolvers-list/v2/public-resolvers.md] loaded
[2018-02-09 20:00:40] [NOTICE] dnscrypt-proxy 2.0.0
[2018-02-09 20:00:40] [FATAL] Failed to start DNSCrypt client proxy: Access is denied.
PS C:\Program Files\bitbeans\Simple DNSCrypt x64\dnscrypt-proxy>

And run in console as a administrator i got


PS C:\WINDOWS\system32>  cd "C:\Program Files\bitbeans\Simple DNSCrypt x64\dnscrypt-proxy"
PS C:\Program Files\bitbeans\Simple DNSCrypt x64\dnscrypt-proxy>  .\dnscrypt-proxy.exe -service start
[2018-02-09 20:02:22] [NOTICE] Source [https://download.dnscrypt.info/resolvers-list/v2/public-resolvers.md] loaded
[2018-02-09 20:02:22] [NOTICE] dnscrypt-proxy 2.0.0
[2018-02-09 20:02:22] [NOTICE] Service started
PS C:\Program Files\bitbeans\Simple DNSCrypt x64\dnscrypt-proxy>

I forgot to mention:
when run th command to install the service , I had to use console as an admin . If not ,the output will show access denied

I think it may be something about that.

@ghost
Copy link
Author

ghost commented Feb 9, 2018

@medack
And one more thing , in the task manager it shows that the SimpleDnsCrypt.exe is run by current user ,but the dnscrypt-proxy is run by SYSTEM
I guess it may have something with the problem

@pratinhos
Copy link
Contributor

@Zalica Everything you report appears to be perfectly normal.

In the beggining you said you did not have dnscrypt-proxy.exe running, but now the task manager shows that it is in fact running. Are you still having problems? If so, can you be more specific to what is the issue now or to what you are unable to do?

@icbxg
Copy link

icbxg commented Feb 10, 2018

Yes I got the same problem, the GUI doesn't show up in Chinese language windows10 x64

@bitbeans
Copy link
Owner

@icbxg Chinese is not yet translated: https://poeditor.com/join/project/3frSzJtSqc (feel free to contribute, if you can) :)

@ghost
Copy link
Author

ghost commented Feb 10, 2018

@medack
For me it looks like dnscrypt-proxy works fine in every way ,buy simplednsproxy.exe just can't get the dnscrypt-proxy service to install or to start running.
And the GUI does'nt show up。

@ghost
Copy link
Author

ghost commented Feb 10, 2018

I have done some translation,but it surely needs polishing. Hope somebody could continue the work

@d3bil0x
Copy link

d3bil0x commented Feb 11, 2018

Two such problems here too:
The dnscrypt-proxy.exe isn't installed automatically.
Solved with run the dnscrypt-proxy.exe -service install and next dnscrypt-proxy.exe -service start as admin.
But still the GUI does not start, although SimpleDnsCrypt.exe is in the process manager as active.
Solved by change of setting Control Panel->Clock, Language, and Region->Format to English (United States) before first run. Then can go back to the preferred previous Format setting, the application will run properly each time.
Tested on Windows 7 SP1 x64.

@bitbeans
Copy link
Owner

bitbeans commented Feb 11, 2018

@d3bil0x whats`s your default language?

was simplednscrypt 0.4.3 installed before?

@d3bil0x
Copy link

d3bil0x commented Feb 11, 2018

@bitbeans The Display Language: English
Keyboard: Polish (programmers)
Language for non-Unicode programs: Polish
Current Location: Poland
Format: Polish

Yes, 0.4.3 was installed but before update to 0.4.5 I first uninstalled it from Program & Features and I manually removed the remaining files.

@bitbeans
Copy link
Owner

I am testing on a fresh Windows 10 x64 VM (en).

  1. installing SimpleDnsCrypt 4.3.0 (x64)
  2. Configuring Proxy 1 and Proxy 2
  3. restart the VM
  4. start SimpleDnsCrypt
  5. allow AutoUpdate
  6. let SimpleDnsCrypt 0.4.5 install automatically
  7. everything works and the old services are removed

Note: always Run as Administrator

@bitbeans
Copy link
Owner

bitbeans commented Feb 11, 2018

@d3bil0x #214

@ghost
Copy link
Author

ghost commented Feb 11, 2018

With the new 0.4,6 version ,I finally see the GUI,but for only once.
after I quit the program ,and click the icon again , the old problem cames back.
I reboot, doesn't work
,reinstall the promgram , and it doesn't work either.

I notice there are some logs

2018-02-11 20_04_42_Warn:

2018-02-11 20:04:43.1998 LoaderViewModel Translation for zh-CN is not available

2018-02-11 20_04_42_Error:

2018-02-11 20:05:35.2735 DnsCryptProxyManager System.InvalidOperationException: 无法打开计算机“.”上的 dnscrypt-proxy 服务(can't open the dnscrypt-proxy  service on computer “.”)。 ---> System.ComponentModel.Win32Exception: 指定的服务未安装。(service not installed)

   --- 内部异常堆栈跟踪的结尾 (this part is too hard for me to translate)---
   在 System.ServiceProcess.ServiceController.GetServiceHandle(Int32 desiredAccess)
   在 System.ServiceProcess.ServiceController.GenerateStatus()
   在 System.ServiceProcess.ServiceController.get_Status()
   在 SimpleDnsCrypt.Helper.DnsCryptProxyManager.IsDnsCryptProxyRunning()

@bitbeans
Copy link
Owner

bitbeans commented Feb 11, 2018

@Zalica please try: outdated

@ghost
Copy link
Author

ghost commented Feb 11, 2018

@bitbeans
just tried ,and no luck.
first time 0.4.7 installed .it started normally.And visual c++ 2017 is installed
I quited and start again, stuck. there is a 2018-02-11 20_46_18_Warn log file shows
2018-02-11 20:46:18.4629 LoaderViewModel Translation for zh is not available

the error log didn't appear.

uninstalled ,reboot and reinstall 0.4.7,the I'm back to the very beginning ,the service did'nt install at all ,the GUI didn't show up.
reinstalled 0.4.6 ,GUI didn't show up either.

one detail:
before I reboot ,I tried the unsigned portable build 0.4.7. If I use the English Interface ,the program started normally for multiple times.When I swtich the language to Chinese,It just stuck.
And the unsigned build can't install the service.

My guess is this: something is wrong about the eastern asian language translation,and the program save the language setting somewhere hard to find.If the language is set , It just stay there,so next time I install ,the GUI doesn't show.
If that is the case (since I don't know coding,it is very possible my guess is wrong), I sugguest to add a command to reset the language setting while installing.And for me, I don't mind using the English interface.

@bitbeans
Copy link
Owner

@Zalica settings are stores here:
C:\Users\<user>\AppData\Local\SimpleDnsCrypt\<xxx>\<version>

@ghost
Copy link
Author

ghost commented Feb 11, 2018

@bitbeans
Thank you. I deleted the settings ,reinstalled 0.4.6 and use the English Interface and everything works fine.

@bitbeans
Copy link
Owner

@Zalica i have tested your scenario, there is a problem indeed :)

@ghost
Copy link
Author

ghost commented Feb 11, 2018

@bitbeans
glad to help.
after the test,something new problem happend.
the warn log says:

2018-02-11 21:49:51.9618 DnsCryptProxyManager [2018-02-11 21:49:51] [NOTICE] Source [https://download.dnscrypt.info/resolvers-list/v2/public-resolvers.md] loaded
[2018-02-11 21:49:51] [NOTICE] dnscrypt-proxy 2.0.0
[2018-02-11 21:49:51] [FATAL] Failed to install DNSCrypt client proxy: InstallAsEventCreate() failed: SYSTEM\CurrentControlSet\Services\EventLog\Application\dnscrypt-proxy registry key already exists

may be it's better to do some more cleaning after uninstallation.This can be done by hand ,but I guess It's a little tricky for some people.

@bitbeans
Copy link
Owner

@Zalica i don`t know why this key is even there ... but i can try to delete it ... so keep it simple :)

@bitbeans
Copy link
Owner

@Zalica can you please test the latest version? 0.4.7 thank you

@ghost
Copy link
Author

ghost commented Feb 11, 2018

@bitbeans
Just tested . Works fine for me .
By the way,can you update the Chinese translation in the next update? I made some improvement on POEditor.
Thank you.

@bitbeans
Copy link
Owner

@Zalica i will, thank you for testing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants