LAE

 View Only
  • 1.  HTTP node request

    Employee
    Posted 06-29-2021 03:04

    Dear LAE users,

    If in Postman, I fill in the following url and header and it works with Postman. How can i get this to work in the HTTP node of Lavastorm?

     

    Thanks in advance!

     

     

     



  • 2.  RE: HTTP node request

    Employee
    Posted 07-07-2021 08:58

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



  • 3.  RE: HTTP node request

    Employee
    Posted 07-08-2021 00:31

    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! 



  • 4.  RE: HTTP node request

    Employee
    Posted 07-08-2021 02:32

    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.

     



  • 5.  RE: HTTP node request

    Employee
    Posted 07-08-2021 05:08

    Thanks Adrian, 

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

    Transport Protocol should be REST. 

    Can you help? 

     



  • 6.  RE: HTTP node request

    Employee
    Posted 07-08-2021 06:46

    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.



  • 7.  RE: HTTP node request

    Employee
    Posted 07-08-2021 06:57

    See atteched. 

    Thanks again! 

     



  • 8.  RE: HTTP node request

    Employee
    Posted 07-08-2021 06:58

     

     

    Attached files

    ErrorLogFile.zip

     



  • 9.  RE: HTTP node request

    Employee
    Posted 07-08-2021 08:38

    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

     



  • 10.  RE: HTTP node request

    Employee
    Posted 07-08-2021 22:53

    Thanks again Adrian, 

    I'm using 6.1.4.0.92