title: IBM DataPower write error(8)
body: <p>Our DP can act as both client and server in our architecture . First, our members call our service, then our asynchronous service call theirs. First transaction completed successfully but in second transaction, I am getting error below:</p>
  
  <pre><code>wsgw (OI_MemberServices): DP Error: 0x0113001c|0x00000000|Connection error
  wsgw (OI_MemberServices): Connection error
  wsgw (OI_MemberServices): Error in stream. Descriptor number unavailable. Additional information: Write error (8)       
  wsgw (OI_MemberServices): Network Error on back side server https://BE_MEMBER_YKR:8443/tr.com.gnx.matchIdentitiesResult.web/matchIdentitiesResultWs 
  </code></pre>
  
  <p>But, I have noticed something today. At top of these logs:</p>
  
  <pre><code>valcred (OIClientValCred): SSLProxyProfile 'OI2WSSLPP': connection error: certificate not trusted
  </code></pre>
  
  <p>Actually, I did not pay attention to it first because it had different tid. Could it possible that they are related somehow? There is also something else, we use same SSL cert in our test env for same member and nothing went wrong so far.</p>
  
  <p><strong>What I did to solve this:</strong></p>
  
  <ul>
  <li>I had tcpdump for both side. Nothing suspicious.</li>
  <li>Their service is up and reachable.</li>
  <li>SSL Proxy Profile > OI2WSSLPP > Permit Connections to Insecure SSL Servers : off > on</li>
  <li>SSL Proxy Profile > OIClientSSLPP > Permit Connections to Insecure SSL Servers : off > on</li>
  <li>Crypto Profile > OIClientCP > Permit insecure SSL renegotiation to a legacy SSL client : disabled > enabled</li>
  </ul>
  
  <p>All advises are much appriciated!!
  tnx</p>
  
  <p>DP Firmware: XI52.6.0.0.3</p>