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
Unable to run under Windows 11 Pro #39
Comments
Thanks for the detailed issue! Regarding the "Not signed app"As far as I understand, I would need to buy a certificate in order to be able to sign the application. Since I don't earn any money with the tool I am not planning to buy a certificate in the near future. Regarding the connection issuesAs soon as an error occurs - the program closes. If you start it via command line you see the result in the history, if you start it via the .exe the window will automatically close. I will look into it if that default behaviour can be changed. If you use mysql you need to specify the protocol in the connection string, I have an example in the readme here If you still have issues you could try to use Please let me know if the error still exists |
Connection issuesRegarding checking, if your program works, I'll need a couple of days to perform some tests. But, given the fact that I was missing the protocol part in my connection string, I assume that it will work just as expected. But, I need a couple of days to verify this and close this ticket. The suggested option of installing your tool and using it locally is out of question for me (Windows), since I don't have go environment here. And trying to execute Not signed appRegarding signing-off your application for Windows 11, it all depends on which tool you are using for building final .exe file from your source code. This is the place, where you should address such question. Because answer will be highly (fundamentally) dependent on that tool. But, as far I know, it cost 0 USD and all you need to invest into this process is a couple of hours. This is because this process has nothing to do with payments. And all to do with security. You are signing your application, not to earn money out of it (therefore you don't need no license). But to tell Windows security systems that it is safe for the end user, it comes from a trusted source and by no mean it is a virus, backdoor or otherwise security issue for the end user. Here you have my blog post from 2015 (when Windows Phone was still there) on deploying mobile application to Windows Phone system. Completely different situation, but since I was also supporting many platforms (Android, iOS and Windows Phone) out of single source base and since Windows Phone was Windows in fact (only squashed to fit mobile devices) then chances are that you will find some similarities. Sorry, but this is pretty much all that I can offer you. I have been 8+ years out of coding, so my information is very, very out-dated and probably totally invaluable for you. You need to search the Internet for most recent up-to-date information. |
I am also using Windows 11 Pro.
On a whim, I tried giving the Windows terminal administrator privileges and was able to get Running Environment |
Greets, is there any specific requirement for this piece of software running it under Windows 11 Pro?
First issue: Not signed app
App is not signed and forces user to answer dully error message each time it is run interactively:
Running interactively
When run interactively and the above screen is confirmed (Run anyway) it shows a console. Doing anything (except pressing Enter on empty line):
mysql://runs:sTo0qw]HcvWraIPeTs9@localhost:3306/test-rest-api
wqdaetgsdhaeheghwehgaeheh
lazy fox jumped over crazy dog
quits the app / closes the window.
Only Hitting Enter on empty line does not closes the app and produces following error:
Running in command line
Running from Windows Terminal (command line) and typing as above works exactly the same, but before quitting apps shows the following error:
So something went wrong, but what? Can't it display any readable output or error?
Running from command line
Following your guide and trying this:
Produces pretty much the same effect:
Running with configuration file
Again following your guide using c.yaml configuration file:
And running it:
Finally produces some readable error:
(I still can't understand why previous methods can't display the same error?)
The problem is that this error seems... wrong. Because both
localhost
is reachable:And mysqld is running under port 3306:
Conclusion
Can you provide more information on what am I doing wrong or how to use your software under Windows 11? Thank you!
The text was updated successfully, but these errors were encountered: