Open edwolfe3 opened 3 years ago
I'm not sure off hand how to debug this. Unfortunately I don't have a bunch of switches that I can make into a group and try to reproduce the problem. I'll be out of town much of this week so I can't try anything but I will think about what I can do and why this might be happening. Maybe I'll post something on the openHAB community site and see if anyone has experienced this with another binding and if there is a solution.
Bob,
This is for thought until you get back in town. As you know the message originates from the following code in SmartThingsHandlerFactory.java::sendDeviceCommand():
ContentResponse response = httpClient
.newRequest(bridgeHandler.getSmartthingsIp(), bridgeHandler.getSmartthingsPort())
.timeout(3, TimeUnit.SECONDS).path(path).method(HttpMethod.POST)
.content(new StringContentProvider(data), "application/json").send();
Is there anyway the timeout value -- highlighted above -- could be made a thing parameter? The default of 3 seconds could remain, but I could then try making it longer and see if it cures my issue. I would try it but I’m not setup to build bindings therefore, I’m sure you could do it much faster than I.
Ed
From: Bob Raker notifications@github.com Sent: Tuesday, September 8, 2020 12:28 AM To: BobRak/OpenHAB-Smartthings OpenHAB-Smartthings@noreply.github.com Cc: edwolfe3 edwolfe@wolfecomputerservices.com; Author author@noreply.github.com Subject: Re: [BobRak/OpenHAB-Smartthings] What is your recomendation on how to handle this (#98)
I'm not sure off hand how to debug this. Unfortunately I don't have a bunch of switches that I can make into a group and try to reproduce the problem. I'll be out of town much of this week so I can't try anything but I will think about what I can do and why this might be happening. Maybe I'll post something on the openHAB community site and see if anyone has experienced this with another binding and if there is a solution.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/BobRak/OpenHAB-Smartthings/issues/98#issuecomment-688610496 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AJRFDTZ4WCY23ZQPS4U3ODLSEWXDZANCNFSM4Q6QFAJQ . https://github.com/notifications/beacon/AJRFDT6C674Y6O3JNTFXNVLSEWXDZA5CNFSM4Q6QFAJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFEFVZQA.gif
Yes I can make the timeout a variable. I'll need at least a week and maybe 2. In July the openHAB team was reviewing my binding and as a result I haven't kept my personal copy of the code up to date. So, I'll have to setup a new development environment and that always seems to take a chunk of a day. The plus side is that the discovery message in now simpler and maybe that will help with your other issue.
That sounds good! Just point me to the new jar when ready!
From: Bob Raker notifications@github.com Sent: Tuesday, September 8, 2020 5:31 PM To: BobRak/OpenHAB-Smartthings OpenHAB-Smartthings@noreply.github.com Cc: edwolfe3 edwolfe@wolfecomputerservices.com; Author author@noreply.github.com Subject: Re: [BobRak/OpenHAB-Smartthings] What is your recomendation on how to handle this (#98)
Yes I can make the timeout a variable. I'll need at least a week and maybe 2. In July the openHAB team was reviewing my binding and as a result I haven't kept my personal copy of the code up to date. So, I'll have to setup a new development environment and that always seems to take a chunk of a day. The plus side is that the discovery message in now simpler and maybe that will help with your other issue.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/BobRak/OpenHAB-Smartthings/issues/98#issuecomment-689146651 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AJRFDTYD66VETIX4GFTD2NDSE2PANANCNFSM4Q6QFAJQ . https://github.com/notifications/beacon/AJRFDTZFMST5JXAAKFV2XZLSE2PANA5CNFSM4Q6QFAJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFEJYWGY.gif
Hey Bob,
I shutdown and restarted the SmartThings binding. As you can see from the following output, the last item came online at 09:47:07.101, the first message about a timeout came at 2020-09-17 09:47:09.772. So this is not a “creeping” issue, it happens right off the bat when the binding starts. I hope this helps. If I can provide anything that would help debug this let me know. Otherwise, I’ll just wait for the update module with the timeout parameter.
Thanks,
Ed
[11:51:17] openhabian@openhab:~$ ping 172.32.10.140
PING 172.32.10.140 (172.32.10.140) 56(84) bytes of data.
64 bytes from 172.32.10.140: icmp_seq=1 ttl=64 time=0.199 ms
64 bytes from 172.32.10.140: icmp_seq=2 ttl=64 time=0.222 ms
64 bytes from 172.32.10.140: icmp_seq=3 ttl=64 time=0.202 ms
64 bytes from 172.32.10.140: icmp_seq=4 ttl=64 time=0.232 ms
64 bytes from 172.32.10.140: icmp_seq=5 ttl=64 time=0.209 ms
64 bytes from 172.32.10.140: icmp_seq=6 ttl=64 time=0.202 ms
2020-09-17 09:47:06.658 [hingStatusInfoChangedEvent] - 'smartthings:smartthings:House' changed from UNINITIALIZED to INITIALIZING
2020-09-17 09:47:06.668 [hingStatusInfoChangedEvent] - 'smartthings:smartthings:House' changed from INITIALIZING to ONLINE
2020-09-17 09:47:06.675 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:BedroomCeilingLight' changed from UNINITIALIZED to INITIALIZING
2020-09-17 09:47:06.684 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:BedroomCeilingLight' changed from INITIALIZING to ONLINE
2020-09-17 09:47:06.692 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:FrontDoorLight' changed from UNINITIALIZED to INITIALIZING
2020-09-17 09:47:06.703 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:FrontDoorLight' changed from INITIALIZING to ONLINE
2020-09-17 09:47:06.709 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:GarageRearSpotlight' changed from UNINITIALIZED to INITIALIZING
2020-09-17 09:47:06.718 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:GarageRearSpotlight' changed from INITIALIZING to ONLINE
2020-09-17 09:47:06.725 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:GaragePorchSpotlight' changed from UNINITIALIZED to INITIALIZING
2020-09-17 09:47:06.736 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:GaragePorchSpotlight' changed from INITIALIZING to ONLINE
2020-09-17 09:47:06.742 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:HouseSpotLight' changed from UNINITIALIZED to INITIALIZING
2020-09-17 09:47:06.751 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:HouseSpotLight' changed from INITIALIZING to ONLINE
2020-09-17 09:47:06.758 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:GuestRoomLight' changed from UNINITIALIZED to INITIALIZING
2020-09-17 09:47:06.768 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:GuestRoomLight' changed from INITIALIZING to ONLINE
2020-09-17 09:47:06.774 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:GuestRoomTelevisionOutlet' changed from UNINITIALIZED to INITIALIZING
2020-09-17 09:47:06.783 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:GuestRoomTelevisionOutlet' changed from INITIALIZING to ONLINE
2020-09-17 09:47:06.788 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:KitchenSinkLight' changed from UNINITIALIZED to INITIALIZING
2020-09-17 09:47:06.797 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:KitchenSinkLight' changed from INITIALIZING to ONLINE
2020-09-17 09:47:06.803 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:LivingRoomLamp' changed from UNINITIALIZED to INITIALIZING
2020-09-17 09:47:06.813 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:LivingRoomLamp' changed from INITIALIZING to ONLINE
2020-09-17 09:47:06.819 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:FrontYardAmplifier' changed from UNINITIALIZED to INITIALIZING
2020-09-17 09:47:06.830 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:FrontYardAmplifier' changed from INITIALIZING to ONLINE
2020-09-17 09:47:06.836 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:ShuffleboardCeilingLight' changed from UNINITIALIZED to INITIALIZING
2020-09-17 09:47:06.847 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:ShuffleboardCeilingLight' changed from INITIALIZING to ONLINE
2020-09-17 09:47:06.852 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:Dartboard' changed from UNINITIALIZED to INITIALIZING
2020-09-17 09:47:06.861 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:Dartboard' changed from INITIALIZING to ONLINE
2020-09-17 09:47:06.870 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:HomeCinemaCeilingLight' changed from UNINITIALIZED to INITIALIZING
2020-09-17 09:47:06.882 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:HomeCinemaCeilingLight' changed from INITIALIZING to ONLINE
2020-09-17 09:47:06.888 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:LaundryExhaustFan' changed from UNINITIALIZED to INITIALIZING
2020-09-17 09:47:06.897 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:LaundryExhaustFan' changed from INITIALIZING to ONLINE
2020-09-17 09:47:06.903 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:DiningRoomCeilingLight' changed from UNINITIALIZED to INITIALIZING
2020-09-17 09:47:06.913 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:DiningRoomCeilingLight' changed from INITIALIZING to ONLINE
2020-09-17 09:47:06.921 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:KitchenCounterLight' changed from UNINITIALIZED to INITIALIZING
2020-09-17 09:47:06.931 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:KitchenCounterLight' changed from INITIALIZING to ONLINE
2020-09-17 09:47:06.937 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:KitchenCeilingLight' changed from UNINITIALIZED to INITIALIZING
2020-09-17 09:47:06.946 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:KitchenCeilingLight' changed from INITIALIZING to ONLINE
2020-09-17 09:47:06.952 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:KitchenTableLight' changed from UNINITIALIZED to INITIALIZING
2020-09-17 09:47:06.961 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:KitchenTableLight' changed from INITIALIZING to ONLINE
2020-09-17 09:47:06.977 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:HomeCinemaFan' changed from UNINITIALIZED to INITIALIZING
2020-09-17 09:47:06.979 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:HomeCinemaFan' changed from INITIALIZING to ONLINE
2020-09-17 09:47:06.985 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:HomeCinemaFanLight' changed from UNINITIALIZED to INITIALIZING
2020-09-17 09:47:06.995 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:HomeCinemaFanLight' changed from INITIALIZING to ONLINE
2020-09-17 09:47:07.003 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:HomeCinemaTVLight' changed from UNINITIALIZED to INITIALIZING
2020-09-17 09:47:07.017 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:HomeCinemaTVLight' changed from INITIALIZING to ONLINE
2020-09-17 09:47:07.026 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:HomeCinemaSnackBarLight' changed from UNINITIALIZED to INITIALIZING
2020-09-17 09:47:07.038 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:HomeCinemaSnackBarLight' changed from INITIALIZING to ONLINE
2020-09-17 09:47:07.046 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:OfficeEdsDeskLight' changed from UNINITIALIZED to INITIALIZING
2020-09-17 09:47:07.058 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:OfficeEdsDeskLight' changed from INITIALIZING to ONLINE
2020-09-17 09:47:07.065 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:OfficeEdsDeskFan' changed from UNINITIALIZED to INITIALIZING
2020-09-17 09:47:07.076 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:OfficeEdsDeskFan' changed from INITIALIZING to ONLINE
2020-09-17 09:47:07.089 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:BrandonsHall' changed from UNINITIALIZED to INITIALIZING
2020-09-17 09:47:07.101 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:BrandonsHall' changed from INITIALIZING to ONLINE
2020-09-17 09:47:09.772 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub failed with exception: Total timeout 3000 ms elapsed
2020-09-17 09:47:09.772 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub failed with exception: Total timeout 3000 ms elapsed
2020-09-17 09:47:09.772 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub failed with exception: Total timeout 3000 ms elapsed
2020-09-17 09:47:09.772 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub failed with exception: Total timeout 3000 ms elapsed
2020-09-17 09:47:09.772 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub failed with exception: Total timeout 3000 ms elapsed
2020-09-17 09:47:12.775 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub failed with exception: Total timeout 3000 ms elapsed
2020-09-17 09:47:12.775 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub failed with exception: Total timeout 3000 ms elapsed
2020-09-17 09:47:12.776 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub failed with exception: Total timeout 3000 ms elapsed
2020-09-17 09:47:12.776 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub failed with exception: Total timeout 3000 ms elapsed
2020-09-17 09:47:12.775 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub failed with exception: Total timeout 3000 ms elapsed
2020-09-17 09:47:15.696 [INFO ] [inding.ecobee.internal.EcobeeBinding] - No Ecobee in-bindings have been found for selection.
2020-09-17 09:47:15.780 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub failed with exception: Total timeout 3000 ms elapsed
2020-09-17 09:47:15.780 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub failed with exception: Total timeout 3000 ms elapsed
2020-09-17 09:47:15.781 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub failed with exception: Total timeout 3000 ms elapsed
2020-09-17 09:47:15.781 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub failed with exception: Total timeout 3000 ms elapsed
2020-09-17 09:47:15.780 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub failed with exception: Total timeout 3000 ms elapsed
2020-09-17 09:47:18.783 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub failed with exception: Total timeout 3000 ms elapsed
2020-09-17 09:47:18.783 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub failed with exception: Total timeout 3000 ms elapsed
2020-09-17 09:47:18.784 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub failed with exception: Total timeout 3000 ms elapsed
2020-09-17 09:47:18.783 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub failed with exception: Total timeout 3000 ms elapsed
2020-09-17 09:47:18.786 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub failed with exception: Total timeout 3000 ms elapsed
2020-09-17 09:47:21.686 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub failed with exception: java.net.SocketTimeoutException: Connect Timeout
2020-09-17 09:47:21.686 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub failed with exception: java.net.SocketTimeoutException: Connect Timeout
2020-09-17 09:47:21.686 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub failed with exception: java.net.SocketTimeoutException: Connect Timeout
2020-09-17 09:47:21.686 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub failed with exception: java.net.SocketTimeoutException: Connect Timeout
2020-09-17 09:47:21.686 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub failed with exception: java.net.SocketTimeoutException: Connect Timeout
2020-09-17 09:47:21.706 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub failed with exception: java.net.SocketTimeoutException: Connect Timeout
2020-09-17 09:47:21.705 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub failed with exception: java.net.SocketTimeoutException: Connect Timeout
2020-09-17 09:47:21.706 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub failed with exception: java.net.SocketTimeoutException: Connect Timeout
2020-09-17 09:47:21.707 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub failed with exception: java.net.SocketTimeoutException: Connect Timeout
2020-09-17 09:47:21.705 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub failed with exception: java.net.SocketTimeoutException: Connect Timeout
2020-09-17 09:47:24.714 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub failed with exception: Total timeout 3000 ms elapsed
2020-09-17 09:47:24.713 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub failed with exception: Total timeout 3000 ms elapsed
2020-09-17 09:47:24.713 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub failed with exception: Total timeout 3000 ms elapsed
2020-09-17 09:47:24.715 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub failed with exception: Total timeout 3000 ms elapsed
Bob,
I could get you a Wire Shark trace if you can tell me what servers I should be watching. I’ve tried watching the SmartThings hub, and OpenHab Server but I don’t see any communication between them.
Thanks,
Ed
Bob,
Some more testing: I redid everything from the install again. When I tried a command with one device, there was no timeout message. So I tried my normal routine (which has 8 devices) and I saw a timeout message for each one. After that EVERY command receives a timeout. Note: Sending commands cause the problem, but updates (e.g. I turn on a light using the app) from the hub have no issue.
Ed
Ed: I am working on making the timeout changeable. I have the code done and tested. I have some additional changes to make as part of the code review and I want to get those done. I just saw the openHAB has a cutoff date of 9/30 for the next release which will be the last release for openhab 2.x. Not sure I am up to doing a conversion to openhab 3 but I guess I'll see how much work it is.
On one hand I am surprised by these timeout issues. The hub handles asynchronous communications. I.e. When a request is received the hub immediately (is supposed) to send an http-202 response. Then when the hub has time it will send the response back as a separate message. That is why the device handler has to have the IP, port and mac so it knows where to send the responses. Therefore the hub should be able to take in a lot of requests very quickly and them process them as time permits. That clearly isn't happening. One the other hand the hub is pretty slow and has to go to the cloud for a lot of requests.
I'll let you know when I get the timeout enhancement done. But, I really don't think it will help. It is also possible to set the program up to use asynchronous communications and I can implement that if necessary. That is of course more work and will therefore take a while.
Ed: I don't remember anyone else reporting anything similar over the past couple of years. That doesn't mean that others haven't had similar problems and just not reported them. I haven't seen anything similar myself. But, is there any chance this could be caused by a network connectivity problem in your network? Just asking.
I already thought of that. However, when the problem is occurring, I am able to use the app and amazon echo to successfully control the devices. Also, I believe I sent you a ping from the openhab server to the SmartThings hub. It returned all in less than a millisecond.
Bob,
I did a trace on the device in the SmartThings developer portal. As you see, there was a timeout message at 9:02:04, but no corresponding log file entry for that time. There are however other log entries coming from openhab at different times. All entries were originated from OpenHAB. 172.32.10.140 is my SmartThings Hub and 172.32.0.245 is my OpenHAB server
Ed
2020-09-18 09:02:04.868 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub failed with exception: Total timeout 3000 ms elapsed
6059a57b-b6ab-48bb-ba48-0410dc5878f2 9:03:52 AM: debug openhabUpdateHandler - found device for Eds Desk Fan
6059a57b-b6ab-48bb-ba48-0410dc5878f2 9:03:52 AM: debug Received device event from Message : [capabilityAttribute:level, capabilityKey:switchLevel, deviceDisplayName:Eds Desk Fan, hubStartTime:1600434232343, openHabStartTime:null, path:update, value:40]
6059a57b-b6ab-48bb-ba48-0410dc5878f2 9:03:52 AM: debug openhabUpdateHandler - found device for Eds Desk Fan
6059a57b-b6ab-48bb-ba48-0410dc5878f2 9:03:52 AM: debug Received device event from Message : [capabilityAttribute:switch, capabilityKey:switchLevel, deviceDisplayName:Eds Desk Fan, hubStartTime:1600434232093, openHabStartTime:null, path:update, value:on]
e38fd941-0d1a-4cd7-801b-5e58219999cf 9:03:52 AM: debug Creating event with message: [capabilityAttribute:level, capabilityKey:switchLevel, deviceDisplayName:Eds Desk Fan, hubStartTime:1600434232343, openHabStartTime:null, path:update, value:40]
e38fd941-0d1a-4cd7-801b-5e58219999cf 9:03:52 AM: debug Msg '[index:39, mac:DCA632560D97, headers:[content-length:114, accept-encoding:gzip, post /update http/1.1:null, host:172.32.10.140:39500, user-agent:Jetty/9.4.20.v20190813, content-type:application/json], body:{"capabilityKey": "switchLevel", "deviceDisplayName": "Eds Desk Fan", "capabilityAttribute": "level", "value": 40}, header:POST /update HTTP/1.1
Accept-Encoding: gzip
User-Agent: Jetty/9.4.20.v20190813
Content-Type: application/json
Host: 172.32.10.140:39500
Content-Length: 114, data:[capabilityAttribute:level, capabilityKey:switchLevel, deviceDisplayName:Eds Desk Fan, value:40], json:[capabilityAttribute:level, capabilityKey:switchLevel, deviceDisplayName:Eds Desk Fan, value:40]]'
e38fd941-0d1a-4cd7-801b-5e58219999cf 9:03:52 AM: debug Creating event with message: [capabilityAttribute:switch, capabilityKey:switchLevel, deviceDisplayName:Eds Desk Fan, hubStartTime:1600434232093, openHabStartTime:null, path:update, value:on]
e38fd941-0d1a-4cd7-801b-5e58219999cf 9:03:52 AM: debug Msg '[index:38, mac:DCA632560D97, headers:[content-length:117, accept-encoding:gzip, post /update http/1.1:null, host:172.32.10.140:39500, user-agent:Jetty/9.4.20.v20190813, content-type:application/json], body:{"capabilityKey": "switchLevel", "deviceDisplayName": "Eds Desk Fan", "capabilityAttribute": "switch", "value": "on"}, header:POST /update HTTP/1.1
Accept-Encoding: gzip
User-Agent: Jetty/9.4.20.v20190813
Content-Type: application/json
Host: 172.32.10.140:39500
Content-Length: 117, data:[capabilityAttribute:switch, capabilityKey:switchLevel, deviceDisplayName:Eds Desk Fan, value:on], json:[capabilityAttribute:switch, capabilityKey:switchLevel, deviceDisplayName:Eds Desk Fan, value:on]]'
e38fd941-0d1a-4cd7-801b-5e58219999cf 9:02:31 AM: debug Msg '[index:37, mac:DCA632560D97, ip:AC2000F5, port:1F90, requestId:9b92b13d-1338-4993-a787-e48139812b0c, headers:[content-length:0, http/1.1 200 ok:null, server:Jetty(9.4.20.v20190813)], body:null, header:HTTP/1.1 200 OK
Content-Length: 0
Server: Jetty(9.4.20.v20190813), status:200]'
6059a57b-b6ab-48bb-ba48-0410dc5878f2 9:02:31 AM: debug Forwarding device event to openhabDevice: {"path":"/smartthings/state","hubStartTime":1600434151211,"body":{"deviceDisplayName":"Eds Desk Lamp","value":"off","capabilityAttribute":"switch","hubTime":"--hubTime--"}}
6059a57b-b6ab-48bb-ba48-0410dc5878f2 9:02:31 AM: debug Entered input handler for "Eds Desk Lamp" with attribute "switch" changed to "off"
e38fd941-0d1a-4cd7-801b-5e58219999cf 9:02:31 AM: debug hub elapsed time is 54
e38fd941-0d1a-4cd7-801b-5e58219999cf 9:02:31 AM: debug Sending '{"path":"/smartthings/state","hubStartTime":1600434151211,"body":{"deviceDisplayName":"Eds Desk Lamp","value":"off","capabilityAttribute":"switch","hubTime":"--hubTime--"}}' to 172.32.0.245:8080 with mac: dc:a6:32:56:0d:97
6059a57b-b6ab-48bb-ba48-0410dc5878f2 9:02:27 AM: debug openhabUpdateHandler - found device for Eds Desk Lamp
6059a57b-b6ab-48bb-ba48-0410dc5878f2 9:02:27 AM: debug Received device event from Message : [capabilityAttribute:switch, capabilityKey:switchLevel, deviceDisplayName:Eds Desk Lamp, hubStartTime:1600434146678, openHabStartTime:null, path:update, value:off]
e38fd941-0d1a-4cd7-801b-5e58219999cf 9:02:26 AM: debug Creating event with message: [capabilityAttribute:switch, capabilityKey:switchLevel, deviceDisplayName:Family Room Fan, hubStartTime:1600434146735, openHabStartTime:null, path:update, value:off]
e38fd941-0d1a-4cd7-801b-5e58219999cf 9:02:26 AM: debug Msg '[index:35, mac:DCA632560D97, headers:[content-length:121, accept-encoding:gzip, post /update http/1.1:null, host:172.32.10.140:39500, user-agent:Jetty/9.4.20.v20190813, content-type:application/json], body:{"capabilityKey": "switchLevel", "deviceDisplayName": "Family Room Fan", "capabilityAttribute": "switch", "value": "off"}, header:POST /update HTTP/1.1
Accept-Encoding: gzip
User-Agent: Jetty/9.4.20.v20190813
Content-Type: application/json
Host: 172.32.10.140:39500
Content-Length: 121, data:[capabilityAttribute:switch, capabilityKey:switchLevel, deviceDisplayName:Family Room Fan, value:off], json:[capabilityAttribute:switch, capabilityKey:switchLevel, deviceDisplayName:Family Room Fan, value:off]]'
e38fd941-0d1a-4cd7-801b-5e58219999cf 9:02:26 AM: debug Creating event with message: [capabilityAttribute:switch, capabilityKey:switchLevel, deviceDisplayName:Eds Desk Lamp, hubStartTime:1600434146678, openHabStartTime:null, path:update, value:off]
e38fd941-0d1a-4cd7-801b-5e58219999cf 9:02:26 AM: debug Msg '[index:36, mac:DCA632560D97, headers:[content-length:119, accept-encoding:gzip, post /update http/1.1:null, host:172.32.10.140:39500, user-agent:Jetty/9.4.20.v20190813, content-type:application/json], body:{"capabilityKey": "switchLevel", "deviceDisplayName": "Eds Desk Lamp", "capabilityAttribute": "switch", "value": "off"}, header:POST /update HTTP/1.1
Accept-Encoding: gzip
User-Agent: Jetty/9.4.20.v20190813
Content-Type: application/json
Host: 172.32.10.140:39500
Content-Length: 119, data:[capabilityAttribute:switch, capabilityKey:switchLevel, deviceDisplayName:Eds Desk Lamp, value:off], json:[capabilityAttribute:switch, capabilityKey:switchLevel, deviceDisplayName:Eds Desk Lamp, value:off]]'
6059a57b-b6ab-48bb-ba48-0410dc5878f2 8:57:03 AM: debug openhabUpdateHandler - found device for Eds Desk Lamp
6059a57b-b6ab-48bb-ba48-0410dc5878f2 8:57:03 AM: debug Received device event from Message : [capabilityAttribute:switch, capabilityKey:switchLevel, deviceDisplayName:Eds Desk Lamp, hubStartTime:1600433823156, openHabStartTime:null, path:update, value:on]
e38fd941-0d1a-4cd7-801b-5e58219999cf 8:57:03 AM: debug Creating event with message: [capabilityAttribute:switch, capabilityKey:switchLevel, deviceDisplayName:Eds Desk Lamp, hubStartTime:1600433823156, openHabStartTime:null, path:update, value:on]
e38fd941-0d1a-4cd7-801b-5e58219999cf 8:57:03 AM: debug Msg '[index:34, mac:DCA632560D97, headers:[content-length:118, accept-encoding:gzip, post /update http/1.1:null, host:172.32.10.140:39500, user-agent:Jetty/9.4.20.v20190813, content-type:application/json], body:{"capabilityKey": "switchLevel", "deviceDisplayName": "Eds Desk Lamp", "capabilityAttribute": "switch", "value": "on"}, header:POST /update HTTP/1.1
Accept-Encoding: gzip
User-Agent: Jetty/9.4.20.v20190813
Content-Type: application/json
Host: 172.32.10.140:39500
Content-Length: 118, data:[capabilityAttribute:switch, capabilityKey:switchLevel, deviceDisplayName:Eds Desk Lamp, value:on], json:[capabilityAttribute:switch, capabilityKey:switchLevel, deviceDisplayName:Eds Desk Lamp, value:on]]'
8:55:23 AM: info Waiting on events...
8:55:23 AM: info For past logs for individual things go to the My Devices section, find the device and click on the Events link on the device information page.
8:55:23 AM: info This console provides live logging of your SmartThings.
Ed: I just updated the Smartthings jar file here . The code that is loaded to the hub has probably also changed so make sure to update that.
Do you have any idea why you are getting all of these timeouts? Do you think the problem is in the hub or in the openHAB code? I really don't have any idea. How long have you been using the Smartthings binding and has it ever worked right?
FYI: when the binding starts it launches a /discovery request to the hub. And, as it creates each Thing (device) it sends a /state request to get the current status. That way when you look at your dashboard it will be correct. It looks like you have a lot of devices so this could be quite a few requests. I only have about 10 devices so our experiences could definitely be different.
What platform is your openHAB server running on? I could potentially put together a group of commands that you could send to the hub and see if there is a response for each. That could help isolate. Have you ever used the curl command? Have you used tcpmon?
Bob
Bob,
I give the new code a try later today (I’ll do all the steps for the Samsung developer portal and app again as well).
I really can’t tell where the timeouts are coming from, you saw the trace I did (using the Samsung developer portal) which showed some commands getting through and others don’t. Maybe it is a particular control (I’m going to investigate that possibility next – if the new code doesn’t fix things). I’m not sure how all the pieces fit together (i.e. who calls what/when); you would probably be in a better position (based on the trace) to maybe know which part is having the problem. Remember, the SmartThings app works without problem and my Amazon Alexa’s can control it without glitches; so, it seams that it must come down to one or more parts of the binding. That is, unless it is one particular device – which has yet to be determined.
I’ve been using the binding for as long as I’ve been using OpenHAB. Somewhere around a year. It has had various issues of that time (the problem consistently changes). All of those problems seemed to have been taken care of when I added memory; but, then this came up.
I have do have a lot of devices (using various different bindings) including a lot of SmartThings. You’ll remember that I’ve opened another issue where the json couldn’t be parsed during discover(?); could that be somehow related to this issue? Could it be a problem with another binding I am using (see binding list below)? FYI: I’m having issues with both the SmartThings and Amazon Echo but all the rest are working fine. Don’t know if that helps you at all.
I’m running openHAB on Raspberry PI 4 Model B with 4GB RAM.
I’m willing to test your script (or whatever) that sends the commands if you want to send it to me. I’m somewhat familiar with curl, but not too familiar with tcpmon – but I have used it before.
Bindings I use (as copied from the PaperUI->Configuration->Bindings screen):
Amazon Echo Control Binding amazonechocontrol
Michael Geramb, Lukas Knoeller, Tom Blum
Astro Binding astro
Gerhard Riegler
Dark Sky Binding darksky
Christoph Weitkamp
Ecobee Binding ecobee
John Cocula
Exec Binding exec
Karel Goderis
Insteon Binding insteon
Rob Nielsen
Nest Binding nest
Network UPS Tools Binding networkupstools
Hilbrand Bouwkamp
Plex Binding plex
Jeroen Idserda
Smartthings smartthings
Bob Raker
WiFi LED Binding wifiled
Osman Basha, Stefan Endrullis,Ries van Twisk
Bob,
I just went ahead and installed it now. This is the process I followed to install:
[1] background bundle:install 203 https://sdlc-esd.oracle.com/ESD6/JSCDL/jdk/8u261-b12/a4634525489241b9a9e1aa73d9e118e6/jre-8u261-windows-i586-iftw.exe?GroupName=JSC
[2] background FilePath=/ESD6/JSCDL/jdk/8u261-b12/a4634525489241b9a9e1aa73d9e118e6/jre-8u261-windows-i586-iftw.exe
[3] background BHost=javadl.sun.com
[4] background File=jre-8u261-windows-i586-iftw.exe
[3] done BHost=javadl.sun.com
[2] done FilePath=/ESD6/JSCDL/jdk/8u261-b12/a4634525489241b9a9e1aa73d9e118e6/jre-8u261-windows-i586-iftw.exe
[4] done File=jre-8u261-windows-i586-iftw.exe
[2] background AuthParam=1598447776_252004d0bd4e335db50a300dfdf1298b
[2] done AuthParam=1598447776_252004d0bd4e335db50a300dfdf1298b
.exe
openhab> Bundle IDs:
[1] done bundle:install 203 https://sdlc-esd.oracle.com/ESD6/JSCDL/jdk/8u261-b12/a4634525489241b9a9e1aa73d9e118e6/jre-8u261-windows-i586-iftw.exe?GroupName=JSC
openhab>
openhab> bundle:list | grep Smart
245 x Installed x 80 x 2.5.9.202009181937 x openHAB Add-ons :: Bundles :: Samsung Smartthings Binding
openhab>
openhab> bundle:start 245
openhab>
and here is the log from where it started (I like having the control names in the message now). I’m now going to change the time out and see what it does.
2020-09-19 09:55:04.660 [hingStatusInfoChangedEvent] - 'smartthings:smartthings:House' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
2020-09-19 09:55:04.677 [hingStatusInfoChangedEvent] - 'smartthings:smartthings:House' changed from INITIALIZING to ONLINE
2020-09-19 09:55:04.709 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:FrontDoorLight' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
2020-09-19 09:55:04.710 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:BedroomCeilingLight' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
2020-09-19 09:55:04.711 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:HouseSpotLight' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
2020-09-19 09:55:04.715 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:GaragePorchSpotlight' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
2020-09-19 09:55:04.717 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:GarageRearSpotlight' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
2020-09-19 09:55:04.741 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:HouseSpotLight' changed from INITIALIZING to ONLINE
2020-09-19 09:55:04.746 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:FrontDoorLight' changed from INITIALIZING to ONLINE
2020-09-19 09:55:04.760 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:GaragePorchSpotlight' changed from INITIALIZING to ONLINE
2020-09-19 09:55:04.774 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:GarageRearSpotlight' changed from INITIALIZING to ONLINE
2020-09-19 09:55:04.776 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:KitchenSinkLight' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
2020-09-19 09:55:04.778 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:BedroomCeilingLight' changed from INITIALIZING to ONLINE
2020-09-19 09:55:04.782 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:GuestRoomTelevisionOutlet' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
2020-09-19 09:55:04.783 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:FrontYardAmplifier' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
2020-09-19 09:55:04.785 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:LivingRoomLamp' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
2020-09-19 09:55:04.800 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:GuestRoomLight' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
2020-09-19 09:55:04.802 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:KitchenSinkLight' changed from INITIALIZING to ONLINE
2020-09-19 09:55:04.806 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:ShuffleboardCeilingLight' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
2020-09-19 09:55:04.823 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:GuestRoomTelevisionOutlet' changed from INITIALIZING to ONLINE
2020-09-19 09:55:04.827 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:GuestRoomLight' changed from INITIALIZING to ONLINE
2020-09-19 09:55:04.829 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:LivingRoomLamp' changed from INITIALIZING to ONLINE
2020-09-19 09:55:04.834 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:Dartboard' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
2020-09-19 09:55:04.836 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:FrontYardAmplifier' changed from INITIALIZING to ONLINE
2020-09-19 09:55:04.838 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:HomeCinemaCeilingLight' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
2020-09-19 09:55:04.840 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:LaundryExhaustFan' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
2020-09-19 09:55:04.843 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:DiningRoomCeilingLight' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
2020-09-19 09:55:04.846 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:ShuffleboardCeilingLight' changed from INITIALIZING to ONLINE
2020-09-19 09:55:04.849 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:HomeCinemaCeilingLight' changed from INITIALIZING to ONLINE
2020-09-19 09:55:04.853 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:KitchenCounterLight' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
2020-09-19 09:55:04.864 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:Dartboard' changed from INITIALIZING to ONLINE
2020-09-19 09:55:04.866 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:KitchenCeilingLight' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
2020-09-19 09:55:04.872 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:KitchenTableLight' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
2020-09-19 09:55:04.881 [hingStatusInfoChangedEvent] - 'smartthings:switch:House:LaundryExhaustFan' changed from INITIALIZING to ONLINE
2020-09-19 09:55:04.893 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:DiningRoomCeilingLight' changed from INITIALIZING to ONLINE
2020-09-19 09:55:04.899 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:HomeCinemaFan' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
2020-09-19 09:55:04.905 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:KitchenCounterLight' changed from INITIALIZING to ONLINE
2020-09-19 09:55:04.909 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:HomeCinemaTVLight' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
2020-09-19 09:55:04.931 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:HomeCinemaFanLight' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
2020-09-19 09:55:04.936 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:KitchenTableLight' changed from INITIALIZING to ONLINE
2020-09-19 09:55:04.941 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:KitchenCeilingLight' changed from INITIALIZING to ONLINE
2020-09-19 09:55:04.946 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:HomeCinemaSnackBarLight' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
2020-09-19 09:55:04.948 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:OfficeEdsDeskLight' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
2020-09-19 09:55:04.950 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:HomeCinemaTVLight' changed from INITIALIZING to ONLINE
2020-09-19 09:55:04.952 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:HomeCinemaFanLight' changed from INITIALIZING to ONLINE
2020-09-19 09:55:04.956 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:OfficeEdsDeskFan' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
2020-09-19 09:55:04.958 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:BrandonsHall' changed from UNINITIALIZED (HANDLER_MISSING_ERROR) to INITIALIZING
2020-09-19 09:55:04.960 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:OfficeEdsDeskLight' changed from INITIALIZING to ONLINE
2020-09-19 09:55:04.966 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:HomeCinemaFan' changed from INITIALIZING to ONLINE
2020-09-19 09:55:04.972 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:HomeCinemaSnackBarLight' changed from INITIALIZING to ONLINE
2020-09-19 09:55:04.979 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:OfficeEdsDeskFan' changed from INITIALIZING to ONLINE
2020-09-19 09:55:04.981 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:BrandonsHall' changed from INITIALIZING to ONLINE
2020-09-19 09:55:05.335 [vent.ItemStateChangedEvent] - O_House_SpotLight changed from NULL to OFF
==> /var/log/openhab2/openhab.log <==
2020-09-19 09:55:07.875 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Front Door Light failed with exception: Total timeout 3000 ms elapsed
2020-09-19 09:55:07.875 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Guest Room Television failed with exception: Total timeout 3000 ms elapsed
2020-09-19 09:55:07.876 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Bedroom Light failed with exception: Total timeout 3000 ms elapsed
2020-09-19 09:55:07.878 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Kitchen Sink failed with exception: Total timeout 3000 ms elapsed
2020-09-19 09:55:07.875 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Garage Porch Spotlight failed with exception: Total timeout 3000 ms elapsed
2020-09-19 09:55:10.881 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Guest Room Light failed with exception: Total timeout 3000 ms elapsed
2020-09-19 09:55:10.881 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Living Room Lamp failed with exception: Total timeout 3000 ms elapsed
2020-09-19 09:55:10.882 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Shuffleboard Ceiling Light failed with exception: Total timeout 3000 ms elapsed
2020-09-19 09:55:10.883 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Theater Ceiling Light failed with exception: Total timeout 3000 ms elapsed
2020-09-19 09:55:10.881 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Outside Amp failed with exception: Total timeout 3000 ms elapsed
2020-09-19 09:55:13.887 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Dartboard failed with exception: Total timeout 3000 ms elapsed
2020-09-19 09:55:13.887 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Laundry Exhaust Fan failed with exception: Total timeout 3000 ms elapsed
2020-09-19 09:55:13.888 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Dining Room failed with exception: Total timeout 3000 ms elapsed
2020-09-19 09:55:13.887 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Dining Room failed with exception: Total timeout 3000 ms elapsed
2020-09-19 09:55:13.888 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Kitchen Counter failed with exception: Total timeout 3000 ms elapsed
2020-09-19 09:55:16.893 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Kitchen Main failed with exception: Total timeout 3000 ms elapsed
2020-09-19 09:55:16.893 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Kitchen Counter failed with exception: Total timeout 3000 ms elapsed
2020-09-19 09:55:16.894 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Over Family Room TV Light failed with exception: Total timeout 3000 ms elapsed
2020-09-19 09:55:16.893 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Kitchen Table Light failed with exception: Total timeout 3000 ms elapsed
2020-09-19 09:55:16.896 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Kitchen Main failed with exception: Total timeout 3000 ms elapsed
2020-09-19 09:55:19.768 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Family Room Light failed with exception: java.net.SocketTimeoutException: Connect Timeout
2020-09-19 09:55:19.769 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Over Family Room TV Light failed with exception: java.net.SocketTimeoutException: Connect Timeout
2020-09-19 09:55:19.768 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Family Room Light failed with exception: java.net.SocketTimeoutException: Connect Timeout
2020-09-19 09:55:19.768 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Lamp failed with exception: java.net.SocketTimeoutException: Connect Timeout
2020-09-19 09:55:19.769 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Lamp failed with exception: java.net.SocketTimeoutException: Connect Timeout
2020-09-19 09:55:19.860 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Snack Bar Light failed with exception: java.net.SocketTimeoutException: Connect Timeout
2020-09-19 09:55:19.860 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Snack Bar Light failed with exception: java.net.SocketTimeoutException: Connect Timeout
2020-09-19 09:55:19.860 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Family Room Fan failed with exception: java.net.SocketTimeoutException: Connect Timeout
2020-09-19 09:55:19.862 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Fan failed with exception: java.net.SocketTimeoutException: Connect Timeout
2020-09-19 09:55:20.249 [WARN ] [rtthings.internal.SmartthingsServlet] - Error message from Smartthings: Requested current state information for CAPABILITY: "switchLevel" with attribute: "switch" but this is attribute not defined for this capability in the SmartApp
2020-09-19 09:55:20.290 [WARN ] [rtthings.internal.SmartthingsServlet] - Error message from Smartthings: Requested current state information for CAPABILITY: "switchLevel" with attribute: "switch" but this is attribute not defined for this capability in the SmartApp
2020-09-19 09:55:22.864 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Fan failed with exception: Total timeout 3000 ms elapsed
2020-09-19 09:55:22.864 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Brandons Hall failed with exception: Total timeout 3000 ms elapsed
Bob,
Okay, I added the parameter “smartthingsTmeout=10” to the bridge definition:
2020-09-19 10:14:14.954 [INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model 'House.things'
Bridge smartthings:smartthings:House [smartthingsTimeout=10,smartthingsIp="172.32.10.140", smartthingsPort=39500] {
Thing switch BedroomCeilingLight [smartthingsName="Bedroom Light"]
Thing switch FrontDoorLight [smartthingsName="Front Door Light"]
Thing switch GarageRearSpotlight [smartthingsName="Garage Back Spotlight"]
Thing switch GaragePorchSpotlight [smartthingsName="Garage Porch Spotlight"]
Thing switch HouseSpotLight [smartthingsName="House Spot Light"]
Thing switch GuestRoomLight [smartthingsName="Guest Room Light"]
Thing switch GuestRoomTelevisionOutlet [smartthingsName="Guest Room Television"]
Thing switch KitchenSinkLight [smartthingsName="Kitchen Sink"]
Thing switch LivingRoomLamp [smartthingsName="Living Room Lamp"]
Thing switch FrontYardAmplifier [smartthingsName="Outside Amp"]
Thing switch ShuffleboardCeilingLight [smartthingsName="Shuffleboard Ceiling Light"]
Thing switch Dartboard [smartthingsName="Dartboard"]
Thing switch HomeCinemaCeilingLight [smartthingsName="Theater Ceiling Light"]
Thing switch LaundryExhaustFan [smartthingsName="Laundry Exhaust Fan"]
Thing switchLevel DiningRoomCeilingLight [smartthingsName="Dining Room"]
Thing switchLevel KitchenCounterLight [smartthingsName="Kitchen Counter"]
Thing switchLevel KitchenCeilingLight [smartthingsName="Kitchen Main"]
Thing switchLevel KitchenTableLight [smartthingsName="Kitchen Table Light"]
Thing switchLevel HomeCinemaFan [smartthingsName="Family Room Fan"]
Thing switchLevel HomeCinemaFanLight [smartthingsName="Family Room Light"]
Thing switchLevel HomeCinemaTVLight [smartthingsName="Over Family Room TV Light"]
Thing switchLevel HomeCinemaSnackBarLight [smartthingsName="Snack Bar Light"]
Thing switchLevel OfficeEdsDeskLight [smartthingsName="Eds Desk Lamp"]
Thing switchLevel OfficeEdsDeskFan [smartthingsName="Eds Desk Fan"]
Thing switchLevel BrandonsHall [smartthingsName="Brandons Hall"]
}
However …
2020-09-19 10:14:14.954 [INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model 'House.things'
2020-09-19 10:17:04.255 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Lamp failed with exception: Total timeout 3000 ms elapsed
2020-09-19 10:17:48.948 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Family Room Fan failed with exception: Total timeout 3000 ms elapsed
Ed
The timeout has to go on the Thigh definitions, not the bridge.
Bob,
Well, your hunch was right, the increased timeout didn’t make a difference. It looks like (correct me if I’m wrong) that sometimes the call works, sometime it doesn’t and it isn’t based on the device or even the number of calls being made. Did you put the asynchronous calls in? If so, how do I activate it or is just “doing it”?
2020-09-19 14:21:02.960 [INFO ] [el.core.internal.ModelRepositoryImpl] - Refreshing model 'House.things'
2020-09-19 14:22:58.162 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:HomeCinemaTVLight' changed from INITIALIZING to ONLINE
2020-09-19 14:22:58.170 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:OfficeEdsDeskLight' changed from INITIALIZING to ONLINE
2020-09-19 14:22:58.175 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:OfficeEdsDeskFan' changed from INITIALIZING to ONLINE
2020-09-19 14:22:58.177 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:HomeCinemaSnackBarLight' changed from INITIALIZING to ONLINE
2020-09-19 14:22:58.179 [hingStatusInfoChangedEvent] - 'smartthings:switchLevel:House:BrandonsHall' changed from INITIALIZING to ONLINE
2020-09-19 14:22:58.271 [me.event.ThingUpdatedEvent] - Thing 'smartthings:switch:House:BedroomCeilingLight' has been updated.
2020-09-19 14:22:58.281 [me.event.ThingUpdatedEvent] - Thing 'smartthings:switch:House:FrontDoorLight' has been updated.
2020-09-19 14:22:58.291 [me.event.ThingUpdatedEvent] - Thing 'smartthings:switch:House:GarageRearSpotlight' has been updated.
2020-09-19 14:22:58.301 [me.event.ThingUpdatedEvent] - Thing 'smartthings:switch:House:GaragePorchSpotlight' has been updated.
2020-09-19 14:22:58.310 [me.event.ThingUpdatedEvent] - Thing 'smartthings:switch:House:HouseSpotLight' has been updated.
2020-09-19 14:22:58.320 [me.event.ThingUpdatedEvent] - Thing 'smartthings:switch:House:GuestRoomLight' has been updated.
2020-09-19 14:22:58.330 [me.event.ThingUpdatedEvent] - Thing 'smartthings:switch:House:GuestRoomTelevisionOutlet' has been updated.
2020-09-19 14:22:58.341 [me.event.ThingUpdatedEvent] - Thing 'smartthings:switch:House:KitchenSinkLight' has been updated.
2020-09-19 14:22:58.352 [me.event.ThingUpdatedEvent] - Thing 'smartthings:switch:House:LivingRoomLamp' has been updated.
2020-09-19 14:22:58.362 [me.event.ThingUpdatedEvent] - Thing 'smartthings:switch:House:FrontYardAmplifier' has been updated.
2020-09-19 14:22:58.372 [me.event.ThingUpdatedEvent] - Thing 'smartthings:switch:House:ShuffleboardCeilingLight' has been updated.
2020-09-19 14:22:58.381 [me.event.ThingUpdatedEvent] - Thing 'smartthings:switch:House:Dartboard' has been updated.
2020-09-19 14:22:58.391 [me.event.ThingUpdatedEvent] - Thing 'smartthings:switch:House:HomeCinemaCeilingLight' has been updated.
2020-09-19 14:22:58.402 [me.event.ThingUpdatedEvent] - Thing 'smartthings:switch:House:LaundryExhaustFan' has been updated.
2020-09-19 14:22:58.413 [me.event.ThingUpdatedEvent] - Thing 'smartthings:switchLevel:House:DiningRoomCeilingLight' has been updated.
2020-09-19 14:22:58.424 [me.event.ThingUpdatedEvent] - Thing 'smartthings:switchLevel:House:KitchenCounterLight' has been updated.
2020-09-19 14:22:58.435 [me.event.ThingUpdatedEvent] - Thing 'smartthings:switchLevel:House:KitchenCeilingLight' has been updated.
2020-09-19 14:22:58.446 [me.event.ThingUpdatedEvent] - Thing 'smartthings:switchLevel:House:KitchenTableLight' has been updated.
2020-09-19 14:22:58.456 [me.event.ThingUpdatedEvent] - Thing 'smartthings:switchLevel:House:HomeCinemaFan' has been updated.
2020-09-19 14:22:58.467 [me.event.ThingUpdatedEvent] - Thing 'smartthings:switchLevel:House:HomeCinemaFanLight' has been updated.
2020-09-19 14:22:58.477 [me.event.ThingUpdatedEvent] - Thing 'smartthings:switchLevel:House:HomeCinemaTVLight' has been updated.
2020-09-19 14:22:58.488 [me.event.ThingUpdatedEvent] - Thing 'smartthings:switchLevel:House:HomeCinemaSnackBarLight' has been updated.
2020-09-19 14:22:58.500 [me.event.ThingUpdatedEvent] - Thing 'smartthings:switchLevel:House:OfficeEdsDeskLight' has been updated.
2020-09-19 14:22:58.518 [me.event.ThingUpdatedEvent] - Thing 'smartthings:switchLevel:House:OfficeEdsDeskFan' has been updated.
2020-09-19 14:22:58.540 [me.event.ThingUpdatedEvent] - Thing 'smartthings:switchLevel:House:BrandonsHall' has been updated.
==> /var/log/openhab2/openhab.log <==
2020-09-19 14:23:08.055 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Guest Room Television failed with exception: Total timeout 10000 ms elapsed
2020-09-19 14:23:08.055 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Bedroom Light failed with exception: Total timeout 10000 ms elapsed
2020-09-19 14:23:08.056 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Front Door Light failed with exception: Total timeout 10000 ms elapsed
2020-09-19 14:23:08.054 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Garage Porch Spotlight failed with exception: Total timeout 10000 ms elapsed
2020-09-19 14:23:08.057 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Kitchen Sink failed with exception: Total timeout 10000 ms elapsed
2020-09-19 14:24:57.350 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Fan failed with exception: Total timeout 10000 ms elapsed
2020-09-19 14:27:11.272 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Lamp failed with exception: Total timeout 10000 ms elapsed
As another test, I put 30 seconds in, but as you can see, SocketTimeoutException occurred:
2020-09-19 14:31:03.596 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for House Spot Light failed with exception: java.net.SocketTimeoutException: Connect Timeout
2020-09-19 14:31:03.596 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Bedroom Light failed with exception: java.net.SocketTimeoutException: Connect Timeout
2020-09-19 14:31:03.597 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Guest Room Light failed with exception: java.net.SocketTimeoutException: Connect Timeout
2020-09-19 14:31:03.596 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Garage Porch Spotlight failed with exception: java.net.SocketTimeoutException: Connect Timeout
2020-09-19 14:31:03.598 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Front Door Light failed with exception: java.net.SocketTimeoutException:
I did a sudo tcpdump -nnSXv dst 172.32.10.140 and the output is below.
2020-09-19 14:58:50.546 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Family Room Fan failed with exception: Total timeout 10000 ms elapsed
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 262144 bytes
14:58:40.545954 IP (tos 0x0, ttl 64, id 859, offset 0, flags [DF], proto TCP (6), length 60)
172.32.0.245.57226 > 172.32.10.140.39500: Flags [S], cksum 0xe3af (correct), seq 1614631875, win 64240, options [mss 1460,sackOK,TS val 3937922317 ecr 0,nop,wscale 7], length 0
0x0000: 4500 003c 035b 4000 4006 d39f ac20 00f5 E..<.[@.@.......
0x0010: ac20 0a8c df8a 9a4c 603d 53c3 0000 0000 .......L`=S.....
0x0020: a002 faf0 e3af 0000 0204 05b4 0402 080a ................
0x0030: eab7 ed0d 0000 0000 0103 0307 ............
14:58:41.577975 IP (tos 0x0, ttl 64, id 860, offset 0, flags [DF], proto TCP (6), length 60)
172.32.0.245.57226 > 172.32.10.140.39500: Flags [S], cksum 0xdfa7 (correct), seq 1614631875, win 64240, options [mss 1460,sackOK,TS val 3937923349 ecr 0,nop,wscale 7], length 0
0x0000: 4500 003c 035c 4000 4006 d39e ac20 00f5 E..<.\@.@.......
0x0010: ac20 0a8c df8a 9a4c 603d 53c3 0000 0000 .......L`=S.....
0x0020: a002 faf0 dfa7 0000 0204 05b4 0402 080a ................
0x0030: eab7 f115 0000 0000 0103 0307 ............
14:58:43.657988 IP (tos 0x0, ttl 64, id 861, offset 0, flags [DF], proto TCP (6), length 60)
172.32.0.245.57226 > 172.32.10.140.39500: Flags [S], cksum 0xd787 (correct), seq 1614631875, win 64240, options [mss 1460,sackOK,TS val 3937925429 ecr 0,nop,wscale 7], length 0
0x0000: 4500 003c 035d 4000 4006 d39d ac20 00f5 E..<.]@.@.......
0x0010: ac20 0a8c df8a 9a4c 603d 53c3 0000 0000 .......L`=S.....
0x0020: a002 faf0 d787 0000 0204 05b4 0402 080a ................
0x0030: eab7 f935 0000 0000 0103 0307 ...5........
14:58:45.577983 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 172.32.10.140 tell 172.32.0.245, length 28
0x0000: 0001 0800 0604 0001 dca6 3256 0d97 ac20 ..........2V....
0x0010: 00f5 0000 0000 0000 ac20 0a8c ............
14:58:47.738000 IP (tos 0x0, ttl 64, id 862, offset 0, flags [DF], proto TCP (6), length 60)
172.32.0.245.57226 > 172.32.10.140.39500: Flags [S], cksum 0xc797 (correct), seq 1614631875, win 64240, options [mss 1460,sackOK,TS val 3937929509 ecr 0,nop,wscale 7], length 0
0x0000: 4500 003c 035e 4000 4006 d39c ac20 00f5 E..<.^@.@.......
0x0010: ac20 0a8c df8a 9a4c 603d 53c3 0000 0000 .......L`=S.....
0x0020: a002 faf0 c797 0000 0204 05b4 0402 080a ................
0x0030: eab8 0925 0000 0000 0103 0307 ...%........
^C
5 packets captured
5 packets received by filter
0 packets dropped by kernel
One more trace:
2020-09-19 15:24:13.333 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Fan failed with exception: Total timeout 10000 ms elapsed
15:22:01.236751 IP (tos 0x0, ttl 64, id 7060, offset 0, flags [DF], proto TCP (6), length 60)
172.32.0.245.60384 > 172.32.10.140.39500: Flags [S], cksum 0x98bd (correct), seq 94080378, win 64240, options [mss 1460,sackOK,TS val 3939323007 ecr 0,nop,wscale 7], length 0
0x0000: 4500 003c 1b94 4000 4006 bb66 ac20 00f5 E..<..@.@..f....
0x0010: ac20 0a8c ebe0 9a4c 059b 8d7a 0000 0000 .......L...z....
0x0020: a002 faf0 98bd 0000 0204 05b4 0402 080a ................
0x0030: eacd 4c7f 0000 0000 0103 0307 ..L.........
15:22:01.236991 IP (tos 0x0, ttl 64, id 7061, offset 0, flags [DF], proto TCP (6), length 52)
172.32.0.245.60384 > 172.32.10.140.39500: Flags [.], cksum 0x12f0 (correct), ack 1757955597, win 502, options [nop,nop,TS val 3939323008 ecr 154858867], length 0
0x0000: 4500 0034 1b95 4000 4006 bb6d ac20 00f5 E..4..@.@..m....
0x0010: ac20 0a8c ebe0 9a4c 059b 8d7b 68c8 460d .......L...{h.F.
0x0020: 8010 01f6 12f0 0000 0101 080a eacd 4c80 ..............L.
0x0030: 093a f573 .:.s
15:22:01.240032 IP (tos 0x0, ttl 64, id 7062, offset 0, flags [DF], proto TCP (6), length 335)
172.32.0.245.60384 > 172.32.10.140.39500: Flags [P.], cksum 0x5821 (correct), seq 94080379:94080662, ack 1757955597, win 502, options [nop,nop,TS val 3939323011 ecr 154858867], length 283
0x0000: 4500 014f 1b96 4000 4006 ba51 ac20 00f5 E..O..@.@..Q....
0x0010: ac20 0a8c ebe0 9a4c 059b 8d7b 68c8 460d .......L...{h.F.
0x0020: 8018 01f6 5821 0000 0101 080a eacd 4c83 ....X!........L.
0x0030: 093a f573 504f 5354 202f 7570 6461 7465 .:.sPOST./update
0x0040: 2048 5454 502f 312e 310d 0a41 6363 6570 .HTTP/1.1..Accep
0x0050: 742d 456e 636f 6469 6e67 3a20 677a 6970 t-Encoding:.gzip
0x0060: 0d0a 5573 6572 2d41 6765 6e74 3a20 4a65 ..User-Agent:.Je
0x0070: 7474 792f 392e 342e 3230 2e76 3230 3139 tty/9.4.20.v2019
0x0080: 3038 3133 0d0a 436f 6e74 656e 742d 5479 0813..Content-Ty
0x0090: 7065 3a20 6170 706c 6963 6174 696f 6e2f pe:.application/
0x00a0: 6a73 6f6e 0d0a 486f 7374 3a20 3137 322e json..Host:.172.
0x00b0: 3332 2e31 302e 3134 303a 3339 3530 300d 32.10.140:39500.
0x00c0: 0a43 6f6e 7465 6e74 2d4c 656e 6774 683a .Content-Length:
0x00d0: 2031 3139 0d0a 0d0a 7b22 6361 7061 6269 .119....{"capabi
0x00e0: 6c69 7479 4b65 7922 3a20 2273 7769 7463 lityKey":."switc
0x00f0: 684c 6576 656c 222c 2022 6465 7669 6365 hLevel",."device
0x0100: 4469 7370 6c61 794e 616d 6522 3a20 2245 DisplayName":."E
0x0110: 6473 2044 6573 6b20 4c61 6d70 222c 2022 ds.Desk.Lamp",."
0x0120: 6361 7061 6269 6c69 7479 4174 7472 6962 capabilityAttrib
0x0130: 7574 6522 3a20 2273 7769 7463 6822 2c20 ute":."switch",.
0x0140: 2276 616c 7565 223a 2022 6f66 6622 7d "value":."off"}
15:22:01.267987 IP (tos 0x0, ttl 64, id 7063, offset 0, flags [DF], proto TCP (6), length 52)
172.32.0.245.60384 > 172.32.10.140.39500: Flags [.], cksum 0x1187 (correct), ack 1757955641, win 502, options [nop,nop,TS val 3939323039 ecr 154858870], length 0
0x0000: 4500 0034 1b97 4000 4006 bb6b ac20 00f5 E..4..@.@..k....
0x0010: ac20 0a8c ebe0 9a4c 059b 8e96 68c8 4639 .......L....h.F9
0x0020: 8010 01f6 1187 0000 0101 080a eacd 4c9f ..............L.
0x0030: 093a f576 .:.v
15:22:01.294731 IP (tos 0x0, ttl 64, id 7064, offset 0, flags [DF], proto TCP (6), length 52)
172.32.0.245.60384 > 172.32.10.140.39500: Flags [F.], cksum 0x1168 (correct), seq 94080662, ack 1757955642, win 502, options [nop,nop,TS val 3939323065 ecr 154858873], length 0
0x0000: 4500 0034 1b98 4000 4006 bb6a ac20 00f5 E..4..@.@..j....
0x0010: ac20 0a8c ebe0 9a4c 059b 8e96 68c8 463a .......L....h.F:
0x0020: 8011 01f6 1168 0000 0101 080a eacd 4cb9 .....h........L.
0x0030: 093a f579 .:.y
15:22:06.297984 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 172.32.10.140 tell 172.32.0.245, length 28
0x0000: 0001 0800 0604 0001 dca6 3256 0d97 ac20 ..........2V....
0x0010: 00f5 0000 0000 0000 ac20 0a8c ............
15:24:03.333105 IP (tos 0x0, ttl 64, id 3779, offset 0, flags [DF], proto TCP (6), length 60)
172.32.0.245.60652 > 172.32.10.140.39500: Flags [S], cksum 0x1f94 (correct), seq 3322243130, win 64240, options [mss 1460,sackOK,TS val 3939445104 ecr 0,nop,wscale 7], length 0
0x0000: 4500 003c 0ec3 4000 4006 c837 ac20 00f5 E..<..@.@..7....
0x0010: ac20 0a8c ecec 9a4c c605 683a 0000 0000 .......L..h:....
0x0020: a002 faf0 1f94 0000 0204 05b4 0402 080a ................
0x0030: eacf 2970 0000 0000 0103 0307 ..)p........
15:24:04.377992 IP (tos 0x0, ttl 64, id 3780, offset 0, flags [DF], proto TCP (6), length 60)
172.32.0.245.60652 > 172.32.10.140.39500: Flags [S], cksum 0x1b7f (correct), seq 3322243130, win 64240, options [mss 1460,sackOK,TS val 3939446149 ecr 0,nop,wscale 7], length 0
0x0000: 4500 003c 0ec4 4000 4006 c836 ac20 00f5 E..<..@.@..6....
0x0010: ac20 0a8c ecec 9a4c c605 683a 0000 0000 .......L..h:....
0x0020: a002 faf0 1b7f 0000 0204 05b4 0402 080a ................
0x0030: eacf 2d85 0000 0000 0103 0307 ..-.........
15:24:06.457992 IP (tos 0x0, ttl 64, id 3781, offset 0, flags [DF], proto TCP (6), length 60)
172.32.0.245.60652 > 172.32.10.140.39500: Flags [S], cksum 0x135f (correct), seq 3322243130, win 64240, options [mss 1460,sackOK,TS val 3939448229 ecr 0,nop,wscale 7], length 0
0x0000: 4500 003c 0ec5 4000 4006 c835 ac20 00f5 E..<..@.@..5....
0x0010: ac20 0a8c ecec 9a4c c605 683a 0000 0000 .......L..h:....
0x0020: a002 faf0 135f 0000 0204 05b4 0402 080a ....._..........
0x0030: eacf 35a5 0000 0000 0103 0307 ..5.........
15:24:08.377992 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 172.32.10.140 tell 172.32.0.245, length 28
0x0000: 0001 0800 0604 0001 dca6 3256 0d97 ac20 ..........2V....
0x0010: 00f5 0000 0000 0000 ac20 0a8c ............
15:24:10.537981 IP (tos 0x0, ttl 64, id 3782, offset 0, flags [DF], proto TCP (6), length 60)
172.32.0.245.60652 > 172.32.10.140.39500: Flags [S], cksum 0x036f (correct), seq 3322243130, win 64240, options [mss 1460,sackOK,TS val 3939452309 ecr 0,nop,wscale 7], length 0
0x0000: 4500 003c 0ec6 4000 4006 c834 ac20 00f5 E..<..@.@..4....
0x0010: ac20 0a8c ecec 9a4c c605 683a 0000 0000 .......L..h:....
0x0020: a002 faf0 036f 0000 0204 05b4 0402 080a .....o..........
0x0030: eacf 4595 0000 0000 0103 0307 ..E.........
15:25:08.235105 IP (tos 0x0, ttl 64, id 19835, offset 0, flags [DF], proto TCP (6), length 60)
172.32.0.245.60798 > 172.32.10.140.39500: Flags [S], cksum 0xdd18 (correct), seq 3568606701, win 64240, options [mss 1460,sackOK,TS val 3939510006 ecr 0,nop,wscale 7], length 0
0x0000: 4500 003c 4d7b 4000 4006 897f ac20 00f5 E..<M{@.@.......
0x0010: ac20 0a8c ed7e 9a4c d4b4 9ded 0000 0000 .....~.L........
0x0020: a002 faf0 dd18 0000 0204 05b4 0402 080a ................
0x0030: ead0 26f6 0000 0000 0103 0307 ..&.........
15:25:08.235339 IP (tos 0x0, ttl 64, id 19836, offset 0, flags [DF], proto TCP (6), length 52)
172.32.0.245.60798 > 172.32.10.140.39500: Flags [.], cksum 0xa3f7 (correct), ack 711126715, win 502, options [nop,nop,TS val 3939510006 ecr 154877567], length 0
0x0000: 4500 0034 4d7c 4000 4006 8986 ac20 00f5 E..4M|@.@.......
0x0010: ac20 0a8c ed7e 9a4c d4b4 9dee 2a62 eebb .....~.L....*b..
0x0020: 8010 01f6 a3f7 0000 0101 080a ead0 26f6 ..............&.
0x0030: 093b 3e7f .;>.
15:25:08.237675 IP (tos 0x0, ttl 64, id 19837, offset 0, flags [DF], proto TCP (6), length 334)
172.32.0.245.60798 > 172.32.10.140.39500: Flags [P.], cksum 0x9eeb (correct), seq 3568606702:3568606984, ack 711126715, win 502, options [nop,nop,TS val 3939510008 ecr 154877567], length 282
0x0000: 4500 014e 4d7d 4000 4006 886b ac20 00f5 E..NM}@.@..k....
0x0010: ac20 0a8c ed7e 9a4c d4b4 9dee 2a62 eebb .....~.L....*b..
0x0020: 8018 01f6 9eeb 0000 0101 080a ead0 26f8 ..............&.
0x0030: 093b 3e7f 504f 5354 202f 7570 6461 7465 .;>.POST./update
0x0040: 2048 5454 502f 312e 310d 0a41 6363 6570 .HTTP/1.1..Accep
0x0050: 742d 456e 636f 6469 6e67 3a20 677a 6970 t-Encoding:.gzip
0x0060: 0d0a 5573 6572 2d41 6765 6e74 3a20 4a65 ..User-Agent:.Je
0x0070: 7474 792f 392e 342e 3230 2e76 3230 3139 tty/9.4.20.v2019
0x0080: 3038 3133 0d0a 436f 6e74 656e 742d 5479 0813..Content-Ty
0x0090: 7065 3a20 6170 706c 6963 6174 696f 6e2f pe:.application/
0x00a0: 6a73 6f6e 0d0a 486f 7374 3a20 3137 322e json..Host:.172.
0x00b0: 3332 2e31 302e 3134 303a 3339 3530 300d 32.10.140:39500.
0x00c0: 0a43 6f6e 7465 6e74 2d4c 656e 6774 683a .Content-Length:
0x00d0: 2031 3138 0d0a 0d0a 7b22 6361 7061 6269 .118....{"capabi
0x00e0: 6c69 7479 4b65 7922 3a20 2273 7769 7463 lityKey":."switc
0x00f0: 684c 6576 656c 222c 2022 6465 7669 6365 hLevel",."device
0x0100: 4469 7370 6c61 794e 616d 6522 3a20 2245 DisplayName":."E
0x0110: 6473 2044 6573 6b20 4661 6e22 2c20 2263 ds.Desk.Fan",."c
0x0120: 6170 6162 696c 6974 7941 7474 7269 6275 apabilityAttribu
0x0130: 7465 223a 2022 7377 6974 6368 222c 2022 te":."switch",."
0x0140: 7661 6c75 6522 3a20 226f 6666 227d value":."off"}
15:25:08.300549 IP (tos 0x0, ttl 64, id 19838, offset 0, flags [DF], proto TCP (6), length 52)
172.32.0.245.60798 > 172.32.10.140.39500: Flags [.], cksum 0xa26a (correct), ack 711126759, win 502, options [nop,nop,TS val 3939510071 ecr 154877573], length 0
0x0000: 4500 0034 4d7e 4000 4006 8984 ac20 00f5 E..4M~@.@.......
0x0010: ac20 0a8c ed7e 9a4c d4b4 9f08 2a62 eee7 .....~.L....*b..
0x0020: 8010 01f6 a26a 0000 0101 080a ead0 2737 .....j........'7
0x0030: 093b 3e85 .;>.
15:25:08.326859 IP (tos 0x0, ttl 64, id 19839, offset 0, flags [DF], proto TCP (6), length 52)
172.32.0.245.60798 > 172.32.10.140.39500: Flags [F.], cksum 0xa24b (correct), seq 3568606984, ack 711126760, win 502, options [nop,nop,TS val 3939510097 ecr 154877576], length 0
0x0000: 4500 0034 4d7f 4000 4006 8983 ac20 00f5 E..4M.@.@.......
0x0010: ac20 0a8c ed7e 9a4c d4b4 9f08 2a62 eee8 .....~.L....*b..
0x0020: 8011 01f6 a24b 0000 0101 080a ead0 2751 .....K........'Q
0x0030: 093b 3e88 .;>.
One last one. This one does not have an ip/host specified (sudo tcpdump -nnSXv):
2020-09-19 16:07:11.251 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Lamp failed with exception: Total timeout 10000 ms elapsed
16:07:08.458008 IP (tos 0x0, ttl 64, id 49541, offset 0, flags [DF], proto TCP (6), length 60)
172.32.0.245.38300 > 172.32.10.140.39500: Flags [S], cksum 0xe50a (correct), seq 2091438372, win 64240, options [mss 1460,sackOK,TS val 3942030229 ecr 0,nop,wscale 7], length 0
0x0000: 4500 003c c185 4000 4006 1575 ac20 00f5 E..<..@.@..u....
0x0010: ac20 0a8c 959c 9a4c 7ca8 d124 0000 0000 .......L|..$....
0x0020: a002 faf0 e50a 0000 0204 05b4 0402 080a ................
0x0030: eaf6 9b95 0000 0000 0103 0307 ............
16:07:09.119618 IP (tos 0x0, ttl 64, id 47595, offset 0, flags [DF], proto TCP (6), length 60)
172.32.0.245.55530 > 172.32.10.123.25105: Flags [S], cksum 0xa062 (correct), seq 653892641, win 64240, options [mss 1460,sackOK,TS val 1305607443 ecr 0,nop,wscale 7], length 0
0x0000: 4500 003c b9eb 4000 4006 1d20 ac20 00f5 E..<..@.@.......
0x0010: ac20 0a7b d8ea 6211 26f9 9c21 0000 0000 ...{..b.&..!....
0x0020: a002 faf0 a062 0000 0204 05b4 0402 080a .....b..........
0x0030: 4dd1 fd13 0000 0000 0103 0307 M...........
16:07:09.119766 IP (tos 0x0, ttl 100, id 18105, offset 0, flags [none], proto TCP (6), length 44)
172.32.10.123.25105 > 172.32.0.245.55530: Flags [S.], cksum 0xb06c (correct), seq 1945374636, ack 653892642, win 1501, options [mss 536], length 0
0x0000: 4500 002c 46b9 0000 6406 ac62 ac20 0a7b E..,F...d..b...{
0x0010: ac20 00f5 6211 d8ea 73f4 0fac 26f9 9c22 ....b...s...&.."
0x0020: 6012 05dd b06c 0000 0204 0218 0000 `....l........
16:07:09.119835 IP (tos 0x0, ttl 64, id 47596, offset 0, flags [DF], proto TCP (6), length 40)
172.32.0.245.55530 > 172.32.10.123.25105: Flags [.], cksum 0xcf79 (correct), ack 1945374637, win 64240, length 0
0x0000: 4500 0028 b9ec 4000 4006 1d33 ac20 00f5 E..(..@.@..3....
0x0010: ac20 0a7b d8ea 6211 26f9 9c22 73f4 0fad ...{..b.&.."s...
0x0020: 5010 faf0 cf79 0000 P....y..
16:07:09.120317 IP (tos 0x0, ttl 64, id 47597, offset 0, flags [DF], proto TCP (6), length 303)
172.32.0.245.55530 > 172.32.10.123.25105: Flags [P.], cksum 0xc00e (correct), seq 653892642:653892905, ack 1945374637, win 64240, length 263
0x0000: 4500 012f b9ed 4000 4006 1c2b ac20 00f5 E../..@.@..+....
0x0010: ac20 0a7b d8ea 6211 26f9 9c22 73f4 0fad ...{..b.&.."s...
0x0020: 5018 faf0 c00e 0000 4745 5420 2f62 7566 P.......GET./buf
0x0030: 6673 7461 7475 732e 786d 6c20 4854 5450 fstatus.xml.HTTP
0x0040: 2f31 2e31 0d0a 4175 7468 6f72 697a 6174 /1.1..Authorizat
0x0050: 696f 6e3a 2042 6173 6963 2051 3268 6c64 ion:.Basic.Q2hld
0x0040: 2f31 2e31 0d0a 4175 7468 6f72 697a 6174 /1.1..Authorizat
0x0050: 696f 6e3a 2042 6173 6963 2051 3268 6c64 ion:.Basic.Q2hld
0x0060: 6d6c 7664 4467 3664 585a 4b59 6d52 5563 mlvdDg6dXZKYmRUc
0x0070: 6b67 3d0d 0a43 6163 6865 2d43 6f6e 7472 kg=..Cache-Contr
0x0080: 6f6c 3a20 6e6f 2d63 6163 6865 0d0a 5072 ol:.no-cache..Pr
0x0090: 6167 6d61 3a20 6e6f 2d63 6163 6865 0d0a agma:.no-cache..
0x00a0: 5573 6572 2d41 6765 6e74 3a20 4a61 7661 User-Agent:.Java
0x00b0: 2f31 2e38 2e30 5f32 3532 0d0a 486f 7374 /1.8.0_252..Host
0x00c0: 3a20 3137 322e 3332 2e31 302e 3132 333a :.172.32.10.123:
0x00d0: 3235 3130 350d 0a41 6363 6570 743a 2074 25105..Accept:.t
0x00e0: 6578 742f 6874 6d6c 2c20 696d 6167 652f ext/html,.image/
0x00f0: 6769 662c 2069 6d61 6765 2f6a 7065 672c gif,.image/jpeg,
0x0100: 202a 3b20 713d 2e32 2c20 2a2f 2a3b 2071 .*;.q=.2,.*/*;.q
0x0110: 3d2e 320d 0a43 6f6e 6e65 6374 696f 6e3a =.2..Connection:
0x0120: 206b 6565 702d 616c 6976 650d 0a0d 0a .keep-alive....
16:07:09.120545 IP (tos 0x0, ttl 100, id 18106, offset 0, flags [none], proto TCP (6), length 40)
172.32.10.123.25105 > 172.32.0.245.55530: Flags [.], cksum 0xbeb2 (correct), ack 653892905, win 2737, length 0
0x0000: 4500 0028 46ba 0000 6406 ac65 ac20 0a7b E..(F...d..e...{
0x0010: ac20 00f5 6211 d8ea 73f4 0fad 26f9 9d29 ....b...s...&..)
0x0020: 5010 0ab1 beb2 0000 0000 0000 0000 P.............
16:07:09.120979 IP (tos 0x0, ttl 100, id 18107, offset 0, flags [none], proto TCP (6), length 40)
172.32.10.123.25105 > 172.32.0.245.55530: Flags [.], cksum 0xc962 (correct), ack 653892905, win 1, length 0
0x0000: 4500 0028 46bb 0000 6406 ac64 ac20 0a7b E..(F...d..d...{
0x0010: ac20 00f5 6211 d8ea 73f4 0fad 26f9 9d29 ....b...s...&..)
0x0020: 5010 0001 c962 0000 0000 0000 0000 P....b........
16:07:09.121343 IP (tos 0x0, ttl 100, id 18108, offset 0, flags [none], proto TCP (6), length 361)
172.32.10.123.25105 > 172.32.0.245.55530: Flags [FP.], cksum 0x4c13 (correct), seq 1945374637:1945374958, ack 653892905, win 1, length 321
0x0000: 4500 0169 46bc 0000 6406 ab22 ac20 0a7b E..iF...d.."...{
0x0010: ac20 00f5 6211 d8ea 73f4 0fad 26f9 9d29 ....b...s...&..)
0x0020: 5019 0001 4c13 0000 4854 5450 2f31 2e31 P...L...HTTP/1.1
0x0030: 2032 3030 204f 4b0d 0a43 6f6e 6e65 6374 .200.OK..Connect
0x0040: 696f 6e3a 2063 6c6f 7365 0d0a 436f 6e74 ion:.close..Cont
0x0050: 656e 742d 5479 7065 3a20 7465 7874 2f78 ent-Type:.text/x
0x0060: 6d6c 0d0a 4361 6368 652d 436f 6e74 726f ml..Cache-Contro
0x0070: 6c3a 206e 6f2d 6361 6368 650d 0a0d 0a3c l:.no-cache....<
0x0080: 7265 7370 6f6e 7365 3e3c 4253 3e30 3236 response><BS>026
0x0090: 3234 3930 4546 3630 4631 3930 3030 3630 2490EF60F1900060
0x00a0: 3235 3034 3930 4546 3633 3944 4536 4532 250490EF639DE6E2
0x00b0: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
0x00c0: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
0x00d0: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
0x00e0: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
0x00f0: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
0x0100: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
0x0110: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
0x0120: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
0x0130: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
0x0140: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
0x0150: 3030 3030 3032 383c 2f42 533e 3c2f 7265 0000028</BS></re
0x0160: 7370 6f6e 7365 3e0d 0a sponse>..
16:07:09.121780 IP (tos 0x0, ttl 64, id 47598, offset 0, flags [DF], proto TCP (6), length 40)
172.32.0.245.55530 > 172.32.10.123.25105: Flags [F.], cksum 0xce71 (correct), seq 653892905, ack 1945374959, win 63918, length 0
0x0000: 4500 0028 b9ee 4000 4006 1d31 ac20 00f5 E..(..@.@..1....
0x0010: ac20 0a7b d8ea 6211 26f9 9d29 73f4 10ef ...{..b.&..)s...
0x0020: 5011 f9ae ce71 0000 P....q..
16:07:09.121876 IP (tos 0x0, ttl 100, id 18109, offset 0, flags [none], proto TCP (6), length 40)
172.32.10.123.25105 > 172.32.0.245.55530: Flags [.], cksum 0xc820 (correct), ack 653892906, win 1, length 0
0x0000: 4500 0028 46bd 0000 6406 ac62 ac20 0a7b E..(F...d..b...{
0x0010: ac20 00f5 6211 d8ea 73f4 10ee 26f9 9d2a ....b...s...&..*
0x0020: 5010 0001 c820 0000 0000 0000 0000 P.............
16:07:09.121897 IP (tos 0x0, ttl 64, id 47599, offset 0, flags [DF], proto TCP (6), length 40)
172.32.0.245.55530 > 172.32.10.123.25105: Flags [.], cksum 0xce71 (correct), ack 1945374959, win 63918, length 0
0x0000: 4500 0028 b9ef 4000 4006 1d30 ac20 00f5 E..(..@.@..0....
0x0010: ac20 0a7b d8ea 6211 26f9 9d2a 73f4 10ef ...{..b.&..*s...
0x0020: 5010 f9ae ce71 0000 P....q..
16:07:09.122012 IP (tos 0x0, ttl 100, id 18110, offset 0, flags [none], proto TCP (6), length 40)
172.32.10.123.25105 > 172.32.0.245.55530: Flags [R], cksum 0xc24f (correct), seq 1945374959, win 1501, length 0
0x0000: 4500 0028 46be 0000 6406 ac61 ac20 0a7b E..(F...d..a...{
0x0010: ac20 00f5 6211 d8ea 73f4 10ef 26f9 9d2a ....b...s...&..*
0x0020: 5004 05dd c24f 0000 0000 0000 0000 P....O........
16:07:10.122951 IP (tos 0x0, ttl 64, id 6467, offset 0, flags [DF], proto TCP (6), length 60)
172.32.0.245.55532 > 172.32.10.123.25105: Flags [S], cksum 0xcfe8 (correct), seq 3833572135, win 64240, options [mss 1460,sackOK,TS val 1305608446 ecr 0,nop,wscale 7], length 0
0x0000: 4500 003c 1943 4000 4006 bdc8 ac20 00f5 E..<.C@.@.......
0x0010: ac20 0a7b d8ec 6211 e47f ab27 0000 0000 ...{..b....'....
0x0020: a002 faf0 cfe8 0000 0204 05b4 0402 080a ................
0x0030: 4dd2 00fe 0000 0000 0103 0307 M...........
16:07:10.123111 IP (tos 0x0, ttl 100, id 18112, offset 0, flags [none], proto TCP (6), length 44)
172.32.10.123.25105 > 172.32.0.245.55532: Flags [S.], cksum 0xdfb7 (correct), seq 3377053308, ack 3833572136, win 1501, options [mss 536], length 0
0x0000: 4500 002c 46c0 0000 6406 ac5b ac20 0a7b E..,F...d..[...{
0x0010: ac20 00f5 6211 d8ec c949 be7c e47f ab28 ....b....I.|...(
0x0020: 6012 05dd dfb7 0000 0204 0218 0000 `.............
16:07:10.123181 IP (tos 0x0, ttl 64, id 6468, offset 0, flags [DF], proto TCP (6), length 40)
172.32.0.245.55532 > 172.32.10.123.25105: Flags [.], cksum 0xfec4 (correct), ack 3377053309, win 64240, length 0
0x0000: 4500 0028 1944 4000 4006 bddb ac20 00f5 E..(.D@.@.......
0x0010: ac20 0a7b d8ec 6211 e47f ab28 c949 be7d ...{..b....(.I.}
0x0020: 5010 faf0 fec4 0000 P.......
16:07:10.123670 IP (tos 0x0, ttl 64, id 6469, offset 0, flags [DF], proto TCP (6), length 303)
172.32.0.245.55532 > 172.32.10.123.25105: Flags [P.], cksum 0xef59 (correct), seq 3833572136:3833572399, ack 3377053309, win 64240, length 263
0x0000: 4500 012f 1945 4000 4006 bcd3 ac20 00f5 E../.E@.@.......
0x0010: ac20 0a7b d8ec 6211 e47f ab28 c949 be7d ...{..b....(.I.}
0x0020: 5018 faf0 ef59 0000 4745 5420 2f62 7566 P....Y..GET./buf
0x0030: 6673 7461 7475 732e 786d 6c20 4854 5450 fstatus.xml.HTTP
0x0040: 2f31 2e31 0d0a 4175 7468 6f72 697a 6174 /1.1..Authorizat
0x0050: 696f 6e3a 2042 6173 6963 2051 3268 6c64 ion:.Basic.Q2hld
0x0060: 6d6c 7664 4467 3664 585a 4b59 6d52 5563 mlvdDg6dXZKYmRUc
0x0070: 6b67 3d0d 0a43 6163 6865 2d43 6f6e 7472 kg=..Cache-Contr
0x0080: 6f6c 3a20 6e6f 2d63 6163 6865 0d0a 5072 ol:.no-cache..Pr
0x0090: 6167 6d61 3a20 6e6f 2d63 6163 6865 0d0a agma:.no-cache..
0x00a0: 5573 6572 2d41 6765 6e74 3a20 4a61 7661 User-Agent:.Java
0x00b0: 2f31 2e38 2e30 5f32 3532 0d0a 486f 7374 /1.8.0_252..Host
0x00c0: 3a20 3137 322e 3332 2e31 302e 3132 333a :.172.32.10.123:
0x00d0: 3235 3130 350d 0a41 6363 6570 743a 2074 25105..Accept:.t
0x00e0: 6578 742f 6874 6d6c 2c20 696d 6167 652f ext/html,.image/
0x00f0: 6769 662c 2069 6d61 6765 2f6a 7065 672c gif,.image/jpeg,
0x0100: 202a 3b20 713d 2e32 2c20 2a2f 2a3b 2071 .*;.q=.2,.*/*;.q
0x0110: 3d2e 320d 0a43 6f6e 6e65 6374 696f 6e3a =.2..Connection:
0x0120: 206b 6565 702d 616c 6976 650d 0a0d 0a .keep-alive....
16:07:10.123815 IP (tos 0x0, ttl 100, id 18113, offset 0, flags [none], proto TCP (6), length 40)
172.32.10.123.25105 > 172.32.0.245.55532: Flags [.], cksum 0xedfd (correct), ack 3833572399, win 2737, length 0
0x0000: 4500 0028 46c1 0000 6406 ac5e ac20 0a7b E..(F...d..^...{
0x0010: ac20 00f5 6211 d8ec c949 be7d e47f ac2f ....b....I.}.../
0x0020: 5010 0ab1 edfd 0000 0000 0000 0000 P.............
16:07:10.124258 IP (tos 0x0, ttl 100, id 18114, offset 0, flags [none], proto TCP (6), length 40)
172.32.10.123.25105 > 172.32.0.245.55532: Flags [.], cksum 0xf8ad (correct), ack 3833572399, win 1, length 0
0x0000: 4500 0028 46c2 0000 6406 ac5d ac20 0a7b E..(F...d..]...{
0x0010: ac20 00f5 6211 d8ec c949 be7d e47f ac2f ....b....I.}.../
0x0020: 5010 0001 f8ad 0000 0000 0000 0000 P.............
16:07:10.124621 IP (tos 0x0, ttl 100, id 18115, offset 0, flags [none], proto TCP (6), length 361)
172.32.10.123.25105 > 172.32.0.245.55532: Flags [FP.], cksum 0x7b5e (correct), seq 3377053309:3377053630, ack 3833572399, win 1, length 321
0x0000: 4500 0169 46c3 0000 6406 ab1b ac20 0a7b E..iF...d......{
0x0010: ac20 00f5 6211 d8ec c949 be7d e47f ac2f ....b....I.}.../
0x0020: 5019 0001 7b5e 0000 4854 5450 2f31 2e31 P...{^..HTTP/1.1
0x0030: 2032 3030 204f 4b0d 0a43 6f6e 6e65 6374 .200.OK..Connect
0x0040: 696f 6e3a 2063 6c6f 7365 0d0a 436f 6e74 ion:.close..Cont
0x0050: 656e 742d 5479 7065 3a20 7465 7874 2f78 ent-Type:.text/x
0x0060: 6d6c 0d0a 4361 6368 652d 436f 6e74 726f ml..Cache-Contro
0x0070: 6c3a 206e 6f2d 6361 6368 650d 0a0d 0a3c l:.no-cache....<
0x0080: 7265 7370 6f6e 7365 3e3c 4253 3e30 3236 response><BS>026
0x0090: 3234 3930 4546 3630 4631 3930 3030 3630 2490EF60F1900060
0x00a0: 3235 3034 3930 4546 3633 3944 4536 4532 250490EF639DE6E2
0x00b0: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
0x00c0: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
0x00d0: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
0x00e0: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
0x00f0: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
0x0100: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
0x0110: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
0x0120: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
0x0130: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
0x0140: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
0x0150: 3030 3030 3032 383c 2f42 533e 3c2f 7265 0000028</BS></re
0x0160: 7370 6f6e 7365 3e0d 0a sponse>..
16:07:10.125058 IP (tos 0x0, ttl 64, id 6470, offset 0, flags [DF], proto TCP (6), length 40)
172.32.0.245.55532 > 172.32.10.123.25105: Flags [F.], cksum 0xfdbc (correct), seq 3833572399, ack 3377053631, win 63918, length 0
0x0000: 4500 0028 1946 4000 4006 bdd9 ac20 00f5 E..(.F@.@.......
0x0010: ac20 0a7b d8ec 6211 e47f ac2f c949 bfbf ...{..b..../.I..
0x0020: 5011 f9ae fdbc 0000 P.......
16:07:10.125153 IP (tos 0x0, ttl 100, id 18116, offset 0, flags [none], proto TCP (6), length 40)
172.32.10.123.25105 > 172.32.0.245.55532: Flags [.], cksum 0xf76b (correct), ack 3833572400, win 1, length 0
0x0000: 4500 0028 46c4 0000 6406 ac5b ac20 0a7b E..(F...d..[...{
0x0010: ac20 00f5 6211 d8ec c949 bfbe e47f ac30 ....b....I.....0
0x0020: 5010 0001 f76b 0000 0000 0000 0000 P....k........
16:07:10.125176 IP (tos 0x0, ttl 64, id 6471, offset 0, flags [DF], proto TCP (6), length 40)
172.32.0.245.55532 > 172.32.10.123.25105: Flags [.], cksum 0xfdbc (correct), ack 3377053631, win 63918, length 0
0x0000: 4500 0028 1947 4000 4006 bdd8 ac20 00f5 E..(.G@.@.......
0x0010: ac20 0a7b d8ec 6211 e47f ac30 c949 bfbf ...{..b....0.I..
0x0020: 5010 f9ae fdbc 0000 P.......
16:07:10.125290 IP (tos 0x0, ttl 100, id 18117, offset 0, flags [none], proto TCP (6), length 40)
172.32.10.123.25105 > 172.32.0.245.55532: Flags [R], cksum 0xf19a (correct), seq 3377053631, win 1501, length 0
0x0000: 4500 0028 46c5 0000 6406 ac5a ac20 0a7b E..(F...d..Z...{
0x0010: ac20 00f5 6211 d8ec c949 bfbf e47f ac30 ....b....I.....0
0x0020: 5004 05dd f19a 0000 0000 0000 0000 P.............
16:07:10.465911 IP (tos 0x0, ttl 255, id 46091, offset 0, flags [none], proto UDP (17), length 202)
172.32.10.44.49154 > 255.255.255.255.6666: UDP, length 174
0x0000: 4500 00ca b40b 0000 ff11 50cb ac20 0a2c E.........P....,
0x0010: ffff ffff c002 1a0a 00b6 f76e 0000 55aa ...........n..U.
0x0020: 0000 0000 0000 0000 0000 009e 0000 0000 ................
0x0030: 7b22 6970 223a 2231 3732 2e33 322e 3130 {"ip":"172.32.10
0x0040: 2e34 3422 2c22 6777 4964 223a 2230 3132 .44","gwId":"012
0x0050: 3030 3338 3232 6333 6165 3834 3133 6663 003822c3ae8413fc
0x0060: 3122 2c22 6163 7469 7665 223a 322c 2261 1","active":2,"a
0x0070: 6269 6c69 7479 223a 302c 226d 6f64 6522 bility":0,"mode"
0x0080: 3a30 2c22 656e 6372 7970 7422 3a74 7275 :0,"encrypt":tru
0x0090: 652c 2270 726f 6475 6374 4b65 7922 3a22 e,"productKey":"
0x00a0: 6f66 3056 4475 4663 5773 4254 667a 5774 of0VDuFcWsBTfzWt
0x00b0: 222c 2276 6572 7369 6f6e 223a 2233 2e31 ","version":"3.1
0x00c0: 227d 2114 a8cf 0000 aa55 "}!......U
16:07:11.126196 IP (tos 0x0, ttl 64, id 49340, offset 0, flags [DF], proto TCP (6), length 60)
172.32.0.245.55534 > 172.32.10.123.25105: Flags [S], cksum 0x30d9 (correct), seq 784464903, win 64240, options [mss 1460,sackOK,TS val 1305609450 ecr 0,nop,wscale 7], length 0
0x0000: 4500 003c c0bc 4000 4006 164f ac20 00f5 E..<..@.@..O....
0x0010: ac20 0a7b d8ee 6211 2ec1 fc07 0000 0000 ...{..b.........
0x0020: a002 faf0 30d9 0000 0204 05b4 0402 080a ....0...........
0x0030: 4dd2 04ea 0000 0000 0103 0307 M...........
16:07:11.126426 IP (tos 0x0, ttl 100, id 18118, offset 0, flags [none], proto TCP (6), length 44)
172.32.10.123.25105 > 172.32.0.245.55534: Flags [S.], cksum 0xa7ff (correct), seq 2134222117, ack 784464904, win 1501, options [mss 536], length 0
0x0000: 4500 002c 46c6 0000 6406 ac55 ac20 0a7b E..,F...d..U...{
0x0010: ac20 00f5 6211 d8ee 7f35 a525 2ec1 fc08 ....b....5.%....
0x0020: 6012 05dd a7ff 0000 0204 0218 0000 `.............
16:07:11.126497 IP (tos 0x0, ttl 64, id 49341, offset 0, flags [DF], proto TCP (6), length 40)
172.32.0.245.55534 > 172.32.10.123.25105: Flags [.], cksum 0xc70c (correct), ack 2134222118, win 64240, length 0
0x0000: 4500 0028 c0bd 4000 4006 1662 ac20 00f5 E..(..@.@..b....
0x0010: ac20 0a7b d8ee 6211 2ec1 fc08 7f35 a526 ...{..b......5.&
0x0020: 5010 faf0 c70c 0000 P.......
16:07:11.126975 IP (tos 0x0, ttl 64, id 49342, offset 0, flags [DF], proto TCP (6), length 303)
172.32.0.245.55534 > 172.32.10.123.25105: Flags [P.], cksum 0xb7a1 (correct), seq 784464904:784465167, ack 2134222118, win 64240, length 263
0x0000: 4500 012f c0be 4000 4006 155a ac20 00f5 E../..@.@..Z....
0x0010: ac20 0a7b d8ee 6211 2ec1 fc08 7f35 a526 ...{..b......5.&
0x0020: 5018 faf0 b7a1 0000 4745 5420 2f62 7566 P.......GET./buf
0x0030: 6673 7461 7475 732e 786d 6c20 4854 5450 fstatus.xml.HTTP
0x0040: 2f31 2e31 0d0a 4175 7468 6f72 697a 6174 /1.1..Authorizat
0x0050: 696f 6e3a 2042 6173 6963 2051 3268 6c64 ion:.Basic.Q2hld
0x0060: 6d6c 7664 4467 3664 585a 4b59 6d52 5563 mlvdDg6dXZKYmRUc
0x0070: 6b67 3d0d 0a43 6163 6865 2d43 6f6e 7472 kg=..Cache-Contr
0x0080: 6f6c 3a20 6e6f 2d63 6163 6865 0d0a 5072 ol:.no-cache..Pr
0x0090: 6167 6d61 3a20 6e6f 2d63 6163 6865 0d0a agma:.no-cache..
0x00a0: 5573 6572 2d41 6765 6e74 3a20 4a61 7661 User-Agent:.Java
0x00b0: 2f31 2e38 2e30 5f32 3532 0d0a 486f 7374 /1.8.0_252..Host
0x00c0: 3a20 3137 322e 3332 2e31 302e 3132 333a :.172.32.10.123:
0x00d0: 3235 3130 350d 0a41 6363 6570 743a 2074 25105..Accept:.t
0x00e0: 6578 742f 6874 6d6c 2c20 696d 6167 652f ext/html,.image/
0x00f0: 6769 662c 2069 6d61 6765 2f6a 7065 672c gif,.image/jpeg,
0x0100: 202a 3b20 713d 2e32 2c20 2a2f 2a3b 2071 .*;.q=.2,.*/*;.q
0x0110: 3d2e 320d 0a43 6f6e 6e65 6374 696f 6e3a =.2..Connection:
0x0120: 206b 6565 702d 616c 6976 650d 0a0d 0a .keep-alive....
16:07:11.127138 IP (tos 0x0, ttl 100, id 18119, offset 0, flags [none], proto TCP (6), length 40)
172.32.10.123.25105 > 172.32.0.245.55534: Flags [.], cksum 0xb645 (correct), ack 784465167, win 2737, length 0
0x0000: 4500 0028 46c7 0000 6406 ac58 ac20 0a7b E..(F...d..X...{
0x0010: ac20 00f5 6211 d8ee 7f35 a526 2ec1 fd0f ....b....5.&....
0x0020: 5010 0ab1 b645 0000 0000 0000 0000 P....E........
16:07:11.127573 IP (tos 0x0, ttl 100, id 18120, offset 0, flags [none], proto TCP (6), length 40)
172.32.10.123.25105 > 172.32.0.245.55534: Flags [.], cksum 0xc0f5 (correct), ack 784465167, win 1, length 0
0x0000: 4500 0028 46c8 0000 6406 ac57 ac20 0a7b E..(F...d..W...{
0x0010: ac20 00f5 6211 d8ee 7f35 a526 2ec1 fd0f ....b....5.&....
0x0020: 5010 0001 c0f5 0000 0000 0000 0000 P.............
16:07:11.127942 IP (tos 0x0, ttl 100, id 18121, offset 0, flags [none], proto TCP (6), length 361)
172.32.10.123.25105 > 172.32.0.245.55534: Flags [FP.], cksum 0x43a6 (correct), seq 2134222118:2134222439, ack 784465167, win 1, length 321
16:07:11.127942 IP (tos 0x0, ttl 100, id 18121, offset 0, flags [none], proto TCP (6), length 361)
172.32.10.123.25105 > 172.32.0.245.55534: Flags [FP.], cksum 0x43a6 (correct), seq 2134222118:2134222439, ack 784465167, win 1, length 321
0x0000: 4500 0169 46c9 0000 6406 ab15 ac20 0a7b E..iF...d......{
0x0010: ac20 00f5 6211 d8ee 7f35 a526 2ec1 fd0f ....b....5.&....
0x0020: 5019 0001 43a6 0000 4854 5450 2f31 2e31 P...C...HTTP/1.1
0x0030: 2032 3030 204f 4b0d 0a43 6f6e 6e65 6374 .200.OK..Connect
0x0040: 696f 6e3a 2063 6c6f 7365 0d0a 436f 6e74 ion:.close..Cont
0x0050: 656e 742d 5479 7065 3a20 7465 7874 2f78 ent-Type:.text/x
0x0060: 6d6c 0d0a 4361 6368 652d 436f 6e74 726f ml..Cache-Contro
0x0070: 6c3a 206e 6f2d 6361 6368 650d 0a0d 0a3c l:.no-cache....<
0x0080: 7265 7370 6f6e 7365 3e3c 4253 3e30 3236 response><BS>026
0x0090: 3234 3930 4546 3630 4631 3930 3030 3630 2490EF60F1900060
0x00a0: 3235 3034 3930 4546 3633 3944 4536 4532 250490EF639DE6E2
0x00b0: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
0x00c0: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
0x00d0: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
0x00e0: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
0x00f0: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
0x0100: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
0x0110: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
0x0120: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
0x0130: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
0x0140: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
0x0150: 3030 3030 3032 383c 2f42 533e 3c2f 7265 0000028</BS></re
0x0160: 7370 6f6e 7365 3e0d 0a sponse>..
16:07:11.128371 IP (tos 0x0, ttl 64, id 49343, offset 0, flags [DF], proto TCP (6), length 40)
172.32.0.245.55534 > 172.32.10.123.25105: Flags [F.], cksum 0xc604 (correct), seq 784465167, ack 2134222440, win 63918, length 0
0x0000: 4500 0028 c0bf 4000 4006 1660 ac20 00f5 E..(..@.@..`....
0x0010: ac20 0a7b d8ee 6211 2ec1 fd0f 7f35 a668 ...{..b......5.h
0x0020: 5011 f9ae c604 0000 P.......
16:07:11.128468 IP (tos 0x0, ttl 100, id 18122, offset 0, flags [none], proto TCP (6), length 40)
172.32.10.123.25105 > 172.32.0.245.55534: Flags [.], cksum 0xbfb3 (correct), ack 784465168, win 1, length 0
0x0000: 4500 0028 46ca 0000 6406 ac55 ac20 0a7b E..(F...d..U...{
0x0010: ac20 00f5 6211 d8ee 7f35 a667 2ec1 fd10 ....b....5.g....
0x0020: 5010 0001 bfb3 0000 0000 0000 0000 P.............
16:07:11.128490 IP (tos 0x0, ttl 64, id 49344, offset 0, flags [DF], proto TCP (6), length 40)
172.32.0.245.55534 > 172.32.10.123.25105: Flags [.], cksum 0xc604 (correct), ack 2134222440, win 63918, length 0
0x0000: 4500 0028 c0c0 4000 4006 165f ac20 00f5 E..(..@.@.._....
0x0010: ac20 0a7b d8ee 6211 2ec1 fd10 7f35 a668 ...{..b......5.h
0x0020: 5010 f9ae c604 0000 P.......
16:07:11.128606 IP (tos 0x0, ttl 100, id 18123, offset 0, flags [none], proto TCP (6), length 40)
172.32.10.123.25105 > 172.32.0.245.55534: Flags [R], cksum 0xb9e2 (correct), seq 2134222440, win 1501, length 0
0x0000: 4500 0028 46cb 0000 6406 ac54 ac20 0a7b E..(F...d..T...{
0x0010: ac20 00f5 6211 d8ee 7f35 a668 2ec1 fd10 ....b....5.h....
0x0020: 5004 05dd b9e2 0000 0000 0000 0000 P.............
16:07:11.495634 IP (tos 0x0, ttl 64, id 35881, offset 0, flags [DF], proto TCP (6), length 294)
172.32.0.245.9001 > 172.31.10.43.27420: Flags [P.], cksum 0x438d (correct), seq 450496979:450497221, ack 2344012841, win 505, options [nop,nop,TS val 621352626 ecr 1613599531], length 242
0x0000: 4500 0126 8c29 4000 4006 4a49 ac20 00f5 E..&.)@.@.JI....
0x0010: ac1f 0a2b 2329 6b1c 1ada 09d3 8bb6 cc29 ...+#)k........)
0x0020: 8018 01f9 438d 0000 0101 080a 2509 16b2 ....C.......%...
0x0030: 602d 932b 817e 00ee 3432 2f31 3062 6565 `-.+.~..42/10bee
0x0040: 3337 6466 6434 3434 3764 3931 3962 6635 37dfd4447d919bf5
0x0050: 6663 3166 6536 6464 3432 362c 5b22 6c69 fc1fe6dd426,["li
0x0060: 6e65 222c 2232 3032 302d 3039 2d31 3920 ne","2020-09-19.
0x0070: 3136 3a30 373a 3131 2e32 3531 205b 5741 16:07:11.251.[WA
0x0080: 524e 205d 205b 726e 616c 2e68 616e 646c RN.].[rnal.handl
0x0090: 6572 2e53 6d61 7274 7468 696e 6773 5468 er.SmartthingsTh
0x00a0: 696e 6748 616e 646c 6572 5d20 2d20 4174 ingHandler].-.At
0x00b0: 7465 6d70 7420 746f 2073 656e 6420 636f tempt.to.send.co
0x00c0: 6d6d 616e 6420 746f 2074 6865 2053 6d61 mmand.to.the.Sma
0x00d0: 7274 7468 696e 6773 2068 7562 2066 6f72 rtthings.hub.for
0x00e0: 2045 6473 2044 6573 6b20 4c61 6d70 2066 .Eds.Desk.Lamp.f
0x00f0: 6169 6c65 6420 7769 7468 2065 7863 6570 ailed.with.excep
0x0100: 7469 6f6e 3a20 546f 7461 6c20 7469 6d65 tion:.Total.time
0x0110: 6f75 7420 3130 3030 3020 6d73 2065 6c61 out.10000.ms.ela
0x0120: 7073 6564 225d psed"]
16:07:11.495801 IP (tos 0x0, ttl 64, id 28850, offset 0, flags [DF], proto TCP (6), length 52)
172.31.10.43.27420 > 172.32.0.245.9001: Flags [.], cksum 0x8869 (correct), ack 450497221, win 12506, options [nop,nop,TS val 1613607532 ecr 621352626], length 0
0x0000: 4500 0034 70b2 4000 4006 66b2 ac1f 0a2b E..4p.@.@.f....+
0x0010: ac20 00f5 6b1c 2329 8bb6 cc29 1ada 0ac5 ....k.#)...)....
0x0020: 8010 30da 8869 0000 0101 080a 602d b26c ..0..i......`-.l
0x0030: 2509 16b2 %...
16:07:12.129587 IP (tos 0x0, ttl 64, id 58719, offset 0, flags [DF], proto TCP (6), length 60)
172.32.0.245.55536 > 172.32.10.123.25105: Flags [S], cksum 0xf5ed (correct), seq 2488257911, win 64240, options [mss 1460,sackOK,TS val 1305610453 ecr 0,nop,wscale 7], length 0
0x0000: 4500 003c e55f 4000 4006 f1ab ac20 00f5 E..<._@.@.......
0x0010: ac20 0a7b d8f0 6211 944f cd77 0000 0000 ...{..b..O.w....
0x0020: a002 faf0 f5ed 0000 0204 05b4 0402 080a ................
0x0030: 4dd2 08d5 0000 0000 0103 0307 M...........
16:07:12.129740 IP (tos 0x0, ttl 100, id 18124, offset 0, flags [none], proto TCP (6), length 44)
172.32.10.123.25105 > 172.32.0.245.55536: Flags [S.], cksum 0x2ef7 (correct), seq 2951263866, ack 2488257912, win 1501, options [mss 536], length 0
0x0000: 4500 002c 46cc 0000 6406 ac4f ac20 0a7b E..,F...d..O...{
0x0010: ac20 00f5 6211 d8f0 afe8 b67a 944f cd78 ....b......z.O.x
0x0020: 6012 05dd 2ef7 0000 0204 0218 0000 `.............
16:07:12.129821 IP (tos 0x0, ttl 64, id 58720, offset 0, flags [DF], proto TCP (6), length 40)
172.32.0.245.55536 > 172.32.10.123.25105: Flags [.], cksum 0x4e04 (correct), ack 2951263867, win 64240, length 0
0x0000: 4500 0028 e560 4000 4006 f1be ac20 00f5 E..(.`@.@.......
0x0010: ac20 0a7b d8f0 6211 944f cd78 afe8 b67b ...{..b..O.x...{
0x0020: 5010 faf0 4e04 0000 P...N...
16:07:12.130471 IP (tos 0x0, ttl 64, id 58721, offset 0, flags [DF], proto TCP (6), length 303)
172.32.0.245.55536 > 172.32.10.123.25105: Flags [P.], cksum 0x3e99 (correct), seq 2488257912:2488258175, ack 2951263867, win 64240, length 263
0x0000: 4500 012f e561 4000 4006 f0b6 ac20 00f5 E../.a@.@.......
0x0010: ac20 0a7b d8f0 6211 944f cd78 afe8 b67b ...{..b..O.x...{
0x0020: 5018 faf0 3e99 0000 4745 5420 2f62 7566 P...>...GET./buf
0x0030: 6673 7461 7475 732e 786d 6c20 4854 5450 fstatus.xml.HTTP
0x0040: 2f31 2e31 0d0a 4175 7468 6f72 697a 6174 /1.1..Authorizat
0x0050: 696f 6e3a 2042 6173 6963 2051 3268 6c64 ion:.Basic.Q2hld
0x0060: 6d6c 7664 4467 3664 585a 4b59 6d52 5563 mlvdDg6dXZKYmRUc
0x0070: 6b67 3d0d 0a43 6163 6865 2d43 6f6e 7472 kg=..Cache-Contr
0x0080: 6f6c 3a20 6e6f 2d63 6163 6865 0d0a 5072 ol:.no-cache..Pr
0x0090: 6167 6d61 3a20 6e6f 2d63 6163 6865 0d0a agma:.no-cache..
0x00a0: 5573 6572 2d41 6765 6e74 3a20 4a61 7661 User-Agent:.Java
0x00b0: 2f31 2e38 2e30 5f32 3532 0d0a 486f 7374 /1.8.0_252..Host
0x00c0: 3a20 3137 322e 3332 2e31 302e 3132 333a :.172.32.10.123:
0x00d0: 3235 3130 350d 0a41 6363 6570 743a 2074 25105..Accept:.t
0x00e0: 6578 742f 6874 6d6c 2c20 696d 6167 652f ext/html,.image/
0x00f0: 6769 662c 2069 6d61 6765 2f6a 7065 672c gif,.image/jpeg,
0x0100: 202a 3b20 713d 2e32 2c20 2a2f 2a3b 2071 .*;.q=.2,.*/*;.q
0x0110: 3d2e 320d 0a43 6f6e 6e65 6374 696f 6e3a =.2..Connection:
0x0120: 206b 6565 702d 616c 6976 650d 0a0d 0a .keep-alive....
16:07:12.130697 IP (tos 0x0, ttl 100, id 18125, offset 0, flags [none], proto TCP (6), length 40)
172.32.10.123.25105 > 172.32.0.245.55536: Flags [.], cksum 0x3d3d (correct), ack 2488258175, win 2737, length 0
0x0000: 4500 0028 46cd 0000 6406 ac52 ac20 0a7b E..(F...d..R...{
0x0010: ac20 00f5 6211 d8f0 afe8 b67b 944f ce7f ....b......{.O..
0x0020: 5010 0ab1 3d3d 0000 0000 0000 0000 P...==........
16:07:12.131126 IP (tos 0x0, ttl 100, id 18126, offset 0, flags [none], proto TCP (6), length 40)
172.32.10.123.25105 > 172.32.0.245.55536: Flags [.], cksum 0x47ed (correct), ack 2488258175, win 1, length 0
0x0000: 4500 0028 46ce 0000 6406 ac51 ac20 0a7b E..(F...d..Q...{
0x0010: ac20 00f5 6211 d8f0 afe8 b67b 944f ce7f ....b......{.O..
0x0020: 5010 0001 47ed 0000 0000 0000 0000 P...G.........
16:07:12.131489 IP (tos 0x0, ttl 100, id 18127, offset 0, flags [none], proto TCP (6), length 361)
172.32.10.123.25105 > 172.32.0.245.55536: Flags [FP.], cksum 0xca9d (correct), seq 2951263867:2951264188, ack 2488258175, win 1, length 321
0x0000: 4500 0169 46cf 0000 6406 ab0f ac20 0a7b E..iF...d......{
0x0010: ac20 00f5 6211 d8f0 afe8 b67b 944f ce7f ....b......{.O..
0x0020: 5019 0001 ca9d 0000 4854 5450 2f31 2e31 P.......HTTP/1.1
0x0030: 2032 3030 204f 4b0d 0a43 6f6e 6e65 6374 .200.OK..Connect
0x0040: 696f 6e3a 2063 6c6f 7365 0d0a 436f 6e74 ion:.close..Cont
0x0050: 656e 742d 5479 7065 3a20 7465 7874 2f78 ent-Type:.text/x
0x0060: 6d6c 0d0a 4361 6368 652d 436f 6e74 726f ml..Cache-Contro
0x0070: 6c3a 206e 6f2d 6361 6368 650d 0a0d 0a3c l:.no-cache....<
0x0080: 7265 7370 6f6e 7365 3e3c 4253 3e30 3236 response><BS>026
0x0090: 3234 3930 4546 3630 4631 3930 3030 3630 2490EF60F1900060
0x00a0: 3235 3034 3930 4546 3633 3944 4536 4532 250490EF639DE6E2
0x00b0: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
0x00c0: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
0x00d0: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
0x00e0: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
0x00f0: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
0x0100: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
0x0110: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
0x0120: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
0x0130: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
0x0140: 3030 3030 3030 3030 3030 3030 3030 3030 0000000000000000
0x0150: 3030 3030 3032 383c 2f42 533e 3c2f 7265 0000028</BS></re
0x0160: 7370 6f6e 7365 3e0d 0a sponse>..
16:07:12.132029 IP (tos 0x0, ttl 64, id 58722, offset 0, flags [DF], proto TCP (6), length 40)
172.32.0.245.55536 > 172.32.10.123.25105: Flags [F.], cksum 0x4cfc (correct), seq 2488258175, ack 2951264189, win 63918, length 0
0x0000: 4500 0028 e562 4000 4006 f1bc ac20 00f5 E..(.b@.@.......
0x0010: ac20 0a7b d8f0 6211 944f ce7f afe8 b7bd ...{..b..O......
0x0020: 5011 f9ae 4cfc 0000 P...L...
16:07:12.132200 IP (tos 0x0, ttl 100, id 18128, offset 0, flags [none], proto TCP (6), length 40)
172.32.10.123.25105 > 172.32.0.245.55536: Flags [.], cksum 0x46ab (correct), ack 2488258176, win 1, length 0
0x0000: 4500 0028 46d0 0000 6406 ac4f ac20 0a7b E..(F...d..O...{
0x0010: ac20 00f5 6211 d8f0 afe8 b7bc 944f ce80 ....b........O..
0x0020: 5010 0001 46ab 0000 0000 0000 0000 P...F.........
16:07:12.132227 IP (tos 0x0, ttl 64, id 58723, offset 0, flags [DF], proto TCP (6), length 40)
172.32.0.245.55536 > 172.32.10.123.25105: Flags [.], cksum 0x4cfc (correct), ack 2951264189, win 63918, length 0
0x0000: 4500 0028 e563 4000 4006 f1bb ac20 00f5 E..(.c@.@.......
0x0010: ac20 0a7b d8f0 6211 944f ce80 afe8 b7bd ...{..b..O......
0x0020: 5010 f9ae 4cfc 0000 P...L...
16:07:12.132355 IP (tos 0x0, ttl 100, id 18129, offset 0, flags [none], proto TCP (6), length 40)
172.32.10.123.25105 > 172.32.0.245.55536: Flags [R], cksum 0x40da (correct), seq 2951264189, win 1501, length 0
0x0000: 4500 0028 46d1 0000 6406 ac4e ac20 0a7b E..(F...d..N...{
0x0010: ac20 00f5 6211 d8f0 afe8 b7bd 944f ce80 ....b........O..
0x0020: 5004 05dd 40da 0000 0000 0000 0000 P...@.........
0x0030: 6afe 3981 1703 0300 1bd1 1c3d d2e4 efbc j.9........=....
0x0040: 84c3 c3dc 9223 486b ff44 8eb8 e293 74b1 .....#Hk.D....t.
0x0050: b80b 7391 ..s.
16:07:12.369671 IP (tos 0x0, ttl 64, id 51900, offset 0, flags [DF], proto TCP (6), length 52)
172.32.0.245.58520 > 172.31.0.247.32400: Flags [.], cksum 0x738b (correct), ack 2665080509, win 501, options [nop,nop,TS val 1795055761 ecr 3652622814], length 0
0x0000: 4500 0034 cabc 4000 4006 15dc ac20 00f5 E..4..@.@.......
0x0010: ac1f 00f7 e498 7e90 636a 1bc1 9ed9 e6bd ......~.cj......
0x0020: 8010 01f5 738b 0000 0101 080a 6afe 6091 ....s.......j.`.
0x0030: d9b6 99de ....
16:07:12.762567 IP (tos 0x0, ttl 64, id 9234, offset 0, flags [DF], proto TCP (6), length 60)
172.32.0.245.36182 > 172.32.10.135.5577: Flags [S], cksum 0xef37 (correct), seq 2548445413, win 64240, options [mss 1460,sackOK,TS val 1322598234 ecr 0,nop,wscale 7], length 0
0x0000: 4500 003c 2412 4000 4006 b2ed ac20 00f5 E..<$.@.@.......
0x0010: ac20 0a87 8d56 15c9 97e6 30e5 0000 0000 .....V....0.....
0x0020: a002 faf0 ef37 0000 0204 05b4 0402 080a .....7..........
0x0030: 4ed5 3f5a 0000 0000 0103 0307 N.?Z........
16:07:12.868611 IP (tos 0x0, ttl 128, id 55775, offset 0, flags [DF], proto TCP (6), length 44)
172.32.10.135.5577 > 172.32.0.245.36182: Flags [S.], cksum 0xde08 (correct), seq 2849843639, ack 2548445414, win 5840, options [mss 1460], length 0
0x0000: 4500 002c d9df 4000 8006 bd2f ac20 0a87 E..,..@..../....
0x0010: ac20 00f5 15c9 8d56 a9dd 29b7 97e6 30e6 .......V..)...0.
0x0020: 6012 16d0 de08 0000 0204 05b4 0000 `.............
16:07:12.868698 IP (tos 0x0, ttl 64, id 9235, offset 0, flags [DF], proto TCP (6), length 40)
172.32.0.245.36182 > 172.32.10.135.5577: Flags [.], cksum 0x11a5 (correct), ack 2849843640, win 64240, length 0
0x0000: 4500 0028 2413 4000 4006 b300 ac20 00f5 E..($.@.@.......
0x0010: ac20 0a87 8d56 15c9 97e6 30e6 a9dd 29b8 .....V....0...).
0x0020: 5010 faf0 11a5 0000 P.......
16:07:12.868996 IP (tos 0x0, ttl 64, id 9236, offset 0, flags [DF], proto TCP (6), length 44)
172.32.0.245.36182 > 172.32.10.135.5577: Flags [P.], cksum 0x0478 (correct), seq 2548445414:2548445418, ack 2849843640, win 64240, length 4
0x0000: 4500 002c 2414 4000 4006 b2fb ac20 00f5 E..,$.@.@.......
0x0010: ac20 0a87 8d56 15c9 97e6 30e6 a9dd 29b8 .....V....0...).
0x0020: 5018 faf0 0478 0000 818a 8b96 P....x......
16:07:12.930442 IP (tos 0x0, ttl 64, id 33272, offset 0, flags [DF], proto TCP (6), length 601)
172.32.0.245.58518 > 172.31.0.247.32400: Flags [P.], cksum 0xbe09 (correct), seq 3280272733:3280273282, ack 2477923393, win 501, options [nop,nop,TS val 1795056322 ecr 3652618343], length 549
0x0000: 4500 0259 81f8 4000 4006 5c7b ac20 00f5 E..Y..@.@.\{....
0x0010: ac1f 00f7 e496 7e90 c384 fd5d 93b2 1c41 ......~....]...A
0x0020: 8018 01f5 be09 0000 0101 080a 6afe 62c2 ............j.b.
0x0030: d9b6 8867 1703 0302 2000 0000 0000 0012 ...g............
0x0040: 2b5a e1c2 0666 ccfd 1a13 4492 14b8 eafc +Z...f....D.....
0x0050: 8322 484d baf6 8815 dbfe d765 009f bc9f ."HM.......e....
0x0060: 9fb0 eb54 88a4 252f 4690 3df0 a93d 6850 ...T..%/F.=..=hP
0x0070: ebfe 2d8d 0156 0e4d 142f 9799 ea9a bb2d ..-..V.M./.....-
0x0080: 3985 a91d afaf 5410 77cb b643 3efd 5732 9.....T.w..C>.W2
0x0090: 267c 6c5e 85ac 0e1b 4d1b 1da6 728f eea4 &|l^....M...r...
0x00a0: 06b5 0fc3 0a41 1a02 35e2 b290 2252 124a .....A..5..."R.J
0x00b0: 45c4 b5a3 58c0 2c51 0ff8 ef1e 4a9d 6f55 E...X.,Q....J.oU
0x00c0: 7113 aeb4 abeb 5869 cedd 3515 dc4b 6ccc q.....Xi..5..Kl.
0x00d0: ef45 3fd6 f7f3 a1c2 8453 8982 8c89 dcd4 .E?......S......
0x00e0: 231d 195d 8721 5212 e975 9225 ddd6 4cf3 #..].!R..u.%..L.
0x00f0: 3a91 9565 768a fcb6 def2 0091 54fc ea95 :..ev.......T...
0x0100: e93d e7a5 3078 fe87 f2a9 d626 4d5d cfe9 .=..0x.....&M]..
0x0110: 7f2b 0874 4d8c 37d9 7159 8d09 3b52 b164 .+.tM.7.qY..;R.d
0x0120: 87bf b683 4d27 9628 a48d d406 95a5 04ea ....M'.(........
0x0130: e801 30a2 469f ba2f 8c4f d01e 0667 6842 ..0.F../.O...ghB
0x0140: e8e7 30b7 11e2 d3e0 c471 a09b 1da5 c6f3 ..0......q......
0x0150: f7c8 f44f 5bc3 c572 4fb7 88c5 93a8 6e83 ...O[..rO.....n.
0x0160: 1c15 1163 1b95 7905 3b22 2f59 9584 0ca1 ...c..y.;"/Y....
0x0170: 0a91 bc17 b9ab 84f0 ca44 fcdf 819c 8f68 .........D.....h
0x0180: 9de5 5991 eb1a 54b0 d051 5250 9a68 f387 ..Y...T..QRP.h..
0x0190: 97b2 b74a 9cad 7e97 7ace f125 95ba 7bd0 ...J..~.z..%..{.
0x01a0: fe77 0085 1b3f 99e4 b110 394e eb49 3bb5 .w...?....9N.I;.
0x01b0: fb3e 0e37 e824 801f d51e ba12 1ded eaff .>.7.$..........
0x01c0: 0685 4f62 c41e 8d89 a4b1 dd27 4ca0 1817 ..Ob.......'L...
0x01d0: 14ad 39b4 786b b9f3 1c9d d3f3 1ae3 dca0 ..9.xk..........
0x01e0: 219d 49c9 7c21 8651 33b9 b3a2 eb31 ad4e !.I.|!.Q3....1.N
0x01f0: df04 e097 7b0f 690b 9581 f77c babc c59c ....{.i....|....
0x0200: 4d6a 8e0a bef4 b6d0 9b67 541f bd62 d823 Mj.......gT..b.#
0x0210: af86 4d90 d88f d9ad dab2 8361 affc d5d2 ..M........a....
0x0220: c3a0 7867 04a4 9355 5981 c970 6f7d e771 ..xg...UY..po}.q
0x0230: 20a7 3072 08db ea0b 70e4 0eaf fc15 e2de ..0r....p.......
0x0240: 5374 7bdd 24ab 8bc6 6082 96cf 96d5 51f8 St{.$...`.....Q.
0x0250: fa9f ea72 4b20 ab88 78 ...rK...x
16:07:12.931227 IP (tos 0x0, ttl 64, id 32874, offset 0, flags [DF], proto TCP (6), length 940)
172.31.0.247.32400 > 172.32.0.245.58518: Flags [P.], cksum 0x8c25 (correct), seq 2477923393:2477924281, ack 3280273282, win 9897, options [nop,nop,TS val 3652623375 ecr 1795056322], length 888
0x0000: 4500 03ac 806a 4000 4006 5cb6 ac1f 00f7 E....j@.@.\.....
0x0010: ac20 00f5 7e90 e496 93b2 1c41 c384 ff82 ....~......A....
0x0020: 8018 26a9 8c25 0000 0101 080a d9b6 9c0f ..&..%..........
0x0030: 6afe 62c2 1703 0303 7357 3cb4 ce8a 1ad8 j.b.....sW<.....
0x0040: 08e2 923b 0246 8ed5 8159 53c5 14f7 2f1d ...;.F...YS.../.
0x0050: f474 e959 806c a9b4 f6b5 129f e8af 8fcb .t.Y.l..........
0x0060: 71ff 637e 3779 33f8 91c0 7baa 64af 04ed q.c~7y3...{.d...
0x0070: 711e 28f6 4b4b 935d 37d7 4dc4 5739 697a q.(.KK.]7.M.W9iz
0x0080: 7dd2 50ce 9578 5234 edc8 1ca4 60f0 a3d9 }.P..xR4....`...
0x0090: 5a65 3b26 1eb1 adcb e6a3 928a 0c26 3891 Ze;&.........&8.
0x00a0: 3098 624e d45e f70a ce08 54da 6683 14dc 0.bN.^....T.f...
0x00b0: c9b9 8daa 3d2f 0175 add3 4857 c39e 2d14 ....=/.u..HW..-.
0x00c0: 3573 91b0 6549 7a17 9c2e 3c25 2145 b169 5s..eIz...<%!E.i
0x00d0: fdda 0f2d 30a8 b38b dc47 9f68 eab3 4eba ...-0....G.h..N.
0x00e0: cdb0 dbdd 4021 f45c af5e 7ac6 a71c 50be ....@!.\.^z...P.
0x00f0: f194 a2bb e037 5766 b034 177e 899c a4a2 .....7Wf.4.~....
0x0100: cfd1 fd11 16da a551 c6c7 b928 eb21 51e8 .......Q...(.!Q.
0x0110: 1236 5449 75f8 bd1f 649e f068 7e20 9e07 .6TIu...d..h~...
0x0120: 9d74 0c75 c489 5eec 2b8e 6c4a 0a19 f16d .t.u..^.+.lJ...m
0x0130: e793 6f05 c487 f035 0d5b bcfd fa95 7972 ..o....5.[....yr
0x0140: 4944 8310 03a7 1cad 9d7d 41bd 85c1 dbe0 ID.......}A.....
0x0150: 0192 748e d7bd e147 3781 c42e 4fb9 1eae ..t....G7...O...
0x0160: 7e4c f6d8 7391 34aa 91d7 bc43 047e 79a6 ~L..s.4....C.~y.
0x0170: 1a42 9f9c 0fa6 9c5b fd94 1606 e1c3 8eab .B.....[........
0x0180: aec4 4a17 5596 ef22 e25e 74b4 1f57 aa78 ..J.U..".^t..W.x
0x0190: daca e0d5 139e 9a87 6e8d c8e2 f87c 2644 ........n....|&D
0x01a0: ffe5 17af aff1 6536 5489 7f02 fdf1 8f0a ......e6T.......
0x01b0: 0ce2 4e49 f4df d0f7 c990 9795 a29d fa89 ..NI............
0x01c0: 542a d605 b681 c866 a985 4ab6 78b9 f9da T*.....f..J.x...
0x01d0: e616 1c2f 8c71 2e65 5699 8895 7a9e d54a .../.q.eV...z..J
0x01e0: b50f f665 a1a1 3019 d765 867d 1061 6f32 ...e..0..e.}.ao2
0x01f0: 99e5 1dfc 7af2 d7f5 385a 487e 99ab 5c69 ....z...8ZH~..\i
0x0200: ddc7 8225 37b8 06e0 9499 04ff 0219 b065 ...%7..........e
0x0210: 9321 83f6 9280 2779 dfc1 d42e f011 713b .!....'y......q;
0x0220: cf90 4fb6 dec9 146c 98ff 6060 859c 426b ..O....l..``..Bk
0x0230: 3bbd 106a 9148 f964 2960 ec1e 79e3 0686 ;..j.H.d)`..y...
0x0240: d3b1 dc76 3f7d 7e57 b144 fed8 d74a f53f ...v?}~W.D...J.?
0x0250: 3c58 3af6 be6c c307 47c6 22c1 11fa 2de4 <X:..l..G."...-.
0x0260: 6f6b e1c6 796c b57e f4ae 668b 11cb 7fe5 ok..yl.~..f.....
0x0270: 9a91 be5d c612 02b9 813f b3f0 32d9 a896 ...].....?..2...
0x0280: 46c2 4869 f71b 8e0c 005c dfd5 5565 2ce9 F.Hi.....\..Ue,.
0x0290: 2328 ea9a 9681 56a7 20cb c5e6 3a7a 28d7 #(....V.....:z(.
0x02a0: 345f ed0c c3f7 8bce f874 b340 21ed 9867 4_.......t.@!..g
0x02b0: b831 9f8d 6000 2060 398b d321 7a00 3a7e .1..`..`9..!z.:~
0x02c0: 95d5 6db8 4bc3 701d 9cb0 d6c9 71ed 67b0 ..m.K.p.....q.g.
0x02d0: a0f0 b3fe 0446 3ae0 e8cb 4a35 bf6a b4f4 .....F:...J5.j..
0x02e0: 2640 29d0 ac7d 042d 2171 43fc a148 4eae &@)..}.-!qC..HN.
0x02f0: 119b 5103 d3ae 7bd3 3f5f 1281 fb99 60bc ..Q...{.?_....`.
0x0300: d1d7 6207 d92d 1524 ade1 ee31 f20c 7ffd ..b..-.$...1....
0x0310: d19e 2d29 4409 7673 b43d 2564 19ca 1ea9 ..-)D.vs.=%d....
0x0320: 8452 736e 5165 332b 5abd 28c2 3652 4ba6 .RsnQe3+Z.(.6RK.
0x0330: 0ede b04d cb9b b755 d657 693a cafd 0f9f ...M...U.Wi:....
0x0340: 2691 a6eb d89a 62a6 6651 b982 e4d3 fde6 &.....b.fQ......
0x0350: a4bc cd6e 1a32 e1eb 5af6 8f87 59d0 d5dc ...n.2..Z...Y...
0x0360: ef6c 01fd 6096 540f 223e ec76 8dce e74e .l..`.T.">.v...N
0x0370: c9ff 2c82 8aa3 1119 e694 6f9b a8de ecf6 ..,.......o.....
0x0380: 745d 7923 544a 4691 f3f1 74e9 c64d 6bcb t]y#TJF...t..Mk.
0x0390: dc10 bdff 71b9 826c 6ff8 7653 a85f 6610 ....q..lo.vS._f.
0x03a0: 6ed3 e235 00d0 c193 f71a d127 n..5.......'
16:07:12.931291 IP (tos 0x0, ttl 64, id 33273, offset 0, flags [DF], proto TCP (6), length 52)
172.32.0.245.58518 > 172.31.0.247.32400: Flags [.], cksum 0xfd79 (correct), ack 2477924281, win 501, options [nop,nop,TS val 1795056323 ecr 3652623375], length 0
0x0000: 4500 0034 81f9 4000 4006 5e9f ac20 00f5 E..4..@.@.^.....
0x0010: ac1f 00f7 e496 7e90 c384 ff82 93b2 1fb9 ......~.........
0x0020: 8010 01f5 fd79 0000 0101 080a 6afe 62c3 .....y......j.b.
0x0030: d9b6 9c0f ....
16:07:13.133382 IP (tos 0x0, ttl 64, id 2344, offset 0, flags [DF], proto TCP (6), length 60)
172.32.0.245.55540 > 172.32.10.123.25105: Flags [S], cksum 0xc993 (correct), seq 2229667147, win 64240, options [mss 1460,sackOK,TS val 1305611457 ecr 0,nop,wscale 7], length 0
0x0000: 4500 003c 0928 4000 4006 cde3 ac20 00f5 E..<.(@.@.......
0x0010: ac20 0a7b d8f4 6211 84e6 054b 0000 0000 ...{..b....K....
0x0020: a002 faf0 c993 0000 0204 05b4 0402 080a ................
0x0030: 4dd2 0cc1 0000 0000 0103 0307 M...........
Ed:
Is there something I should figure out from there TCP dumps? Have you reached some conclusion? I'm not familiar with these.
I am trying some things out to possibly isolate why you are getting timeouts and I'm not. I'll send you some instructions of something to try in the next day or two.
Bob
Bob,
You asked me about tcpdump. The dumps show no call at all at the time of timeout. Suggest it isn't being sent and timing on something else. I read somewhere that there was a problem with bindings (a year ago) when sending required multiple buffers.
I'll look forward to your debug instructions.
Ed
Sep 19, 2020 8:52:25 PM Bob Raker notifications@github.com:
Ed:
Is there something I should figure out from there TCP dumps? Have you reached some conclusion? I'm not familiar with these.
I am trying some things out to possibly isolate why you are getting timeouts and I'm not. I'll send you some instructions of something to try in the next day or two.
Bob
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub[https://github.com/BobRak/OpenHAB-Smartthings/issues/98#issuecomment-695391741], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AJRFDT6UHOTZFMQRN6QEBCTSGVG3FANCNFSM4Q6QFAJQ]. [https://github.com/notifications/beacon/AJRFDT63XQ2PBZNQJVVT4WLSGVG3FA5CNFSM4Q6QFAJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFFZNL7I.gif]
Ed:
It would make sense that the requests are getting lost somewhere inside of openHAB. As I explained earlier Smartthings has an async communications model. So requests that are sent to the hub are collected by the hub and an http-202 is returned immediately. Then the real response is sent as an independent message.
Have you tried clearing the cache? Here are instructions for that.
Also, make sure you don't have more than one copy of the smartthings binding in the addons folder. You might also use the console to make sure that the OSGi container is only recognizing one instance of the smartthings binding. Click here for console instructions.. Use the command: bundle:list | grep smartthings
More to come very soon.
Send "state" requests to the hub (for Linux)
Bob Raker
September 20, 2020
These instructions explain how to send "state" requests to the hub and bypass having openHAB do that. A "state" request is a command to the hub to return the current state of a device (Thing). This could be useful to check if openHAB is having a problem sending http messages. The results are returned to openHAB and can be seen in the log.
Step 1 - Setup
Step 2 - Send state commands
In the terminal you openned above, send the following
You will have to change the ip to match your hub's ip. And, change capabilityKey, deviceDisplayName and capabilityAttribute to match your configuration
curl -H "Content-Type: application/json" -H "192.168.87.37:39500" -d '{"capabilityKey": "switch", "deviceDisplayName": "House:LaundryExhaustFan", "capabilityAttribute": "switch" }' http://192.168.87.37:39500/state
You should see the result in the log file.
If you don't see and results or if you get a communications error (like a timeout) there is a problem with: openHAB software installed in the hub, wiring or the hub. I don't think any of these are likely. If you see the state returned then the openhab is not able to successfully sent the messages.
From here you could assemble several curl commands and paste them into the terminal window all at once.
Here is output from my log:
2020-09-20 13:28:04.879 [DEBUG] [rtthings.internal.SmartthingsServlet] - Smartthing servlet processing "state" request. data: {"capabilityAttribute":"switch","deviceDisplayName":"Office Light","value":"on"}
2020-09-20 13:28:05.177 [DEBUG] [rtthings.internal.SmartthingsServlet] - Smartthing servlet processing "state" request. data: {"capabilityAttribute":"switch","deviceDisplayName":"Kitchen Lights","value":"off"}
2020-09-20 13:28:05.458 [DEBUG] [rtthings.internal.SmartthingsServlet] - Smartthing servlet processing "state" request. data: {"capabilityAttribute":"switch","deviceDisplayName":"Living Room Light","value":"off"}
2020-09-20 13:28:05.919 [DEBUG] [rtthings.internal.SmartthingsServlet] - Smartthing servlet processing "state" request. data: {"capabilityAttribute":"switch","deviceDisplayName":"Guest Bedroom Light","value":"off"}
Bob:
Okay, the curl command was very helpful. I was getting timeouts with it also, so I tried it on a Windows machine I have (without OpenHAB) and I get timeouts there too! Not every call is a timeout, but a lot – and totally random. At this point it looks like it is an issue with the SmartThings hub – either API bug or bad hub. I’m thinking of buying a new hub to try to see if takes care of the issue. I currently have a Gen 2 hub, do you know if the Gen 3 hubs work with your binding? Please advise.
Thanks,
Ed
Hi Ed: I also have a gen 2 hub. I'm pretty sure gen 3 works. I know I've answered questions for others that said they have v3 hubs.
I am assuming you've rebooted your hub.
How hard would it be to delete and then reinstall everything on the hub? Maybe start with the smartapps and reboot and reinstall just the openhab smartapp. Then move on to device handlers if that doesn't help
Bob,
I've reinstalled apps, handlers and openhab device multiple times diing this process and ut hasn't worked. I have not reinstalled devices because that is a pain. I keep coming back to the smartthings app and amazon alexa nit having a problem. The difference is they aren't using the http api. But why would inky that part if the hub stop working? That is what u don't understand.
Sep 20, 2020 6:40:25 PM Bob Raker notifications@github.com:
Hi Ed: I also have a gen 2 hub. I'm pretty sure gen 3 works. I know I've answered questions for others that said they have v3 hubs.
I am assuming you've rebooted your hub.
How hard would it be to delete and then reinstall everything on the hub? Maybe start with the smartapps and reboot and reinstall just the openhab smartapp. Then move on to device handlers if that doesn't help
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub[https://github.com/BobRak/OpenHAB-Smartthings/issues/98#issuecomment-695845358], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AJRFDT4AUXCPL3HESO3X5EDSG2AEFANCNFSM4Q6QFAJQ]. [https://github.com/notifications/beacon/AJRFDT67YLLS4HAR2TPKXZDSG2AEFA5CNFSM4Q6QFAJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFF44D3Q.gif]
I've had lots of people have various problems to no problems similar to your. At least as best I remember. have you looked in the smartthings IDE and under Home Hub are a bunch of utilities. If there was a problem with my code it would have to be in the Device Handler as that is where the requests land. From there they are dispatched to the smartapp.
You said you have tried different network cables. How about different network hub/switch ports?
Bob,
I also use a SmartApp by Michael Struck called Alexa Helper (http://thingsthataresmart.wiki/index.php?title=Alexa_Helper). Are you familiar with it’s components? Is It possible that these could be interfering?
Ed
Ed: I'm not familiar this app. I did have a quick look at one of the groovy files and I don't see where it would interfere with the openhab app.
Ed: This was the headline of an article in my Google news feed today: Bulk delete SmartThings (or any brand) devices from Alexa | Michael Lefkowitz The link to it is here. Any possibility this could be related to the problems you are having?
Bob,
Thank you for the information. This really only applies to the Alexa link which is working fine; I’m currently using Amazon Echo Routines to handle some of the functionality I’m missing with the binding because of the timeouts. I’m still weighing my options here. I’m still getting the timeouts frequently (as you can see below). I’m leaning towards getting a new hub. I’ll let you know soon what happens.
2020-09-23 02:57:11.257 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Lamp failed with exception: Total timeout 10000 ms elapsed
2020-09-23 03:00:23.906 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Fan failed with exception: Total timeout 10000 ms elapsed
2020-09-23 03:07:11.235 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Lamp failed with exception: Total timeout 10000 ms elapsed
2020-09-23 03:09:11.608 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Family Room Fan failed with exception: Total timeout 10000 ms elapsed
2020-09-23 03:12:11.266 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Lamp failed with exception: Total timeout 10000 ms elapsed
2020-09-23 03:17:11.253 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Lamp failed with exception: Total timeout 10000 ms elapsed
2020-09-23 03:22:11.246 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Lamp failed with exception: Total timeout 10000 ms elapsed
2020-09-23 03:38:56.596 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Fan failed with exception: Total timeout 10000 ms elapsed
2020-09-23 03:39:11.905 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Family Room Fan failed with exception: Total timeout 10000 ms elapsed
2020-09-23 03:44:13.258 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Fan failed with exception: Total timeout 10000 ms elapsed
2020-09-23 03:48:58.515 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Family Room Fan failed with exception: Total timeout 10000 ms elapsed
2020-09-23 03:52:11.264 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Lamp failed with exception: Total timeout 10000 ms elapsed
2020-09-23 03:57:11.277 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Lamp failed with exception: Total timeout 10000 ms elapsed
2020-09-23 04:02:11.260 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Lamp failed with exception: Total timeout 10000 ms elapsed
2020-09-23 04:07:59.333 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Fan failed with exception: Total timeout 10000 ms elapsed
2020-09-23 04:11:09.658 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Fan failed with exception: Total timeout 10000 ms elapsed
2020-09-23 04:12:11.243 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Lamp failed with exception: Total timeout 10000 ms elapsed
2020-09-23 04:17:11.294 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Lamp failed with exception: Total timeout 10000 ms elapsed
2020-09-23 04:27:11.256 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Lamp failed with exception: Total timeout 10000 ms elapsed
2020-09-23 04:32:11.255 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Lamp failed with exception: Total timeout 10000 ms elapsed
2020-09-23 04:37:11.285 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Lamp failed with exception: Total timeout 10000 ms elapsed
2020-09-23 04:39:12.722 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Family Room Fan failed with exception: Total timeout 10000 ms elapsed
2020-09-23 04:47:11.262 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Lamp failed with exception: Total timeout 10000 ms elapsed
2020-09-23 04:47:33.756 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Fan failed with exception: Total timeout 10000 ms elapsed
2020-09-23 04:54:57.522 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Family Room Fan failed with exception: Total timeout 10000 ms elapsed
2020-09-23 04:57:11.235 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Lamp failed with exception: Total timeout 10000 ms elapsed
2020-09-23 05:07:11.261 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Lamp failed with exception: Total timeout 10000 ms elapsed
2020-09-23 05:09:12.835 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Lamp failed with exception: Total timeout 10000 ms elapsed
2020-09-23 05:09:12.838 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Family Room Fan failed with exception: Total timeout 10000 ms elapsed
2020-09-23 05:11:50.549 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Fan failed with exception: Total timeout 10000 ms elapsed
2020-09-23 05:12:11.226 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Lamp failed with exception: Total timeout 10000 ms elapsed
2020-09-23 05:17:11.276 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Lamp failed with exception: Total timeout 10000 ms elapsed
2020-09-23 05:27:11.227 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Lamp failed with exception: Total timeout 10000 ms elapsed
2020-09-23 05:29:53.888 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Lamp failed with exception: Total timeout 10000 ms elapsed
2020-09-23 05:29:53.888 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Family Room Fan failed with exception: Total timeout 10000 ms elapsed
2020-09-23 05:29:53.888 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Fan failed with exception: Total timeout 10000 ms elapsed
2020-09-23 05:32:11.248 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Lamp failed with exception: Total timeout 10000 ms elapsed
2020-09-23 05:52:11.246 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Lamp failed with exception: Total timeout 10000 ms elapsed
2020-09-23 06:09:13.363 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Family Room Fan failed with exception: Total timeout 10000 ms elapsed
2020-09-23 06:13:42.459 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Lamp failed with exception: Total timeout 10000 ms elapsed
2020-09-23 06:27:11.280 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Lamp failed with exception: Total timeout 10000 ms elapsed
2020-09-23 06:31:07.083 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Family Room Fan failed with exception: Total timeout 10000 ms elapsed
2020-09-23 06:32:11.247 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Lamp failed with exception: Total timeout 10000 ms elapsed
2020-09-23 06:39:13.626 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Family Room Fan failed with exception: Total timeout 10000 ms elapsed
2020-09-23 06:39:13.626 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Lamp failed with exception: Total timeout 10000 ms elapsed
2020-09-23 06:42:13.925 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Family Room Fan failed with exception: Total timeout 10000 ms elapsed
2020-09-23 06:47:11.277 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Lamp failed with exception: Total timeout 10000 ms elapsed
2020-09-23 06:48:02.245 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Family Room Fan failed with exception: Total timeout 10000 ms elapsed
2020-09-23 07:04:13.470 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Family Room Fan failed with exception: Total timeout 10000 ms elapsed
2020-09-23 07:07:11.228 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Lamp failed with exception: Total timeout 10000 ms elapsed
2020-09-23 07:09:03.380 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Family Room Fan failed with exception: Total timeout 10000 ms elapsed
2020-09-23 07:11:55.994 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Brandons Hall failed with exception: Total timeout 10000 ms elapsed
2020-09-23 07:12:14.065 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Fan failed with exception: Total timeout 10000 ms elapsed
2020-09-23 07:12:14.065 [WARN ] [rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Family Room Fan failed with exception: Total timeout 10000 ms elapsed
Bob,
I ordered a new hub (a v3). It will be here tomorrow but, it will take me a couple days to get to reconfiguring everything. I’ll let you know when I get it installed and test for the issue.
Thanks,
Ed Wolfe
Bob,
Unfortunately the situation has gone from bad to worse. I rebooted by hub again (just in case). After I did that I’m now receiving:
2020-09-23 15:36:36.162 [DEBUG] [rtthings.internal.SmartthingsServlet] - Smartthing servlet processing "state" request. data: {"capabilityAttribute":"switch","deviceDisplayName":"Eds Desk Fan","value":"on"}
2020-09-23 15:36:36.164 [WARN ] [s.internal.SmartthingsHandlerFactory] - Unable to locate handler for display name: Eds Desk Fan with attribute: switch. If this thing is included in your OpenHabAppV2 SmartApp in the Smartthings App on your phone it must also be configured in openHAB
I can still control smartthings via Amazon Echo though. I’ll be getting the new hub tomorrow and I’ll see if I can get it installed tomorrow (deepening on when it comes).
Ed
Are you sure "Eds Desk Fan" is configured as a switch in openHAB. For openHAB configuration have you used files (.things, .items) or discovery and the paperUI?
Yes, its been configured for a long time. None of my controls are working in openhab at this point. I'm just going to wait until the new hub us installed (today or tomorrow hopefully) and see if that fixes all the craziness.
Sep 23, 2020 4:12:07 PM Bob Raker notifications@github.com:
Are you sure "Eds Desk Fan" is configured as a switch in openHAB. For openHAB configuration have you used files (.things, .items) or discovery and the paperUI?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub[https://github.com/BobRak/OpenHAB-Smartthings/issues/98#issuecomment-697946480], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AJRFDTZ6AHX2VA4HV4H2I7LSHJJABANCNFSM4Q6QFAJQ]. [https://github.com/notifications/beacon/AJRFDT5XO4WST22IDYODFY3SHJJABA5CNFSM4Q6QFAJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFGM5C4A.gif]
Bob,
Okay, so I received the new hub and installed it. So far, so good with the binding! I have not received any errors as of yet and everything seems to be working.
Ed
Good news. Please keep me posted and let me know that the new hub is still working once you have everything installed on it.
Hi Bob, Firstly, great binding. Thank you for the efforts. I wanted to flag that the timeout issue is also present in my set-up and Isaw that this ticket was still open so adding my experience. Until a few days ago OpenHab was communicating prefectly with 13 SwitchLevel items but something has changed and I'm now getting loads of these timeout errors. It did also occur about 3 months ago, I think when I was upgrading from OH2 to OH3 but I didn't come across this post at the time :-) If I remember correctly I resolved it by removing all the devices from Smartthings and OH and starting afresh. This time I've already rebooted my wifi (Unifi), OpenHab server (openhabian) and Smartthings hub (v3). I will next try to clear the cache and add the timeout flag to see if that helps.
To update: I am back up and running with all communication between OpenHab and Smartthings working as it was before. It is difficult to be sure how the error was resolved but a mix of clean-cache, a number of reboots (both Openhab and Smartthings Hub) and clearing and re-adding Items in the OpenHabAppV2 SmartApp and an upgrade to Openhab 3.0.2 seems to have fixed the issues. Thanks again for a great binding.
I'm glad things are resolved. I am really at a loss to explain what the problem is. I know at least a few have had this problem. If you read the posts from 9/20/20 it seems like the problem isn't with openHab. But there are lots of possibilities: network infrastructure, smartthings hub. my code that runs in the hub. But none of these seem likely.
Thanks for letting me know it is resolve, at least for now.
Bob
When I send a lot of commands to the SmartThings binding, I several of the following message:
[rnal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub failed with exception: total timeout 3000 ms elapsed
For example if I want to turn off all my lights, send the command OFF to the lights group. This results in multiple of the above message (one for all devices except for one or two).
Is there a recommended way to send a bunch of commands to SmartThings so that this doesn't happen? It seems like it is just a problem with rapid fire commands.