C-Gate Connection Issues

Discussion in 'C-Bus Toolkit and C-Gate Software' started by Greg Mortlock, Sep 2, 2004.

  1. Greg Mortlock

    Greg Mortlock

    Joined:
    Aug 3, 2004
    Messages:
    10
    Likes Received:
    0
    When C-Gate loses contact with a CNI, for whatever reason, we run into a couple of problems:

    1) We get no indication to our program that this has happened (until we try to send a new command).

    2) The only way to reconnect appears to be to restart the C-Gate app.

    To be blunt, this is a real pain in the arse. We have to regularly poll something on the network to check when the connection drops and then restart C-Gate when it has. These problems have been apparent for sometime now and, though we've reported them through other channels, I've not heard anything. I'm suprised others aren't having similar problems, or is everyone just living with it?

    While we're at it, the earlier version of C-Gate was a Windows service. We had a similar auto restart setup because we found the service used to die every three months or so (not too bad). Being a service it was easy to monitor it's status and restart automatically. Now C-Gate's an app this is more difficult and also creates security and admin problems as we've now got to be logged on to run it.

    When can we expect C-Gate to auto reconnect to a CNI, or at least some feedback and commands to monitor and restart the connection?

    Any chance of having a Windows service version again?
     
    Greg Mortlock, Sep 2, 2004
    #1
  2. Greg Mortlock

    Richo

    Joined:
    Jul 26, 2004
    Messages:
    1,257
    Likes Received:
    0
    Location:
    Adelaide
    I'm not close enough to the CGate team to answer this one. I'll leave that to them

    This was changed because to work it relied on proprietory MS extensions to Java which was a problem to maintain when MS dropped Java support in the development tools. We had to move to true independant Java tools which although was a benefit as CGate is truly multi-platform, unfortunately we lost this feature.

    However, thanks for posting this question as it reminded me that I had an idea abot 3 nights ago on how we can implement CGate as service again. I will send and email to the relevant team and discuss it with them. Unlikely to happen in the immediate future, but it a valuable feature and internally we would like to be able to offer it again at some point in the future.
     
    Richo, Sep 2, 2004
    #2
  3. Greg Mortlock

    jacksim

    Joined:
    Aug 24, 2004
    Messages:
    35
    Likes Received:
    0
    C-gate n CNI

    Hi Experts,
    My side also facing this problem...we are using a gate-way(mini pc) to run c-gate s/w. We alway need to power on both gate-way and CNI at the sametime. :)

    Regards
    Jack
     
    jacksim, Sep 7, 2004
    #3
  4. Greg Mortlock

    Richo

    Joined:
    Jul 26, 2004
    Messages:
    1,257
    Likes Received:
    0
    Location:
    Adelaide
    I can't talk about unreleased products, but I can say the development build of CGate I'm using doesn't have this problem. That is it can re-establish a connection to a CNI once it has be dropped automatically without requiring a restart.
     
    Richo, Sep 7, 2004
    #4
  5. Greg Mortlock

    johnnychan

    Joined:
    Sep 14, 2004
    Messages:
    5
    Likes Received:
    0
    May i know the Version of your CGate software? Thanks
     
    johnnychan, Sep 14, 2004
    #5
  6. Greg Mortlock

    Richo

    Joined:
    Jul 26, 2004
    Messages:
    1,257
    Likes Received:
    0
    Location:
    Adelaide
    I can't say anything more than it's "an unreleased development build of CGate". It will be released at somepoint in the future.

    My remark was just to confirm that that specific concern has been address in a future build of CGate as far as I can tell. This is not an official committment that this concern has been resolved, mearly an observation.
     
    Richo, Sep 14, 2004
    #6
  7. Greg Mortlock

    MikeS

    Joined:
    Sep 10, 2004
    Messages:
    6
    Likes Received:
    0
    Location:
    Perth, WA
    Release schedule

    - Bug: C-Gate app closes when a different user logs off the machine. :eek: Is this still true in your version?

    - Any progress making into a service as we don't want any users logged onto the server? :confused:

    - When/where can we get a release schedule? :confused:
     
    MikeS, Oct 11, 2004
    #7
  8. Greg Mortlock

    Richo

    Joined:
    Jul 26, 2004
    Messages:
    1,257
    Likes Received:
    0
    Location:
    Adelaide
    Yes, that still happens.

    This has been discussed and the engineering team would like to re-instate the capability to run as a service. It won't be in the next release. But certainly I would like to see it happen sooner rather than later. I (and others)consider it a a very important feature.

    It's probably safe to say "not long now". I can't give an extact date as the beta hasn't passed final approval by all the powers that be. The product has moved from a development phase to a test and approval phase.
     
    Richo, Oct 11, 2004
    #8
  9. Greg Mortlock

    steve_mcneill

    Joined:
    Aug 3, 2004
    Messages:
    4
    Likes Received:
    0
    i have a solution for the service problem!
    it is based on this Program.

    you can download a tailored version for c-gate Here

    read the service.txt file for installaion instructions. the files should be extracted to your c:\clipsal\cgate\ directory.

    you may need to tailor the service.conf file if you have the cgate software installed in an alternative location or you have a different version of java installed.

    steve
     
    steve_mcneill, Oct 27, 2004
    #9
  10. Greg Mortlock

    Richo

    Joined:
    Jul 26, 2004
    Messages:
    1,257
    Likes Received:
    0
    Location:
    Adelaide
    Thanks for the link Steve. I'll check it out.
     
    Richo, Oct 27, 2004
    #10
  11. Greg Mortlock

    MikeS

    Joined:
    Sep 10, 2004
    Messages:
    6
    Likes Received:
    0
    Location:
    Perth, WA
    Service

    Thanks for that steve_mcneill. I've installed it - is it any better than NTs srvany service wrapper? The problem with that one was when any user logs off, the c-gate app detects it closes (but the service stays running). This means we can't run the app or service on a server that users term service (remote desktop) into. I'll re-test the log off issue with this service later today.

    The specific product I'm involved with requires just one server for cost reasons, so this limitation, and the problem with it not reconnecting, are major design and support issues.
     
    MikeS, Oct 29, 2004
    #11
  12. Greg Mortlock

    MikeS

    Joined:
    Sep 10, 2004
    Messages:
    6
    Likes Received:
    0
    Location:
    Perth, WA
    Issue tracking

    :confused: How do we get issue numbers so we know these problems are logged, we can track them and then check version/service pack release notes for resolutinons?
     
    MikeS, Nov 3, 2004
    #12
  13. Greg Mortlock

    Duncan

    Joined:
    Jul 23, 2004
    Messages:
    925
    Likes Received:
    0
    Location:
    Salinas de Garci Mendoza, Bolivia
    I hear you Mike. We DO have an internal change management system. The number for the defect wont be much use to you.. We're looking at changing to a web based change management system.. at that point we may start publicising defect numbers and referring to them in release notes.

    It wont happen overnight.. but it will happen
     
    Duncan, Nov 3, 2004
    #13
  14. Greg Mortlock

    MikeS

    Joined:
    Sep 10, 2004
    Messages:
    6
    Likes Received:
    0
    Location:
    Perth, WA
    Major Issues Solved

    :p
    The patch to bring our c-Gate up to v1.5.3 build 1103 has fixed our log off and disconnection issues. We discovered this by browsing the release notes - but shouldn't a clipsal rep have pointed us to this patch earlier? :(

    Note we've only tested these in a very limited way so far, but things have certainly improved! :D

    Lights out from me.
     
    MikeS, Nov 4, 2004
    #14
  15. Greg Mortlock

    rhamer

    Joined:
    Aug 3, 2004
    Messages:
    673
    Likes Received:
    3
    Location:
    Melbourne, Australia


    I'm interested in anybodys experience with Steves wrapper to make C-Gate run as a service.

    Anybody doing it this way?

    Rohan
     
    rhamer, Feb 11, 2005
    #15
  16. Greg Mortlock

    NickLocke

    Joined:
    Oct 27, 2004
    Messages:
    141
    Likes Received:
    0
    Works for me

    Yes, I now have a service happily humming away in the garage. It's running on W2003 Server Web Edition and, so far, seems happy.

    I can connect to it from Toolkit on a different PC with no problem. On that, one tip - if you are using DHCP, then perhaps better to have:

    Remote NickStudy Program

    rather than

    Remote 10.0.0.25 Program

    in the access.txt file. It;s one less thing to worry about when the DHCP lease expires.

    Nick
     
    NickLocke, Mar 20, 2005
    #16
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.