-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Update prompt not shown on Windows #2729
Comments
I can reproduce the issue on Windows 10 when running from the binary for a previous version, but cannot reproduce when debugging from master (after adjusting VERSION to attempt to trigger the popup). Also, I cannot reproduce the issue when triggering the update mechanism on regtest (using Ctrl+M). |
I won't be surprised if there is some simple string comparison "0.9.x" < "1.0.y" which is working wrong, due to the used library. |
Can confirm on windows 10, also not getting 1.0.0 -> 1.0.1 prompt |
I spotted this in the log, not sure if it is related yet: |
This would explain why the update window is not shown. Somehow the verification of the signature of the update message fails on Windows. |
@oscarguindzberg Can it be that this is related to our bitcoinJ updates in the past where we changed some Windows related code? For signature validation we use classes from the bitcoinJ library and this would explain why it started to occur only recently and only on Windows. |
@devinbileck What are your values for |
@ripcurlx We did a change on bitcoinj to fix "restore from seed fails on windows" bug, but in fact, we changed the code for every platform. I am happy to help if you narrow down this notification problem to a bitcoinj issue. |
Yes it cannot be related the BitcoinJ part. Most likely its that users have the USE_DEV_PRIVILEGE_KEYS prog arg set. But then they cannot trade as well as the arbitrators are not valid. |
While testing on regtest, USE_DEV_PRIVILEGE_KEYS is true and IGNORE_DEV_MSG_KEY is false.
While running from the binary on mainnet, USE_DEV_PRIVILEGE_KEYS is false and still encounter this issue (I explicitly passed I agree that it does not appear to be related to BitcoinJ, as running from source I get the update prompt. It appears to be specific to running from the binary. @ripcurlx has anything changed recently with how you generate the Windows binary? |
Tested with 0.9.4 binary and there is also AlertManager: verifySignature failed |
It is some stupid encoding issue. |
Yep. |
The character I thought was not the reason, still have not found which causes it... |
Correction, the binary uses OracleJDK since OpenJDK does not include the javapackager util. I normally run from source using OpenJDK. However, I just tried running from source with OracleJDK and I did not encounter the issue. So perhaps that is not the cause. |
Ah ok. Hm would be still good to find why the binary behaves differently. Maybe the way how the standard encoding is applied is different. |
They should have made UTF8 standard from day one... A shame that we still suffer from such old issues.... |
Agreed. I will do a little more testing to try to narrow it down. |
Ah Windows speak Chinese when it's not asked for ;-) |
@ManfredKarrer Great that you've found the issue 👍 The update rate of Windows users is already increasing. |
There are multiple reports of Windows 10 users not receiving the prompt to update to v1.0. Whereas Linux and macOS users are receiving the prompt.
The text was updated successfully, but these errors were encountered: