[CONTROLLER-1040] Issue with Big size schema Created: 24/Nov/14 Updated: 25/Jul/23 Resolved: 27/Mar/15 |
|
| Status: | Resolved |
| Project: | controller |
| Component/s: | netconf |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Dhirendra Kumar Trivedi | Assignee: | Maros Marsalek |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Issue Links: |
|
||||||||
| External issue ID: | 2424 | ||||||||
| Description |
|
My device schema is of size around 7MB. If i manually put that schema in cache/schema directory, controller is io.netty.handler.codec.DecoderException: org.xml.sax.SAXParseException; lineNumber: 18008; columnNumber: 83; The content of elements must consist of well-formed character data or markup. io.netty.handler.codec.DecoderException: org.xml.sax.SAXParseException; lineNumber: 2; columnNumber: 16; Content is not allowed in prolog. Just to verify that the schema which is being fetched by device does not have any issue, I downloaded that schema through |
| Comments |
| Comment by Tony Tkacik [ 24/Nov/14 ] |
|
Could you provide more information about offending message or model? It seems some character in YANG model is treated differently / incorrectly during download, |
| Comment by Dhirendra Kumar Trivedi [ 24/Nov/14 ] |
|
(In reply to Tony Tkacik from comment #1) True, that is why I mentioned in description that i fetched the schema from > from log you provided it is hard to determine what really happened? |
| Comment by Tony Tkacik [ 24/Nov/14 ] |
|
Possible duplicate of |
| Comment by Maros Marsalek [ 25/Nov/14 ] |
|
Marking 2421 as duplicate(even though it was reported first, this bug contains more information). I was able to reproduce this problem and the transfer of the get-schema response stopped half way through. With logs set to debug, the SSH library (probably) stopped the transfer and requested a window resize with no response. This needs further investigation. However I did not get the SAXParseException, can you check the response of get-schema from your device manually (using curl or wget) ? I just want to verify that the produced xml is well formed. |
| Comment by Marian Dubai [ 18/Dec/14 ] |
|
Error caused by incorrect handling of ssh connection protocol message SSH_MSG_CHANNEL_WINDOW_ADJUST in mina-sshd. |
| Comment by Maros Marsalek [ 20/Feb/15 ] |
|
The fix in the SSH library has been merged. We need to increase the version of the lib to the newest one after the nearest release. |
| Comment by Maros Marsalek [ 25/Mar/15 ] |
|
New version of apache mina sshd (0.14) was released, needs to be bumped in ODL and tested. |
| Comment by Maros Marsalek [ 25/Mar/15 ] |