Command forwarder closes TCP connection on first command after reboot.

Issue #96 resolved
Myles Metzler created an issue

The Command forwarder feature will close the TCP connection the first time it receives a command. It works correctly after that first connection.

Comments (10)

  1. Myles Metzler reporter

    This has to do with the configuration database session being created at start up before the database is ready. After the bad session is closed and a new one is established the problem goes away.

  2. Myles Metzler reporter

    bugfixes

    fix issue with inconsistent post requests on certain routes addresses #96 (TCP forwarder fails on first command) update wiki

    → <<cset 8e9d32c4f4f7>>

  3. Kelvin

    I am trying to communicate with the Espec PR-3J chamber with controller ID P3PLJCN30.03STD. I am using National Instruments LabVIEW version 2018 and communicating via NI VISA protocol and also NI TCPIP protocol (I tried both methods). I issued the command MON?\r\n once, and can read back the measured temperature and humidity. If I issue the command again (ie. 2nd time), the NI VISA or TCPIP protocol will error out on the read command. Is this error that I am getting related to this issue #96? Just wanted to ensure that I am understanding this issue correctly. FYI, I am using the following resource name on LabVIEW: "TCPIP0::172.16.5.4::57732::SOCKET". Thanks.

  4. Kelvin

    Oh yes, one more thing, I understand that there is another method of interfacing via the REST API. I have attached the screen capture of the Espec web-access on the "Chamber Setup" page. Where is the option to enable the REST API? Thanks. Espec-PR-3J Chamber Setup.jpg

  5. Myles Metzler reporter

    Merged in dev-beta (pull request #10)

    Dev beta

    Approved-by: Myles Metzler mmetzler@espec.com

    Resolves #83 “Add support for vibration on P300 Chambers.”

    Resolves #87 “Add support for air speed control on P300 chamber’s that support the AIR? command”

    Fixes #96 “Command Forwarder closes TCP connect on first command after reboot.”

    Fixes #97 “Time signals section visible on constant page even on system with no time signals”

    Fixes #98 “CSV files are missing from samba share with 2.3.x versions, add them back for compatibility”

    Fixes #99 “Graphs on monitor page are cumbersome on multi controller chambers.”

    Resolves #102 “Add support for Version 1 espec north america web controllers on the network view”

    Fixes #104 “Network view empty panels”

    Resolves #105 “Add support for Thermotron 8x00 chambers on the network view”

    Fixes #107 “Setting the chamber controllers date/time does not always work”

    Fixes #108 “Setup page fails on internet explorer 9 and 10”

    Fixes #109 “Race condition can cause configuration reset”

    Fixes #110 “Add a function to delete csv files on user’s request”

    Fixes #111 “Server date/time setup option does not work”

    Fixes #112 “The “Upload Configuration” button is borken”

    Fixes #114 “/systems/neighbors/find can fail causing annoying errors”

    → <<cset 04df697513cd>>

  6. Log in to comment