Uploaded image for project: 'yangtools'
  1. yangtools
  2. YANGTOOLS-593

Can't get complete YIN schema on Windows

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • None
    • None
    • Operating System: Windows
      Platform: PC

    • 5531

    Description

      On Beryllium based projects i can't get complete YIN schemas from restconf. Content length of response data are multipliers of 8kB (8192 b).

      Example:

      0kB < schema < 8kB = response is empty
      http://localhost:8181/restconf/modules/module/config/2013-04-05/schema

      8kB < schema < 16kB = response is 8kB long
      http://localhost:8181/restconf/modules/module/network-topology/2013-10-21/schema

      16kB < schema < 24kB = response is 16kB long
      http://localhost:8181/restconf/modules/module/ietf-yang-types/2013-07-15/schema
      etc

      I found this problem only on Windows machines (Windows 7 Enterprise, SP1, 64bit), my Linux VMs (Ubuntu, Debian) are working well, Mac is working too.

      Java Version 8 Update 73 (build 1.8.0_73-b02), tried on two different earlier versions of Java 8.

      This problem is causing, that Yang UI application is not working on Windows. App is using those schemas for generating forms.

      Some hints:
      Problem can be in Jetty settings/version on Windows.
      Try to rollback to stable/lithium, where it worked.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ivan.hrasko@pantheon.tech Ivan Hrasko
            malachovsky Daniel Malachovsky
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: