Kaju self-updater talk (v.2.x)

  1. ‹ Older
  2. 2 years ago

    Simon B

    6 Sep 2017 Europe (Wiltshire, UK)

    Since installing Xojo 2017r2 I am getting a advice notice each time I load a project with Kaju being used.

    The advice is:
    KajuUpdateWindow.hsSocket - This SSL socket has a default connection type which is no longer available and should be updated.

    The default connection type is 2 which seems to be "SSL Version 3". What should be the new default value?

    I do not wish to update my app on my server until I can establish if the new compiled version works correctly. I know that I can test it myself but I don't want my users to access the 'new' app until I am sure that it works correctly.

    Thanks in advance.

    Simon.

  3. shao s

    6 Sep 2017 Pre-Release Testers Sudbury, Ontario, Canada

    The change to the SSL Socket was documented in the change history.. Basically all the old SSL stuff is deprecated and you should be using the TLS stuff.. Use the constants and not the integer values (as recommended by Norman)..

  4. Kem T

    6 Sep 2017 Pre-Release Testers, Xojo Pro, XDC Speakers, MVP Connecticut

    I will update the project eventually, but it still works just fine.

  5. Simon B

    7 Sep 2017 Europe (Wiltshire, UK)

    @shao s The change to the SSL Socket was documented in the change history.. Basically all the old SSL stuff is deprecated and you should be using the TLS stuff.. Use the constants and not the integer values (as recommended by Norman)..

    I must be stupid! I cannot find this documentation, where is it?

    Simon.

  6. Alberto D

    7 Sep 2017 Pre-Release Testers, Xojo Pro

    http://docs.xojo.com/index.php/SSLSocket

  7. Simon B

    7 Sep 2017 Europe (Wiltshire, UK)

    Sorry guys, but I just cannot get it to work anymore. The Kaju updater just displays a message box saying that an error occurred, Try Again or Later.

    I think it may be due to the recent changes in Dropbox. I used to just right-click on the .zip file and copy the Dropbox link, which I then pasted into the Admin App supplied. I have also right-clicked on the UpdateInformation.html file and copied the Dropbox link to my App url field.

    I cannot seem to get the UpdateInformation text.

    Simon.

  8. scott b

    7 Sep 2017 Pre-Release Testers, Xojo Pro local coffee shop

    Dropbox has changed its APIs and how things interact with it. I am not saying that it is the issue but in the last 30 days, I have run into more issues when things are hosted off of Dropbox.

  9. Simon B

    7 Sep 2017 Europe (Wiltshire, UK)

    Ok, I have now solved the issue.

    There were two issues, one in Kaju and one in Dropbox.

    The Kaju issue was the way in which the code set the connection type. I have now fixed that. The Dropbox issue was that whatever link I used it just failed in the App. I fixed that by uploading the software and UpdateInformation.html files to my website and placed the correct URLs in the files.

    Simon.

  10. Kem T

    23 Sep 2017 Pre-Release Testers, Xojo Pro, XDC Speakers, MVP Connecticut

    I just updated the develop branch of the project to set the KajuUpdateWindow.hsSocket.ConnectionType to SSLv23. Before I merge that into the general project, I'd like to know if anyone has an issue with that setting. If so, I might have to expose it so it can be set before checking for updates.

  11. Carsten K

    25 Sep 2017 Pre-Release Testers, Xojo Pro Europe (Frankfurt am Main, Ger...

    Hi, I'm new with Kaju so I have download it and start the test app. After click on "check" I got an Xojo.Core.IndividualArgumentException. Message is: SSLv3 is no longer supported. What's wrong. Have I forget to configure something? Thanks for your help.

  12. Markus W

    25 Sep 2017 #JeSuisHuman New Zealand, Auc...

    Carsten, lies doch mal die Posts ÜBER deinem Post …

  13. Aurelian N

    26 Sep 2017 Pre-Release Testers, Xojo Pro

    Hello Kem,

    I just opened an old project, updated the Kaju classes and all the details in the code, build the new admin app, generated the file , updated the server and on update i get

    The RSA signature of the update packet cannot be verified.

    Any idea why ?

    I copied all properly like i used to do until now but i get this now.

    Build OS MacOS Sierra 10.12.6

    Target platforms Windows and MAC, both versions give same error .

    Thanks

  14. Kem T

    27 Sep 2017 Pre-Release Testers, Xojo Pro, XDC Speakers, MVP Connecticut

    Do you mean you created a new admin file, or used the existing one to generate a new update file? Are you sure the public key in your app matches the one from the admin file?

  15. Aurelian N

    27 Sep 2017 Pre-Release Testers, Xojo Pro

    @Kem T Do you mean you created a new admin file, or used the existing one to generate a new update file? Are you sure the public key in your app matches the one from the admin file?

    Hi Kem,

    I guess it`s ok now, just pulled the latest updates from git , replaced the files and it worked so i guess some fixes from your side

    Thanks.

  16. Aurelian N

    27 Sep 2017 Pre-Release Testers, Xojo Pro

    @Kem T Do you mean you created a new admin file, or used the existing one to generate a new update file? Are you sure the public key in your app matches the one from the admin file?

    Well now based on the last update it seems that something happens with the folder , the folder color turns Green, and when i generate the shortcut it does not show the logo anymore , even if i create the shortcut manually it will still not show the icon properly . Is there anything that can be done ?

    Thanks

  17. Kem T

    27 Sep 2017 Pre-Release Testers, Xojo Pro, XDC Speakers, MVP Connecticut

    That doesn't sound like a Kaju issue, but I could be wrong. In any event, no, I don't have a suggestion.

  18. Jon O

    27 Sep 2017 Pre-Release Testers, Xojo Pro Chicago Area USA

    Hey guys,

    Kem told me to put all issues in here, so here goes.

    I've had this reported to me and just saw it myself that Kaju is running and getting the notification of the update just fine. It then seems to download it but then after the option to Quit and Install, it does nothing. I'm not sure what I am doing wrong, but it appears that the update never gets applied. I've seen this in OS X. Not sure about Windows right now. I am pretty sure Windows is working.

  19. Kem T

    27 Sep 2017 Pre-Release Testers, Xojo Pro, XDC Speakers, MVP Connecticut

    Anything of use in the system log?

  20. Kem T

    27 Sep 2017 Pre-Release Testers, Xojo Pro, XDC Speakers, MVP Connecticut

    Oh, did you put in code setting the updater property to nil in App.Close?

  21. Jon O

    27 Sep 2017 Pre-Release Testers, Xojo Pro Chicago Area USA

    @Kem T Oh, did you put in code setting the updater property to nil in App.Close?

    Was I supposed to? I read that you put Kaju.CancelUpdate in any spot where you would return True in the cancel close events.

    And what would I look at in the system logs? The only thing I see is from the Kaju Admin app.

  22. Newer ›

or Sign Up to reply!