-
Notifications
You must be signed in to change notification settings - Fork 125
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
Error 0xC004F074 despite successful connection to server #117
Comments
have you tried grabbing the py-kms client and test your server's reply? |
Please perform the initial debugging yourself and show us your methods and results. We need to be able to replicate your problem, if we can't replicate it, then we can't help you fix your problem. Show us the full docker configuration you came up with, your logs that you've gathered during debugging, network layout, is anything inside a vm, is the docker engine inside WSL, etc. |
Please tell me more, like what? Which logs should I share and where do I get them? This is how the docker container is being started in a DietPi VM running in proxmox on a separate machine.
The IP and port are reacheable from the client machine:
|
You used two parameters simultaneously to use local time. Using the - e parameter Alternatively, use the - v parameter It is recommended to prioritize using the - e parameter command. |
If the above suggestions still cannot solve your problem, please post the Docker log. docker logs py-kms If there is no output, it indicates that the py-kms container has not started. docker run -d --name py-kms --restart always -p 1688:1688 -e TZ=Europe/Amsterdam ghcr.io/py-kms-organization/py-kms |
Yes, I added the -e parameter as the -v parameter wasn't working (as in setting the time)
I don't see anything on the py-kms logs when I call
And of course, I can also see corresponding logs in the py-kms docker KMS server instance for this activation request.
|
It should still be building some stuff you can wait for it to say it's I just made another server, this time on an Ubuntu Server 22.04 LTS within Hyper-V with external network access. I have no idea why you can't activate your windows device when you can ping it. A read on the official troubleshooting might help? Since you're already on proxmox, why not try an ubuntu server or debian instead of dietpi? |
Yeah, already went through it. Nothing on event logs, even the call to the kms server isn't being made, it seems like. I think I need to dig deeper with wireshark etc. |
I can confirm the issue affects certain Python versions running on 64bit Windows 11 (not sure about other environments): Doesn't work: 3.12.1, 3.12.5 I guess something broke with Python 3.12? Edit: For an easy workaround, download the Python embeddable package, remove the underscore in |
I'll try to re-read the documentation and see what differs |
Confirmed also not working in Python 3.12.6 on Server 2022. But reverting to Python 3.11.9 works fine. |
Where should I change the Python version? I'm running everything in docker. |
There's this list, I've been using |
Also can confirm. Running py-kms with python 3.12 results in everything looking good in py-kms logs in terms of connections (except for the status being listed as Switching to python 3.11 makes it work again. EDIT: Noticed the issue with Windows 11 and Office 2021 and 2024 |
I confirm under linux py-kms fail with pyhon 3.12. By trying the 'next' branch, I success to activate Win11. I used Linux Mint with python 3.12.3. So seem to be solved on next release. |
same here. was getting 0xC004F074 when running Python 3.12.8 and 297d6bb . activation was successful after pull and checkout 465f4d1 (tip of |
I'm hosting py-kms in docker on diet pi. There are no network issues, IP and port are reachable. container also has the same timezone as the machine being activated.
Reopening this issue
Originally posted by @dstagger in #105 (comment)
The text was updated successfully, but these errors were encountered: