HISE Logo Forum
    • Categories
    • Register
    • Login

    Server returns status code 0

    Scheduled Pinned Locked Moved Solved General Questions
    9 Posts 3 Posters 648 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.
    • S
      Sawer
      last edited by

      Hello everyone.

      I am working on a simple server authentication system for my plugin. When sending the request to the server with the correct parameters, I get no response. When I purposely put a wrong parameter such as license key, then the status code is 200 with a response as JSON, telling me that the license key is not correct.
      Am I doing something wrong?

      Any help is appreciated.

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

        @Sawer Use hoppscotch to debug

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

        S 1 Reply Last reply Reply Quote 1
        • S
          Sawer @d.healey
          last edited by

          @d-healey Thanks for replying . I tried on hoppscotch to debug the request and it works perfectly , so it works in the browser , it is also working in hopscotch. Is Hise the problem, perhaps ?

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

            @Sawer You'll need to start sharing some code and the URL for us to be able to help.

            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 Could this be a classic case of needing to run HISE as administrator?

              Dan Korneff - Producer / Mixer / Audio Nerd

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

                @Dan-Korneff No

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

                S 1 Reply Last reply Reply Quote 0
                • S
                  Sawer @d.healey
                  last edited by

                  @d-healey Will send it as soon as I get home.. but it is weird. I am using Easy digital downloads as Software licensing tool. Maybe it is the fact that I do not use JWT one ?? But In that case, I still get a 200 status code when I purposely send a wrong license.. that is weird.

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

                    @Sawer All 200 means is that the request succeeded, it doesn't mean that it did what you want. 0 usually means an error.

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

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      Sawer @d.healey
                      last edited by

                      @d-healey Solved, the name of the product had some spaces in between. Since characters do have UTF8, I replace the space with '%20'. that's it.

                      1 Reply Last reply Reply Quote 2
                      • S Sawer has marked this topic as solved on
                      • First post
                        Last post

                      31

                      Online

                      1.7k

                      Users

                      11.7k

                      Topics

                      102.0k

                      Posts