Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Issue with http request - Says http not open
#1
Hello Community of Kincony !

I am using a KC868-A8, which is a great product.
I have activated http server to send some commands in tcp to the board.

When I am trying : http://192.168.1.200/ctrl.cgi?secret=abc...=0&value=0
I have the answer : {"code":-2,"status":"http not open"} 

When I am trying : http://192.168.1.200/ctrl.cgi?secret=abc...=0&value=0
I have the answer : { "outputs": [0, 0, 0, 0, 0, 0, 0, 0], "status": "success", "code": 0 } 

Any idea of what could be wrong by reading the inputs ?

Thank you !
Fabien
Reply
#2
take a photo of your protocol webpage setting of KCS firmware.
Reply
#3
(12-24-2024, 11:59 PM)admin Wrote: take a photo of your protocol webpage setting of KCS firmware.

Hello Admin,

Thank you.
Here is my parameters.

   

By the way, I don't know why I do not have access to the Modbus parameters, this board should be compatible with Modbus RTU, right ?
Reply
#4
KC868-A8 no RS485 port, not support modbus. A8S have RS485 ,support modbus.
do you A8 board ip is 192.168.1.200?
what firmware version you are using? suggest download the newest, here is link: https://www.kincony.com/forum/showthread.php?tid=7224
Reply
#5
(12-27-2024, 12:32 AM)admin Wrote: KC868-A8 no RS485 port, not support modbus. A8S have RS485 ,support modbus.
do you A8 board ip is 192.168.1.200?
what firmware version you are using? suggest download the newest, here is link: https://www.kincony.com/forum/showthread.php?tid=7224

Ok for Modbus.
Yes my board is in 192.168.1.200
I am already using the latest firmware in 2.2.8
That’s why I’m wondering what could be wrong.
Reply
#6
KCS firmware not support tcp by modbus, only RS485 modbus, but KC868-A8 without RS485 port.
Reply
#7
(12-29-2024, 12:01 AM)admin Wrote: KCS firmware not support tcp by modbus, only RS485 modbus, but KC868-A8 without RS485 port.

Yes ok understood that.
But my issue is still existing with the http commands :

When I am trying : http://192.168.1.200/ctrl.cgi?secret=abc...=0&value=0
I have the answer : {"code":-2,"status":"http not open"} 

When I am trying : http://192.168.1.200/ctrl.cgi?secret=abc...=0&value=0
I have the answer : { "outputs": [0, 0, 0, 0, 0, 0, 0, 0], "status": "success", "code": 0 } 
Reply
#8
Yes ok understood for Modbus TCP.
But my original issue was that TCP commands was not working :

When I am trying : http://192.168.1.200/ctrl.cgi?secret=abc...=0&value=0
I have the answer : {"code":-2,"status":"http not open"} 

When I am trying : http://192.168.1.200/ctrl.cgi?secret=abc...=0&value=0
I have the answer : { "outputs": [0, 0, 0, 0, 0, 0, 0, 0], "status": "success", "code": 0 } 
Reply
#9
Hello,

Yes ok I got that, but my main issue was that I was unable to read the Inputs : 

When I am trying : http://192.168.1.200/ctrl.cgi?secret=abc...=0&value=0
I have the answer : {"code":-2,"status":"http not open"} 

When I am trying : http://192.168.1.200/ctrl.cgi?secret=abc...=0&value=0
I have the answer : { "outputs": [0, 0, 0, 0, 0, 0, 0, 0], "status": "success", "code": 0 } 

Thanks.
Reply
#10
i have tested the newest firmware V2.2.10, it's work well, make sure, you can replaced your actually ip address of your KC868-A8 board.
   
   
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)