We recommend switching to the latest versions of Edge, Firefox, Chrome or Safari. Using Internet Explorer will result in a loss of website functionality.

HTTP node request

Comments

9 comments

  • Avatar
    Adrian Williams

    You would specify the header in the 'Header' property on the node's  'Optional Input' tab, e.g.

    0
    Comment actions Permalink
  • Avatar
    Richard Verkerk

    Thanks Adrian, 

    Now I get the following error:

    A connection error occurred for GET request to https://12345.rest.afas.online/ProfitRestServices/connectors/ProfitCountries: Details: java.net.SocketException: Connection reset.

    Do you know what went wrong / How do I fix this? 

    Thanks in Advance! 

    0
    Comment actions Permalink
  • Avatar
    Adrian Williams

    Unfortunately, there are many reasons why the connection could be being reset (by the remote peer). 

    However, you may be able to get additional information in the node error log if you set the HTTP node's LogLevel property (in the Logistics tab) to a value of 0.

     

    0
    Comment actions Permalink
  • Avatar
    Richard Verkerk

    Thanks Adrian, 

    I'm getting a brain.node.http.TransportprotocolError.

    Transport Protocol should be REST. 

    Can you help? 

     

    0
    Comment actions Permalink
  • Avatar
    Adrian Williams

    Can you provide us with the complete node log? You can get it using the following:

    - Right-click on the node

    - In the context menu, select 'Log files' > 'View Error Log File'

    - The Lavastorm Log Viewer will be opened. On the menu click 'File' > 'Save as'. Save the resultant zip file and send it to us.

    0
    Comment actions Permalink
  • Avatar
    Richard Verkerk

    See atteched. 

    Thanks again! 

     

    0
    Comment actions Permalink
  • Avatar
    Richard Verkerk

     

     

    Attached files

    ErrorLogFile.zip

     

    0
    Comment actions Permalink
  • Avatar
    Adrian Williams

    It's a little strange. The error log does not mention that the "Transport Protocol should be REST" - it only mentions the "java.net.SocketException: Connection reset" error.

    However, the context for the message appears to be around the time that the node it attempting to establish the secure communications with the remote host using SSL.

    Have you installed the relevant SSL CA Certificates for the remote host?

    You can find the 'SSL Connections Guide for Lavastorm.pdf' document in your BRE installation, typically it is located here:

    C:\Program Files\Lavastorm\LAE6.1\docs\lal

    The document for LAE 6.1.4 is also attached for your convenience.

    Note, for a Windows install of Lavastorm, the keytool executable is typically located here:

    C:\Program Files\Lavastorm\LAE6.1\jre\jre\bin

    and the java keystore ('cacerts' file) would be located here:

    C:\Program Files\Lavastorm\LAE6.1\jre\jre\lib\security

    All CA certs in the certification chain need to be installed in the java keystore.

     

    Can you also confirm the version of Lavastorm that you are using. Thanks

     

     

    Attached files

    SSL Connections Guide for Lavastorm.pdf

     

    0
    Comment actions Permalink
  • Avatar
    Richard Verkerk

    Thanks again Adrian, 

    I'm using 6.1.4.0.92 

     

    0
    Comment actions Permalink

Please sign in to leave a comment.