Comet system forum

Discussion forum about Comet system products

Temperature, Humdity,

Pressure Transmitters

and Data Loggers

You are not logged in.

  • Index
  •  » Software EN
  •  » Non-compliant end-of-line marker in SOAP HTTP requests

#1 07-02-2020 10:24:18

palhal
Member
Registered: 29-08-2019
Posts: 6

Non-compliant end-of-line marker in SOAP HTTP requests

We're trying to integrate the P2520 sensor with our system. However, our web server rejects the SOAP request because the line breaks are marked only by a single LF character, while the HTTP specification requires CRLF (except for the body).

The web server fails with:
BadHttpRequestException: Invalid request line: 'POST http://10.1.1.1/soap/comet.asmx HTTP/1.1\x0A'

We also have several P8541 sensors which don't have the same problem. Why is it different on P2520?

Do we have the latest firmware?
Can this be fixed in the next version?

HTTP "Basic rules":
https://tools.ietf.org/html/rfc2616#section-2.2

Web server:
Kestrel (ASP.NET Core)
https://docs.microsoft.com/en-us/aspnet … s/servers/

Hardware:
Type: P2520 (kind:1105H, type:30, ch:2)
Fw: 7-5-0-1.0772 (RTM)

Offline

 

#2 07-02-2020 12:10:43

HonzaD
Administrator
Registered: 11-08-2008
Posts: 294

Re: Non-compliant end-of-line marker in SOAP HTTP requests

Hi,

Yes, this is a know issue for P2520 and firmware version 7.5-0-1 (devices manufactured between 08/2013 and 11/2017). Issue is fixed at latest version 7-5-0-2. Please contact our technical support directly to obtain this firmware version. You can contact them at address support@cometsystem.com. Please send together your request serial number or MAC address of your device.

Jan

Offline

 

#3 07-02-2020 12:30:02

palhal
Member
Registered: 29-08-2019
Posts: 6

Re: Non-compliant end-of-line marker in SOAP HTTP requests

Wonderful. Thanks!

Offline

 
  • Index
  •  » Software EN
  •  » Non-compliant end-of-line marker in SOAP HTTP requests

Board footer

Powered by PunBB | CZ / SK
© Copyright 2002–2005 Rickard Andersson