Hi Dojo,
I have http session for sending http request from which I get incomplete response in DataMiner.
On Wireshark I can see full response:
same response received on Postman, but on Stream Viewer I only see small part from full response:
and that's what we get in response parameter from session:
I increased timeout to 20s in session but still get same incomplete response.
Does anyone know what can cause this issue?
Hi Dario,
I noticed that in your Wireshark screenshot, you have what looks like a null character \0 which happens to be right after the last characters you see in the stream viewer R4tf
Could you confirm if my observation is correct?
If that is the case it could justify why it is terminating at that point
Hi Dario,
Could you check if you are setting the correct headers in the session definition in your connector? The Wireshark capture shows a ‘text/plain’ while the type of data I see makes me think of something different.
You should be able to compare the headers sent and received in Postman and verify if they are similar.
I would be on the lookout especially for the following headers:
– Accept
– Accept-Encoding (if options like gzip, and deflate are being used)
– Content-Type
Headers are correct.
Following headers are displayed on WireShark when a request is sent from either Postman or DataMiner:
Connection: Keep-Alive
Accept: */*
Accept-Encoding: gzip
In WireShark I see complete response when send request it from DataMiner, but on StreamViewer it stops on first NULL character.
“text/plain” is Content-Type in response header.
Apart from trying to use a QAction to do the HTTP command via C#, my only suggestion is to reach out to Data Acquisition (support.data-acquisition@skyline.be) to have a better look into this.
Hi João,
Correct, it’s indeed null character after our received part in DataMiner.
Do you have any suggestions how to overcome this issue?