Error running logcat, need help

@nayelyz
I’m trying to run logcat and keep getting this error

 Error: Connection to XXX.XXX.X.XXX:9495 timed out. Ensure hub address is correct and try again

I have verified my IP address both on my router and in the IDE. I even tried rebooting the hub.

Can you check if you can make a telnet connection with the Hub, please?

The command is: telnet 192.168.1.107 9495

Here are some instructions to enable the Telnet command in different OS.

  • Windows
    The successful connection message scrolls by quickly and you are presented with a blinking cursor on a blank screen. (You can press Enter to return to the command prompt.)

I don’t know what is supposed to happen but I got the blinking cursor on the black screren

Hi, @Terri_Baker

I am Andres, a member of the Developer Support team.

That is weird. I need to ask you to run the logcat again but this time as it is specified here:

$ SMARTTHINGS_DEBUG=true smartthings <command>

This way you will be running the same command but collecting logs, and then please share those logs.

Hi @andresg
Forgive me but I’m new to CLI so I don’t think I’m doing this correct.

I am running CLI

VERSION
  @smartthings/cli/0.0.0-pre.31 win32-x64 node-v12.18.1

I type

smartthings.exe

then

$ SMARTTHINGS_DEBUG=true smartthings edge:drivers:logcat

I get this response

'$' is not recognized as an internal or external command,
operable program or batch file.

Hi, @Terri_Baker

Sorry, I think that work for Linux. Try this. First execute this command:

set SMARTTHINGS_DEBUG=true

then, execute

smartthings edge:drivers:logcat

As far as I am concerned this should be throwing some logs, please share them here.

I was able to get logcat running by updating the cli

1 Like

Excellent news @Terri_Baker!