Hello,
I am setting up a modbus + data to server for the first time on a TRB255. Modbus is working (test shows data) and data to server is posting but the data is repeated rapidly forever and only one message is sent.
The server that receives the data is written by me just for testing only (later i will just a real webserver) in the local network. It is a mini httpd server that i have full control over. When receiving a POST, the content is read and a 201 (or 200) is returned with a location url (for result code=201) that i assume the TRB does not use.
TRB Firmware=TRB2_R_00.07.05.4
See attached screenshots to server received data and my modbus/dts settings. I am just testing with the StatusAndTime request.
As you can see, the TRB connects only once and then sends the same data/value rapidly (about 2x per second) and i have left it running for 2 minutes. The 72 is the content-length.
The URL parameter ORG=123 is just for testing
I suspect that the return response may not be recognized by the TRB. This is the response that is sent back. txtResponseCode and txtLocation are on the form as 201 and DTS/ExD but i have used other values as well.
Response.ResponseCode = txtResponseCode.Text;
Response.SetHeader("Location", txtLocation.Text);
Response.SetHeader("Content-Type", "application/json; charset=utf-8");
Many thanks in advance,
Richard
![DTS-Server_advancedsettings](https://community.teltonika.lt/uploads/default/original/2X/6/6703b3f94b00da0c74ed12bcb134222e78fcd73f.png)
![DTS-Data_config_part2](https://community.teltonika.lt/uploads/default/original/2X/5/568ced865df088edb6cdc4fd03f9865451f8ef84.png)