wiresock / proxifyre

ProxiFyre: SOCKS5 Proxifier for Windows
https://www.ntkernel.com
GNU Affero General Public License v3.0
298 stars 23 forks source link

Fail to launch #20

Closed AR45H closed 10 months ago

AR45H commented 10 months ago

Running the exe results in a commandline window flashing for a sec and then closing without launching the program. Here's the log. Tried with admin too, no result.

Configuration Result:
[Success] Name ProxiFyreService
[Success] DisplayName ProxiFyre Service
[Success] Description ProxiFyre - SOCKS5 Proxifier Service
[Success] ServiceName ProxiFyreService
Topshelf v4.3.0.0, .NET Framework 4.8.4515.0 (4.0.30319.42000)
Topshelf.Hosts.ConsoleRunHost Error: 0 : An exception occurred, System.IO.FileNotFoundException: Could not find file 'D:\Users\AR45H\Desktop\ProxiFyre-v1.0.18-x64\app-config.json'.
File name: 'D:\Users\AR45H\Desktop\ProxiFyre-v1.0.18-x64\app-config.json'
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
   at System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost)
   at ProxiFyre.ProxiFyreService.Start()
   at Topshelf.ServiceConfiguratorExtensions.<>c__DisplayClass2_0`1.<WhenStarted>b__0(T service, HostControl control)
   at Topshelf.Builders.DelegateServiceBuilder`1.DelegateServiceHandle.Start(HostControl hostControl)
   at Topshelf.Hosts.ConsoleRunHost.Run()
wiresock commented 10 months ago

Regarding the issue you're encountering: ProxiFyre is unable to locate the required configuration file at 'D:\Users\AR45H\Desktop\ProxiFyre-v1.0.18-x64\app-config.json'. It is necessary to create and configure this file before you can successfully run the application.

AR45H commented 10 months ago

Thanks for the reply wiresock, I assumed as much but I did not find any reference to it anywhere either in the github repo page or on your website ntkernel.com Could you kindly point me in the correct direction to a doc/help/setup page or something? Thanks

wiresock commented 10 months ago

Please refer to the Configuration section in the README.md, where you'll find detailed information on the configuration parameters, as well as example of the configuration file.

AR45H commented 10 months ago

I'm so sorry, you're completely right. It appears my github account has been limited in some way. For the past few weeks repos would look empty to me, at first I thought maybe github was changing UI or something, but after logging out I noticed I've been limited because this is what I've been seeing for the past few weeks: image

wiresock commented 10 months ago

I’m glad to hear that the confusion about the GitHub repository has been resolved. Since the original issue regarding the FileNotFoundException for ‘app-config.json’ seems to be addressed with the information provided in the README, I will go ahead and close this issue. However, if you encounter any further problems or have questions about configuring ProxiFyre, please feel free to open a new issue or contact me directly. Thanks for using ProxiFyre, and I hope it serves your needs well!