Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 82387

SAML in Mendix v4 error on metadata import: DerInputStream.getLength(): lengthTag=127, too big.

$
0
0

Hi All,

  I have a strange situation here.  I am using the SAML 2 module in the cloud and am importing the IdP metadata by file.  This works just fine locally, but when I attempt to do the import in the cloud, I get an error when I click 'refresh metadata' or after selecting the IdP Metadata xml file in the wizard.  The error is:

  • 1:31:23 AM sys INFO at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
  • 1:31:23 AM sys INFO at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:628)
  • 1:31:23 AM sys INFO at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
  • 1:31:23 AM sys INFO at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
  • 1:31:23 AM sys INFO Caused by: java.io.IOException: DerInputStream.getLength(): lengthTag=127, too big.
  • 1:31:23 AM sys INFO at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
  • 1:31:23 AM sys INFO at java.lang.Thread.run(Thread.java:745

...

I know this is the way we are parsing the <ns1:X509Certificate> field in my xml, which is a big long string of characters.  I am sure of this because if I remove this field from my XML I can import it just fine (SAML doesn't work in this case, of course).  I have used the same file when Setting up SSO in Mendix 6 on the v3 cloud, but now that I am in Mendix 7 on the v4 cloud there is an issue.  When I perform this activity locally usign Mendix 6 and 7 it works fine.  I am on version 7.2 which isn't in the dropdown

Has anyone seen this error before in parsing an X509 certificate or any other XML within the Mendix platform?

 

Thanks,

Rob

 


Viewing all articles
Browse latest Browse all 82387

Trending Articles