HISE Logo Forum
    • Categories
    • Register
    • Login

    Server API update?

    Scheduled Pinned Locked Moved Scripting
    30 Posts 7 Posters 1.9k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • I
      IsoWalle @d.healey
      last edited by

      @d-healey It seems that HISE can't connect to internet...
      I tried "look for newer versions" in the help tab and it only say "Offline, Could not connect to the server". So my computer is online but HISE doesn't recognize it?

      Christoph HartC 1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart @IsoWalle
        last edited by

        @IsoWalle yeah that function is super old and I wouldn‘t be surprised if it points to a dead link.

        1 Reply Last reply Reply Quote 0
        • I
          IsoWalle @d.healey
          last edited by

          @d-healey Server call works perfect from hoppscotch.
          @orange Raised the timeout to 40000ms and now the call takes that long to get an error...

          The call takes 400ms in hoppscotch so it really seem like an issue with HISE, or my build of Hise anyway.

          d.healeyD 1 Reply Last reply Reply Quote 0
          • d.healeyD
            d.healey @IsoWalle
            last edited by

            @IsoWalle Make a simple snippet that fails for you and post it here.

            Libre Wave - Freedom respecting instruments and effects
            My Patreon - HISE tutorials
            YouTube Channel - Public HISE tutorials

            I 2 Replies Last reply Reply Quote 0
            • I
              IsoWalle @d.healey
              last edited by

              @d-healey

              HiseSnippet 883.3ocsVstaSyCF1oaA80xAARbAXkekJU5Z4v.wzm93qcanJXaUjwg+g7bbWslicjsSgBZ2EbMv0G2AvqSRaSYkwnR79ip7dx948n6PshxLFkF4U+3ooLj2M7ilJsi6OlvknA6h7tk+ADikowEh5MMkXLrXjm2FO2Ivq9lnb5a+WOhfHorEhPn2n3T1K4Ib6BoCe1K3Bw9jX1w7jJV+vmMfpj8UBUFfmM76fRIzyHmxNj3LqlOx6Z6EysJcjkXYFvldp3oQiUePVX+a3F9IBlioKJBNnBwn9i4h3gyhUCB4s4vEQ9FEQ9c8OfGymKeQF314JvK7nZNvq1kAot+APxqBj1r.R2wOhp4o1EZb3459CjPAYDAR0UgRgsnZesleeEXgz1NgbFaeMvL2ivs6zoEF9o4NMZDwzSX51FlsGwvd8qdYXvXqM07zs1hjxaeFa5ml1lq1Zx82R.0QogYBb9wkBtjgGkIoVtRhUxhSJhIicWsVIBopjTkD.QK7DhHi0rQ850wkzmqx3nIDMNE+u3Oi+YMynfO5n.7SwAuqfB9Uld9NqRiS1bgkQNkHDukaGO7nniCC.bxiCZgSaMOzBMPcMyzBqYFHbLKGF4gxrytpPHIXTBV6TMWZCsZWhe9Iz7Bv67kEcdiY0uSY19yxigAKRxAMcEsxTceHHNAlTBWQYn4NUJRGprrijgMa.o+Fm2.+ypFMZk5JOJASuR0tgX8k4XnLK4DlddePogPW9xiNW6pM5PKxMULTIGH41iRYk76qDwtQB22WbPCUlbcibkHDL0lOvcqxAtdYVqRh3w4KDmmTQ4QP08anWOXWhkL6rfiEtpTl1xcQj2trIvbSwvbc+cYlyrpzbaKKpPR3pcyeD4468E3Bm59nY9dzKru.1TohyDD6xqub6oKU.Elk1Y31KHMb6zp6w+C1o04R2ocUg3c7GxszwqFi0VAFg78eCLV9RvM82azHF0t.fa5u+6V209+lq+UpLKWd5ADql6JxGlkDAO.RYvsKkLgwUuq4ZaK3633cY.WaQNy2ApTYWGuWoxtyThRHTs58zhlc2aM+StD.Sx7mVqCuwC73tyZv886ztCJAd168TpK7uGLIsZet+Z3yCVCed3Z3yiVCe1dM74wqgOO4R8w8ON9+LqJoXb.DLbu7EMdd6IIPmUdWH5G.gzjlJ.
              
              1 Reply Last reply Reply Quote 0
              • I
                IsoWalle @d.healey
                last edited by

                @d-healey That should get a 40x error, but it gives a 301 and no response.

                d.healeyD 1 Reply Last reply Reply Quote 0
                • d.healeyD
                  d.healey @IsoWalle
                  last edited by d.healey

                  @IsoWalle 301 is a redirect. I suspect that JUCE doesn't follow the redirect and just returns it. Try it with a different URL that doesn't go through a redirect.

                  Edit: Looks like my suspicion is correct - https://forum.juce.com/t/how-to-get-url-to-follow-redirects/13563 - although it looks like the problem should have been fixed.

                  Libre Wave - Freedom respecting instruments and effects
                  My Patreon - HISE tutorials
                  YouTube Channel - Public HISE tutorials

                  I 1 Reply Last reply Reply Quote 0
                  • I
                    IsoWalle @d.healey
                    last edited by

                    @d-healey The thing is that it isn't a redirect, the server has none.

                    LindonL Dan KorneffD 2 Replies Last reply Reply Quote 0
                    • LindonL
                      Lindon @IsoWalle
                      last edited by

                      @IsoWalle said in Server API update?:

                      @d-healey The thing is that it isn't a redirect, the server has none.

                      might depend on your hosting config.

                      HISE Development for hire.
                      www.channelrobot.com

                      1 Reply Last reply Reply Quote 0
                      • d.healeyD
                        d.healey
                        last edited by d.healey

                        I agree with Lindon. There's something on the server side that's not working correctly or is incompatible with requests from HISE.

                        Even if I put a non-existent URL I get the 301 within HISE

                        Server.setBaseURL("https://api.keyzy.io/v2/licenses/testingtesting");

                        And interestingly Hoppscotch doesn't return a 404, instead it gives:
                        "message": "The POST method is not supported for this route. Supported methods: GET, HEAD, PUT, PATCH, DELETE."

                        And if I change POST to GET your server returns a 200 status for that non-existent URL...

                        Libre Wave - Freedom respecting instruments and effects
                        My Patreon - HISE tutorials
                        YouTube Channel - Public HISE tutorials

                        1 Reply Last reply Reply Quote 0
                        • Dan KorneffD
                          Dan Korneff @IsoWalle
                          last edited by

                          @IsoWalle Some staging servers will block these calls. Could be server-side firewall or antivirus too.

                          Dan Korneff - Producer / Mixer / Audio Nerd

                          d.healeyD 1 Reply Last reply Reply Quote 0
                          • d.healeyD
                            d.healey @Dan Korneff
                            last edited by

                            @dustbro Any idea why it would work from Hoppscotch and not HISE?

                            Libre Wave - Freedom respecting instruments and effects
                            My Patreon - HISE tutorials
                            YouTube Channel - Public HISE tutorials

                            Dan KorneffD 1 Reply Last reply Reply Quote 0
                            • Dan KorneffD
                              Dan Korneff @d.healey
                              last edited by

                              @d-healey Maybe it's detecting calls from Hopscotch as a trusted source?

                              Dan Korneff - Producer / Mixer / Audio Nerd

                              Christoph HartC 1 Reply Last reply Reply Quote 0
                              • Christoph HartC
                                Christoph Hart @Dan Korneff
                                last edited by

                                @dustbro why would it be a trusted source? You can enter anything there, that‘s maybe the untrustworthiest source ever :)

                                I think it has something to do with how JUCE handles redirecting calls, I had a similar problem once and it was because of a missing trailing slash.

                                Dan KorneffD 1 Reply Last reply Reply Quote 0
                                • Dan KorneffD
                                  Dan Korneff @Christoph Hart
                                  last edited by

                                  @Christoph-Hart said in Server API update?:

                                  @dustbro why would it be a trusted source?

                                  who knows what various antivirus and firewalls think or do
                                  :grinning_face_with_smiling_eyes: One of my installers gets flagged as a virus in windows 10, but all other windows OS are fine. hahahah

                                  His server may be rejecting POST requests, causing a redirect.

                                  Dan Korneff - Producer / Mixer / Audio Nerd

                                  d.healeyD 1 Reply Last reply Reply Quote 0
                                  • d.healeyD
                                    d.healey @Dan Korneff
                                    last edited by

                                    @dustbro It works with Hoppscotch though

                                    Libre Wave - Freedom respecting instruments and effects
                                    My Patreon - HISE tutorials
                                    YouTube Channel - Public HISE tutorials

                                    Dan KorneffD 1 Reply Last reply Reply Quote 0
                                    • Dan KorneffD
                                      Dan Korneff @d.healey
                                      last edited by Dan Korneff

                                      @d-healey @IsoWalle
                                      I think there might be an issue with the link you're using. The API for KEYZE has a status check and that is working here.

                                      HiseSnippet 891.3ocsV0saaaCElxIZX1sqXEXO.B9JE.WG6tt1gUDrL+SJLZShQUZ2tKfg53HNKQJPRkNsf.rG48FrdnjrkbqaQgwptfw776G+34bXlqjLPqkJhS6KxSAhy8cCxElnwQTtfLaBw4AtZC0jo8XQ.aIYTdJUqgPhiyduvZiS68IEe+6uNhFSELnVDg7VImAuhmvM0Rme7K4wwmPCgK3IMr9IGOiIEikwxLDO64NfjRYKoWCmQsl0xk37MSC4FoJ.QDnIN6ORFlGDIemnz92x07qhA6lgj.LPkhOQFGZQrUJYbDONb9pyslfQYdMKrWIK7CtmxC4qkWyFeegBuZOZxGNs1Dd6sA7F1DdCZ.us.ImFPZ+RH8P2.lhmZp0Xwy8bmILfZAEo8lPozVRq+rk6XIZgvzOgtDNQgaV6g+SGLnmGtbvy6zI.T2.p9ZvLhpg275W42MxXR0+xgG1E0i2LZi2MTkWY4vkEkCdG40klx6uDx+679b4g273CK0+nB8cw.yEwbA3sHSvLbovSJJSU.HBsXSIi8YxjTo.QYOLEwYvActsSaToVFC8SUbgwuKiFiA5ZKX5ztBsVY+N2D8hoW32DW87t8tdqSYkpddJPioQig2C+t0tzY8BeQkcdGcjWU7CJDb9KKcnc6aq96Ghsb.hnuyBsB81k65T766PY20Y0cv0fY7pipe2Zdn6AVhuhMFiGpqvJe+svTG77F73YRCbtvufrvj38gpVrXq5pBULn1pZaSo5y4nuHK4JP07pxZHVotY4u6mt7uY2IqjaZXnTLSvMmmBhOUOKohPssJUnBM0Tzn7fpFkQYFiTP3gEC0VSjjBT2bFE4MylPMzUwBCKlpTPY31SgyD3FbFVYSXa2IfdoQlVXa0EIdv+xx7esNq+yUGmWuYxwjOteGmzHCyholMG+Xm4Vo.uT1nm21WKzbSdyYx+uMS5KEhOzcN2vh1NFasELh79WCLVMI+6bmtXAvL0.be2S9iuNisIuVlYvQTmRMJNdY6dVVR.9XFCvrKDPrsovoks7sb+.6dKCXKOJ17e3Wkxg18NUJGtRIIgxTxKYkE812J91BIHlDEOS118T6dugqJzccGze.IAe15RFyd7eD1Qsced7N3yOtC97jcvmeZG74o6fOOaG74m+r9X+OF9sLiLorc.ELeZw.GGmoBJVYUTERduL6R5f
                                      

                                      And calling the license validation link here returns 404 for me (cause I don't have user/password)

                                      HiseSnippet 894.3ocsV01aaaCDlxIZnVcqXEX+.D7mT.7br255FVQPy7KovnMIFUoc6aEzTmiHrDo.IU57BBv9I2+AcGkjsjacKJLVEfkMuWe3Cu6nmojLPqkJhS6qVkADmu0MbkvDOJlxEjoiINOvUanlbsOKFXKICWkQ0ZHh33bvyr13z9PRwy6d5PZBUvfZQDxqkbF7BdJ2TKc1oOmmjbFMBthm1v5Gc5TlTLRlHyQ7bfaeRFksjdMbA0ZVKWhy2LIhajpPDQfl3b3PYzpvX4aEk1+ZtlOOArKFPBw.UJ9LYRjEwVojQw7jnYq22ZBFkY0rvAkrvO3dNOhuQdMa78EJ7q8nIe3zZa3cvVvaPS30uA71AjbZ.oCKgzCcCYJdloViEO22cpv.pETj1aBkRaIsl2xcjDsPX5kRWBmovEa7H3w8620GeczS77BA0MfpmFLCoZ3Uu7EAchMlL8ue7wcP83Ii13eCUge3I7HbG5eheGZFu2RX0+rpGWdbBdVKzf93annEc773hDt.7WjKXFtT3KEkYIDDQVXojIALYZlTf.rKF4jb3Hua8ZiJ0xDnWlhKLAcXzDLPWawgW6JfZk8mbS7ylbUvFH00+165tIeAkUtc8UfFygFisO9bq8k2lW7EU14exI9UAOrPvkOuzg1sus56ODXq.Hl9VKtJzaecmWwuuCkcm2Zt+ZvLZ89LnSMIz4HKgWQEivczbrhOXGzzQOoAIdgz.WJBJXJLI9enpEK1otpPk.pcp11Lp9bNFHxSmCplmSVCwJzsK6c+zk8M6JYkbSCCkhoBt4xLP7o5UIUDpsEoBUnolhFjGT0fLL2XjBBOpXX1FhjTf5lylHuZ5XpgtNVXXwTkAJC2tKbFC2f0ykMescGC5kFYVgsUGj3F+KKy+8lr9uyOcU8hwmR939bbBiLJOgZ1dricVakB7PYqdca+rPyMqZNK9+sYQeoP7gty3FV7twXqcfQj2+ZfwpI3em6jEK.loFfG5d1e80YbM4kxbCNe5bpQwwCa2KxSCwKwX.lcg.RrMENsrkukq6aWaY.a4Qwh2iOUJGXW6TobvZkjTJSIeCqrn2dGw8JjfXRTb8Xa2ysq8GrtP20seu9jT75p2vX1s+OhcT61meZO74m2Cedzd3yurG9738vmecO7429r9X+mB+QtQlV1NfBlMoXfiiyDAEqrJpBI+Gv61E5j
                                      

                                      Dan Korneff - Producer / Mixer / Audio Nerd

                                      d.healeyD 1 Reply Last reply Reply Quote 1
                                      • d.healeyD
                                        d.healey @Dan Korneff
                                        last edited by

                                        @dustbro

                                        (cause I don't have user/password)

                                        Shouldn't it return a 401? 404 is page not found.

                                        Libre Wave - Freedom respecting instruments and effects
                                        My Patreon - HISE tutorials
                                        YouTube Channel - Public HISE tutorials

                                        Dan KorneffD P 2 Replies Last reply Reply Quote 0
                                        • Dan KorneffD
                                          Dan Korneff @d.healey
                                          last edited by Dan Korneff

                                          @d-healey maybe I typed the api link wrong?
                                          edit: yup I typed it wrong.
                                          license validation link also gets a response of 200

                                          HiseSnippet 888.3ocsVs0aaaCElxIZnVcaXEX+.D7SJ.d9RWW2vJBZlujBi1jXTk1s2JXnNNlHRjBjTtSKH.6mb+GzcnjrkbqaQgwpdfwm6e7biYtRx.sVpHNsuLOEHNeqaXtvrb7RJWPlMg3be2UTdLOhZ.xn7TpVCQDGmCdlUAm1GRJ9d2SGQioBFTyhPdsjyfWvS3lZtyO44733SoQvk7jFZ+nSlwjhwxXYFBlCbGPRoranWCmSsp0xk37MSi3FoJzfPQSbNbjLJObo7shR8eMWyuJFrDCIgniJYepLNxhXKWx3k73n4quzZB5k40ofCJSA+n6Y7H9F90ohenPfesEMyGNs1FdGrE7F1DdCZ.uc.ImFP5vRH8.2PlhmZpkTVZlILfZAkscooTWRKnk6XIpgvzKgdCbpBI1XQviGLnqOdbzS77BA0JP0SClQTM7pW9hfNKMlT8u2ueGTNVYzF+UTk+ldA+i86PS48tAx+m7dbY+UOreLVtEZP2eEEUpimGWDyEf+hLAyvkBeonLPgfHxhLkLNfISRkBDicQmGmAG4cqWaTnVFC8RUbgInCiFiN5ZKT7ZWgUKu+jaV9roWFrAUc8u8ttahWfFqEY5t9JPiwPi91G+t0d3s4funRO+iO1ux4gELt34kFzt8sU+8CAVN.Kou0hqB41i67J98cHu67Vm9uFLiWeOC5TmD5bjMmWkJFi2nqvl9fcjlN5IMRhmKMvEhfhLEFD+OTzhE6TVkqhA0NEamGUeNCCDYIWApl0IqhXS51c9te5N+lClrxbSCEkhYBt4hTP7oFWIUIT6TREpPUMEyHee0LxnLiQJH7nhkYaRjjBT2biE4UylPMz09BcKFpTPY31agyDXE1OWN+01cBnuwHSKzspPhW7urH+2ah5+d0I40DSNg7wi53RFYTVL0r8lG651JAXQYqwc6HsPyM4Mub+usN5KEhOvcN2vVtaL1ZGXDy6eMvX0R7uyc5hE.yTCvCcO8u95rwl7RYlA2OcF0n3Xw187rjP7cLFfQWHfX6PgSKa6aI8.KsMCXaOJHdO9UIbnk1oR3v0BIITlR9FVYSu8Yh6UvAwjn3Ex1tmYo8GttQ20cPuAjD7Eq2vX1q+OgST61lGtG17y6gMOZOr4W1Cad7dXyutG17aeVar+yB+QlQlTNNfLlOsXgiiyTAE6rJ5BI+2LoJph
                                          

                                          Dan Korneff - Producer / Mixer / Audio Nerd

                                          Dan KorneffD 1 Reply Last reply Reply Quote 0
                                          • Dan KorneffD
                                            Dan Korneff @Dan Korneff
                                            last edited by

                                            and a calllWithPOST is returning 401. Seems like HISE is working to me?

                                            Dan Korneff - Producer / Mixer / Audio Nerd

                                            I 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            25

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            103.0k

                                            Posts