my.openhab doesn't connect

649 views
Skip to first unread message

rw8...@gmail.com

unread,
Jul 14, 2015, 1:36:41 PM7/14/15
to myop...@googlegroups.com
Hi,

i followed the my.openhab setup instructions for an existing (updated 1.4 -> 1.7) installation and even with a fresh 1.7 installation with only my.openhab addon and according configurations it is not connecting. I'm using a ubuntu 15.04 vm with a "direct" lan connection, calling the (also https) website of openhab is no problem. It never shows "online" in the openhab portal. Connecting locally (webinterface and ios app) is no problem. Some time ago i ran openhab on hardware (died) which could connect in the (nearly same) same environment.

Logs:
18:22:21.333 [DEBUG] [.m.i.MyOpenHABServiceActivator:28   ] - MyOpenHAB service has been started.
18:22:21.365 [DEBUG] [o.o.i.m.i.MyOpenHABServiceImpl:280  ] - setEventPublisher
18:22:21.368 [DEBUG] [o.o.i.m.i.MyOpenHABServiceImpl:115  ] - my.openHAB service activated
18:22:21.374 [DEBUG] [.p.internal.PersistenceManager:147  ] - Initializing myopenhab persistence service.
18:22:23.497 [DEBUG] [o.o.i.m.i.MyOpenHABServiceImpl:98   ] - config is null
18:22:23.517 [DEBUG] [o.o.i.m.i.MyOpenHABServiceImpl:156  ] - UUID file found at '/opt/openhab/webapps/static/uuid' with content 'x'
18:22:23.518 [DEBUG] [o.o.i.m.i.MyOpenHABServiceImpl:208  ] - Secret file already exists at '/opt/openhab/webapps/static/secret' with content 'x'
18:22:23.518 [DEBUG] [o.o.i.m.i.MyOpenHABServiceImpl:100  ] - UUID = x, secret = x
18:22:23.528 [DEBUG] [o.o.i.m.i.MyOpenHABServiceImpl:156  ] - UUID file found at '/opt/openhab/webapps/static/uuid' with content 'x'
18:22:23.530 [DEBUG] [o.o.i.m.i.MyOpenHABServiceImpl:208  ] - Secret file already exists at '/opt/openhab/webapps/static/secret' with content 'x'
18:22:23.585 [DEBUG] [o.o.i.m.i.MyOpenHABServiceImpl:142  ] - Version file found at '/opt/openhab/webapps/static/version' with content '1.7.0'
   (repeating)
18:22:23.684 [DEBUG] [.myopenhab.internal.MyOHClient:145  ] - Manager.EVENT_TRANSPORT
18:22:23.800 [DEBUG] [.myopenhab.internal.MyOHClient:150  ] - Transport.EVENT_REQUEST_HEADERS
   (item updates, stops after a while)
18:22:23.840 [DEBUG] [.myopenhab.internal.MyOHClient:405  ] - No connection, Item update is not sent


The problem is the same if:
-openhab gets an exposed host in the router settings
-changing the security settings back to default (commenting out "security:netmask=x" and "security:option=EXTERNAL" )
-a combination of above
and
-rebooting os/ restarting app


------
some what's going wrong? some idea to debug further? Or why the logs with uuid and secret are listed twice?

Hemant Kumar

unread,
Jul 15, 2015, 7:15:45 AM7/15/15
to myop...@googlegroups.com
May be some other issue but following line indicate that openHAB is unable to connect to internet:

18:22:23.840 [DEBUG] [.myopenhab.internal.MyOHClient:405  ] - No connection, Item update is not sent




rw8...@gmail.com

unread,
Jul 15, 2015, 11:34:14 AM7/15/15
to myop...@googlegroups.com
calling the my.openhab website is ok with firefox by the same user running openhab. fetching weatherdata from yahoo within openhab is also no problem.. so it seems a "basic" connection to the Internet is made. 
Maybe an issue with ssl / virtual direct connected adapter? my local connections via webbrowser are not encrypted, how the ios app connects i don't know.. i'll try to wireshark a little

but nevertheless thanks for your suggestion :)

Victor Belov

unread,
Jul 20, 2015, 4:50:25 PM7/20/15
to rw8...@gmail.com, myop...@googlegroups.com
Hi,

Which OS and Java version are you running?

--
You received this message because you are subscribed to the Google Groups "my.openHAB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to myopenhab+...@googlegroups.com.
To post to this group, send email to myop...@googlegroups.com.
Visit this group at http://groups.google.com/group/myopenhab.
To view this discussion on the web visit https://groups.google.com/d/msgid/myopenhab/b72a9067-cfac-4f54-b775-2af2f6c8268a%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

rw8...@gmail.com

unread,
Jul 23, 2015, 7:00:23 AM7/23/15
to my.openHAB, belov...@gmail.com
HI,

openHAB 1.7
with openjdk-8-jre 8u45-b14-1 
on Ubuntu 15.04 x64
--
found some ssl/tls errors (client rejecting server certificate as far as i understood) 
Reply all
Reply to author
Forward
0 new messages