Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.io.EOFException #117

Open
edwolfe3 opened this issue Feb 6, 2023 · 6 comments
Open

java.io.EOFException #117

edwolfe3 opened this issue Feb 6, 2023 · 6 comments

Comments

@edwolfe3
Copy link

edwolfe3 commented Feb 6, 2023

Start as long as two months ago (just got around to looking at it). The smartthings bundle can no longer communicate with the smartthings hub. The log shows all devices are ONLINE, there are no devices with errors. However, the log shows the following for every communication to the hub (using Ed's Desk Lamp as an example):

11:36:57.834 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'GF_Office_EdsDeskLamp_Level' changed from 16 to 100 11:36:57.928 [WARN ] [ernal.handler.SmartthingsThingHandler] - Attempt to send command to the Smartthings hub for Eds Desk Lamp failed with exception: java.io.EOFException: HttpConnectionOverHTTP@1ae30b4::SocketChannelEndPoint@3cd669{l=/172.32.0.245:44846,r=/172.32.0.248:39500,ISHUT,fill=-,flush=-,to=81/0}{io=0/0,kio=0,kro=1}->HttpConnectionOverHTTP@1ae30b4(l:/172.32.0.245:44846 <-> r:/172.32.0.248:39500,closed=false)=>HttpChannelOverHTTP@1c364a3(exchange=HttpExchange@8192e9{req=HttpRequest[POST /update HTTP/1.1]@6e249d[TERMINATED/null] res=HttpResponse[null 0 null]@8920a7[PENDING/null]})[send=HttpSenderOverHTTP@89a2a9(req=QUEUED,snd=COMPLETED,failure=null)[HttpGenerator@f96a8b{s=START}],recv=HttpReceiverOverHTTP@16ce405(rsp=IDLE,failure=null)[HttpParser{s=CLOSED,0 of -1}]]

What can I look at/send/etc. to resolve this issue?

@edwolfe3
Copy link
Author

edwolfe3 commented Feb 6, 2023

I have openhab 3.4.1 with

@BobRak
Copy link
Owner

BobRak commented Feb 6, 2023

Ed: I no longer have openHAB installed. My SmartThings hub failed and I just gave it up. My binding used the SmartThings Groovy interface and Samsung has been saying for a couple of year they would stop supporting that. A couple of years ago I looking into supporting their new interface but I couldn't figure out how to make it work and the support was almost non-existent then. Sorry.

@edwolfe3
Copy link
Author

edwolfe3 commented Feb 6, 2023

Can I get the code that you were working for the new interface? I can see what I can do with it?

@BobRak
Copy link
Owner

BobRak commented Feb 7, 2023

Ed: My effort ended at trying to get the sample Java program running. It required at least a dozen libraries which I knew would never fly with OH. Plus it didn't work. After asking repeatedly why it didn't work I got some changes to the sample work. So, I don't have anything to offer. Hopefully things have gotten a lot better.
Bob

@edwolfe3
Copy link
Author

edwolfe3 commented Feb 7, 2023

@BobRak okay, thanks

@lo92fr
Copy link

lo92fr commented Dec 15, 2024

Hello @edwolfe3 , Hello @BobRak,

for information, I'm currently working on new version of the binding.
You will find revelant information on this issue: openhab/openhab-addons#17907.

Laurent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants