Myopenhab authentication

Hmm, I don’t see anything about my.openhab at all here. Are you sure the bundle is in the place?

Also can you please start it in debug mode (start_debug) ?

Here is my add on folder

And it seems like openhab started

06:10:23.239 [DEBUG] [o.o.i.s.i.DiscoveryServiceImpl:66   ] - Registering new service _openhab-server-ssl._tcp.local. at port 8443
06:10:27.218 [INFO ] [.o.u.w.i.servlet.WebAppServlet:79   ] - Started Classic UI at /openhab.app
06:10:36.045 [DEBUG] [.r.internal.RuleModelActivator:42   ] - Registered 'rules' configuration parser
06:10:36.251 [DEBUG] [m.r.internal.engine.RuleEngine:77   ] - Started rule engine
06:10:42.099 [INFO ] [c.internal.ModelRepositoryImpl:80   ] - Loading model 'demo.rules'
06:10:48.114 [DEBUG] [.m.i.MyOpenHABServiceActivator:28   ] - MyOpenHAB service has been started.
06:10:48.213 [DEBUG] [o.o.i.m.i.MyOpenHABServiceImpl:284  ] - setEventPublisher
06:10:48.225 [DEBUG] [o.o.i.m.i.MyOpenHABServiceImpl:119  ] - my.openHAB service activated
06:10:48.347 [DEBUG] [.p.internal.PersistenceManager:147  ] - Initializing myopenhab persistence service.
06:10:48.610 [DEBUG] [m.r.internal.engine.RuleEngine:264  ] - Executing startup rule 'HAG system start'

Is that all??

almost

06:10:55.533 [DEBUG] [riptExtensionClassNameProvider:63   ] - Script actions have changed: AudioActionService, PingActionService, TransformationActionService, HTTPActionService, ExecActionService, MyOpenHABServiceImpl, 
06:10:59.019 [DEBUG] [m.r.internal.engine.RuleEngine:273  ] - Not all required items in place yet for rule HAG system start, trying again later: The name 'sendMail(<XStringLiteralImpl>,<XStringLiteralImpl>,<XBinaryOperationImplCustom>)' cannot be resolved to an item or type.
06:10:59.026 [DEBUG] [c.internal.ModelRepositoryImpl:64   ] - Configuration model 'myopenhab.persist' can not be found
06:10:59.059 [DEBUG] [o.o.i.m.i.MyOpenHABServiceImpl:102  ] - config is null
06:10:59.100 [DEBUG] [o.o.i.m.i.MyOpenHABServiceImpl:160  ] - UUID file found at '/home/pi/openhab/webapps/static/uuid' with content '6275396c-feea-4917-abcf-3450a33fcd59'
06:10:59.125 [DEBUG] [o.o.i.m.i.MyOpenHABServiceImpl:212  ] - Secret file already exists at '/home/pi/openhab/webapps/static/secret' with content 'N28kOg4n3g2a4v4z9PjK'
06:10:59.139 [DEBUG] [o.o.i.m.i.MyOpenHABServiceImpl:104  ] - UUID = 6275396c-feea-4917-abcf-3450a33fcd59, secret = N28kOg4n3g2a4v4z9PjK
06:10:59.328 [DEBUG] [.a.mail.internal.MailActivator:34   ] - Mail action has been started.
06:10:59.343 [DEBUG] [o.o.i.m.i.MyOpenHABServiceImpl:160  ] - UUID file found at '/home/pi/openhab/webapps/static/uuid' with content '6275396c-feea-4917-abcf-3450a33fcd59'
06:10:59.361 [DEBUG] [o.o.i.m.i.MyOpenHABServiceImpl:212  ] - Secret file already exists at '/home/pi/openhab/webapps/static/secret' with content 'N28kOg4n3g2a4v4z9PjK'
06:10:59.500 [DEBUG] [xecPersistenceServiceActivator:33   ] - Exec persistence bundle has been started.
06:10:59.768 [DEBUG] [o.o.i.m.i.MyOpenHABServiceImpl:146  ] - Version file found at '/home/pi/openhab/webapps/static/version' with content '1.7.1'
06:10:59.886 [DEBUG] [.p.internal.PersistenceManager:147  ] - Initializing exec persistence service.
06:11:00.475 [DEBUG] [.myopenhab.internal.MyOHClient:145  ] - Manager.EVENT_TRANSPORT
06:11:01.412 [DEBUG] [.p.internal.PersistenceManager:441  ] - Scheduled strategy exec.everyMinute with cron expression 0 * * * * ?
06:11:05.186 [DEBUG] [.i.LoggingPersistenceActivator:31   ] - Logging persistence bundle has been started.
06:11:05.465 [DEBUG] [.p.internal.PersistenceManager:147  ] - Initializing logging persistence service.
06:11:05.693 [DEBUG] [.o.b.ntp.internal.NtpActivator:31   ] - NTP binding has been started.
06:11:05.939 [DEBUG] [.myopenhab.internal.MyOHClient:150  ] - Transport.EVENT_REQUEST_HEADERS
06:11:06.110 [DEBUG] [i.internal.GenericItemProvider:341  ] - Start processing binding configuration of Item 'Date (Type=DateTimeItem, State=Uninitialized)' with 'NtpGenericBindingProvider' reader.
06:11:06.348 [INFO ] [.service.AbstractActiveService:169  ] - NTP Refresh Service has been started
06:11:06.948 [DEBUG] [.rrd4j.internal.RRD4jActivator:31   ] - RRD4j persistence bundle has been started.
06:11:06.983 [DEBUG] [inding.ntp.internal.NtpBinding:83   ] - Got time from ptbtime1.ptb.de: Monday, 12 October 2015 06:11:06 o'clock UTC
06:11:07.690 [DEBUG] [.p.internal.PersistenceManager:147  ] - Initializing rrd4j persistence service.
06:11:07.785 [DEBUG] [.p.internal.PersistenceManager:328  ] - Item 'DemoSwitch' does not exist.
06:11:07.804 [DEBUG] [.p.internal.PersistenceManager:328  ] - Item 'NoOfLights' does not exist.
06:11:07.819 [DEBUG] [.p.internal.PersistenceManager:328  ] - Item 'Window_GF_Toilet' does not exist.
06:11:08.852 [DEBUG] [.p.internal.PersistenceManager:390  ] - Restored item state from '11-Oct-2015 18:47:08' for item 'Heating_FF_Bed' -> 'OFF'
06:11:09.032 [DEBUG] [.p.internal.PersistenceManager:390  ] - Restored item state from '11-Oct-2015 18:47:00' for item 'Heating_GF_Living' -> 'OFF'
06:11:09.170 [DEBUG] [.p.internal.PersistenceManager:390  ] - Restored item state from '11-Oct-2015 18:47:03' for item 'Heating_FF_Office' -> 'OFF'
06:11:09.256 [DEBUG] [.p.internal.PersistenceManager:390  ] - Restored item state from '11-Oct-2015 18:47:02' for item 'Heating_GF_Kitchen' -> 'OFF'
06:11:09.438 [DEBUG] [.p.internal.PersistenceManager:390  ] - Restored item state from '11-Oct-2015 18:47:08' for item 'Heating_FF_Bath' -> 'OFF'
06:11:09.589 [DEBUG] [.p.internal.PersistenceManager:390  ] - Restored item state from '11-Oct-2015 18:47:10' for item 'Heating_Hallway' -> 'OFF'
06:11:09.604 [DEBUG] [.p.internal.PersistenceManager:341  ] - Item group 'Temperature' does not exist.
06:11:09.619 [DEBUG] [.p.internal.PersistenceManager:341  ] - Item group 'Weather_Chart' does not exist.
06:11:09.688 [DEBUG] [.p.internal.PersistenceManager:441  ] - Scheduled strategy rrd4j.everyMinute with cron expression 0 * * * * ?
06:11:09.798 [DEBUG] [.p.rrd4j.internal.RRD4jService:345  ] - using default configuration only
06:11:09.930 [DEBUG] [p.r.i.charts.RRD4jChartServlet:118  ] - Starting up rrd chart servlet at /rrdchart.png
06:11:10.433 [DEBUG] [o.o.b.m.i.MailControlActivator:33   ] - MailControl binding has been started.
06:11:10.950 [DEBUG] [.b.http.internal.HttpActivator:34   ] - HTTP binding has been started.
06:11:11.458 [INFO ] [.service.AbstractActiveService:169  ] - HTTP Refresh Service has been started
06:11:12.420 [DEBUG] [.myopenhab.internal.MyOHClient:150  ] - Transport.EVENT_REQUEST_HEADERS
06:11:25.968 [ERROR] [.myopenhab.internal.MyOHClient:178  ] - Socket.IO error: not authorized
06:11:25.982 [DEBUG] [.myopenhab.internal.MyOHClient:150  ] - Transport.EVENT_REQUEST_HEADERS
06:11:27.592 [ERROR] [o.u.i.items.ItemUIRegistryImpl:438  ] - Cannot retrieve item Switches for widget org.openhab.model.sitemap.Group
06:11:27.615 [ERROR] [o.u.i.items.ItemUIRegistryImpl:438  ] - Cannot retrieve item Switches for widget org.openhab.model.sitemap.Group
06:11:27.632 [ERROR] [o.u.i.items.ItemUIRegistryImpl:438  ] - Cannot retrieve item Switches for widget org.openhab.model.sitemap.Group
06:11:37.561 [DEBUG] [.myopenhab.internal.MyOHClient:150  ] - Transport.EVENT_REQUEST_HEADERS
06:11:38.195 [DEBUG] [.myopenhab.internal.MyOHClient:150  ] - Transport.EVENT_REQUEST_HEADERS
06:12:00.911 [DEBUG] [.p.internal.PersistenceManager:328  ] - Item 'DemoSwitch' does not exist.
06:12:00.926 [DEBUG] [.p.internal.PersistenceManager:328  ] - Item 'NoOfLights' does not exist.
06:12:00.936 [DEBUG] [.p.internal.PersistenceManager:328  ] - Item 'Window_GF_Toilet' does not exist.
06:12:01.750 [DEBUG] [.p.rrd4j.internal.RRD4jService:113  ] - Stored 'Heating_FF_Bed' with state 'OFF' in rrd4j database (again)
06:12:01.794 [DEBUG] [.p.rrd4j.internal.RRD4jService:132  ] - Stored 'Heating_FF_Bed' with state '0' in rrd4j database
06:12:02.743 [TRACE] [o.c.p.internal.PersistItemsJob:56   ] - Storing item 'Heating_FF_Bed' with persistence service 'rrd4j' took 1799ms
06:12:03.211 [DEBUG] [.myopenhab.internal.MyOHClient:150  ] - Transport.EVENT_REQUEST_HEADERS
06:12:03.239 [DEBUG] [.p.rrd4j.internal.RRD4jService:113  ] - Stored 'Heating_GF_Living' with state 'OFF' in rrd4j database (again)
06:12:03.251 [DEBUG] [.p.rrd4j.internal.RRD4jService:132  ] - Stored 'Heating_GF_Living' with state '0' in rrd4j database
06:12:03.768 [DEBUG] [.myopenhab.internal.MyOHClient:150  ] - Transport.EVENT_REQUEST_HEADERS
06:12:04.136 [TRACE] [o.c.p.internal.PersistItemsJob:56   ] - Storing item 'Heating_GF_Living' with persistence service 'rrd4j' took 1389ms
06:12:05.230 [DEBUG] [.p.rrd4j.internal.RRD4jService:113  ] - Stored 'Heating_FF_Office' with state 'OFF' in rrd4j database (again)
06:12:05.237 [DEBUG] [.p.rrd4j.internal.RRD4jService:132  ] - Stored 'Heating_FF_Office' with state '0' in rrd4j database
06:12:06.114 [TRACE] [o.c.p.internal.PersistItemsJob:56   ] - Storing item 'Heating_FF_Office' with persistence service 'rrd4j' took 1968ms
06:12:06.515 [DEBUG] [.p.rrd4j.internal.RRD4jService:113  ] - Stored 'Heating_FF_Bath' with state 'OFF' in rrd4j database (again)
06:12:06.524 [DEBUG] [.p.rrd4j.internal.RRD4jService:132  ] - Stored 'Heating_FF_Bath' with state '0' in rrd4j database
06:12:08.268 [TRACE] [o.c.p.internal.PersistItemsJob:56   ] - Storing item 'Heating_FF_Bath' with persistence service 'rrd4j' took 2149ms
06:12:08.684 [DEBUG] [.p.rrd4j.internal.RRD4jService:113  ] - Stored 'Heating_GF_Kitchen' with state 'OFF' in rrd4j database (again)
06:12:08.690 [DEBUG] [.p.rrd4j.internal.RRD4jService:132  ] - Stored 'Heating_GF_Kitchen' with state '0' in rrd4j database
06:12:09.754 [TRACE] [o.c.p.internal.PersistItemsJob:56   ] - Storing item 'Heating_GF_Kitchen' with persistence service 'rrd4j' took 1482ms
06:12:10.179 [DEBUG] [.p.rrd4j.internal.RRD4jService:113  ] - Stored 'Heating_Hallway' with state 'OFF' in rrd4j database (again)
06:12:10.186 [DEBUG] [.p.rrd4j.internal.RRD4jService:132  ] - Stored 'Heating_Hallway' with state '0' in rrd4j database
06:12:10.850 [TRACE] [o.c.p.internal.PersistItemsJob:56   ] - Storing item 'Heating_Hallway' with persistence service 'rrd4j' took 1091ms
06:12:10.856 [DEBUG] [.p.internal.PersistenceManager:341  ] - Item group 'Temperature' does not exist.
06:12:10.862 [DEBUG] [.p.internal.PersistenceManager:341  ] - Item group 'Weather_Chart' does not exist.
06:12:28.768 [DEBUG] [.myopenhab.internal.MyOHClient:150  ] - Transport.EVENT_REQUEST_HEADERS
06:12:29.301 [DEBUG] [.myopenhab.internal.MyOHClient:150  ] - Transport.EVENT_REQUEST_HEADERS
06:12:54.300 [DEBUG] [.myopenhab.internal.MyOHClient:150  ] - Transport.EVENT_REQUEST_HEADERS
06:12:54.988 [DEBUG] [.myopenhab.internal.MyOHClient:150  ] - Transport.EVENT_REQUEST_HEADERS
06:13:00.034 [DEBUG] [.p.internal.PersistenceManager:328  ] - Item 'DemoSwitch' does not exist.
06:13:00.054 [DEBUG] [.p.internal.PersistenceManager:328  ] - Item 'NoOfLights' does not exist.
06:13:00.061 [DEBUG] [.p.internal.PersistenceManager:328  ] - Item 'Window_GF_Toilet' does not exist.
06:13:00.086 [DEBUG] [.p.rrd4j.internal.RRD4jService:113  ] - Stored 'Heating_FF_Bed' with state 'OFF' in rrd4j database (again)
06:13:00.094 [DEBUG] [.p.rrd4j.internal.RRD4jService:132  ] - Stored 'Heating_FF_Bed' with state '0' in rrd4j database
06:13:00.134 [TRACE] [o.c.p.internal.PersistItemsJob:56   ] - Storing item 'Heating_FF_Bed' with persistence service 'rrd4j' took 66ms
06:13:00.154 [DEBUG] [.p.rrd4j.internal.RRD4jService:113  ] - Stored 'Heating_GF_Living' with state 'OFF' in rrd4j database (again)
06:13:00.163 [DEBUG] [.p.rrd4j.internal.RRD4jService:132  ] - Stored 'Heating_GF_Living' with state '0' in rrd4j database
06:13:00.189 [TRACE] [o.c.p.internal.PersistItemsJob:56   ] - Storing item 'Heating_GF_Living' with persistence service 'rrd4j' took 50ms
06:13:00.214 [DEBUG] [.p.rrd4j.internal.RRD4jService:113  ] - Stored 'Heating_FF_Office' with state 'OFF' in rrd4j database (again)
06:13:00.220 [DEBUG] [.p.rrd4j.internal.RRD4jService:132  ] - Stored 'Heating_FF_Office' with state '0' in rrd4j database
06:13:00.268 [TRACE] [o.c.p.internal.PersistItemsJob:56   ] - Storing item 'Heating_FF_Office' with persistence service 'rrd4j' took 73ms
06:13:00.301 [DEBUG] [.p.rrd4j.internal.RRD4jService:113  ] - Stored 'Heating_FF_Bath' with state 'OFF' in rrd4j database (again)
06:13:00.309 [DEBUG] [.p.rrd4j.internal.RRD4jService:132  ] - Stored 'Heating_FF_Bath' with state '0' in rrd4j database
06:13:00.351 [TRACE] [o.c.p.internal.PersistItemsJob:56   ] - Storing item 'Heating_FF_Bath' with persistence service 'rrd4j' took 78ms
06:13:00.382 [DEBUG] [.p.rrd4j.internal.RRD4jService:113  ] - Stored 'Heating_GF_Kitchen' with state 'OFF' in rrd4j database (again)
06:13:00.389 [DEBUG] [.p.rrd4j.internal.RRD4jService:132  ] - Stored 'Heating_GF_Kitchen' with state '0' in rrd4j database
06:13:00.429 [TRACE] [o.c.p.internal.PersistItemsJob:56   ] - Storing item 'Heating_GF_Kitchen' with persistence service 'rrd4j' took 73ms
06:13:00.459 [DEBUG] [.p.rrd4j.internal.RRD4jService:113  ] - Stored 'Heating_Hallway' with state 'OFF' in rrd4j database (again)
06:13:00.478 [DEBUG] [.p.rrd4j.internal.RRD4jService:132  ] - Stored 'Heating_Hallway' with state '0' in rrd4j database
06:13:00.515 [TRACE] [o.c.p.internal.PersistItemsJob:56   ] - Storing item 'Heating_Hallway' with persistence service 'rrd4j' took 80ms
06:13:00.521 [DEBUG] [.p.internal.PersistenceManager:341  ] - Item group 'Temperature' does not exist.
06:13:00.535 [DEBUG] [.p.internal.PersistenceManager:341  ] - Item group 'Weather_Chart' does not exist.
06:13:19.987 [DEBUG] [.myopenhab.internal.MyOHClient:150  ] - Transport.EVENT_REQUEST_HEADERS
06:13:20.491 [DEBUG] [.myopenhab.internal.MyOHClient:150  ] - Transport.EVENT_REQUEST_HEADERS
06:13:45.493 [DEBUG] [.myopenhab.internal.MyOHClient:150  ] - Transport.EVENT_REQUEST_HEADERS
06:13:45.952 [DEBUG] [.myopenhab.internal.MyOHClient:150  ] - Transport.EVENT_REQUEST_HEADERS
06:14:00.022 [DEBUG] [.p.internal.PersistenceManager:328  ] - Item 'DemoSwitch' does not exist.
06:14:00.029 [DEBUG] [.p.internal.PersistenceManager:328  ] - Item 'NoOfLights' does not exist.
06:14:00.035 [DEBUG] [.p.internal.PersistenceManager:328  ] - Item 'Window_GF_Toilet' does not exist.
06:14:00.064 [DEBUG] [.p.rrd4j.internal.RRD4jService:113  ] - Stored 'Heating_FF_Bed' with state 'OFF' in rrd4j database (again)
06:14:00.071 [DEBUG] [.p.rrd4j.internal.RRD4jService:132  ] - Stored 'Heating_FF_Bed' with state '0' in rrd4j database
06:14:00.153 [TRACE] [o.c.p.internal.PersistItemsJob:56   ] - Storing item 'Heating_FF_Bed' with persistence service 'rrd4j' took 112ms
06:14:00.171 [DEBUG] [.p.rrd4j.internal.RRD4jService:113  ] - Stored 'Heating_GF_Living' with state 'OFF' in rrd4j database (again)
06:14:00.179 [DEBUG] [.p.rrd4j.internal.RRD4jService:132  ] - Stored 'Heating_GF_Living' with state '0' in rrd4j database
06:14:01.009 [TRACE] [o.c.p.internal.PersistItemsJob:56   ] - Storing item 'Heating_GF_Living' with persistence service 'rrd4j' took 852ms
06:14:01.053 [DEBUG] [.p.rrd4j.internal.RRD4jService:113  ] - Stored 'Heating_FF_Office' with state 'OFF' in rrd4j database (again)
06:14:01.061 [DEBUG] [.p.rrd4j.internal.RRD4jService:132  ] - Stored 'Heating_FF_Office' with state '0' in rrd4j database
06:14:01.090 [TRACE] [o.c.p.internal.PersistItemsJob:56   ] - Storing item 'Heating_FF_Office' with persistence service 'rrd4j' took 76ms
06:14:01.111 [DEBUG] [.p.rrd4j.internal.RRD4jService:113  ] - Stored 'Heating_FF_Bath' with state 'OFF' in rrd4j database (again)
06:14:01.125 [DEBUG] [.p.rrd4j.internal.RRD4jService:132  ] - Stored 'Heating_FF_Bath' with state '0' in rrd4j database
06:14:01.170 [TRACE] [o.c.p.internal.PersistItemsJob:56   ] - Storing item 'Heating_FF_Bath' with persistence service 'rrd4j' took 74ms
06:14:01.193 [DEBUG] [.p.rrd4j.internal.RRD4jService:113  ] - Stored 'Heating_GF_Kitchen' with state 'OFF' in rrd4j database (again)
06:14:01.199 [DEBUG] [.p.rrd4j.internal.RRD4jService:132  ] - Stored 'Heating_GF_Kitchen' with state '0' in rrd4j database
06:14:01.228 [TRACE] [o.c.p.internal.PersistItemsJob:56   ] - Storing item 'Heating_GF_Kitchen' with persistence service 'rrd4j' took 53ms
06:14:01.250 [DEBUG] [.p.rrd4j.internal.RRD4jService:113  ] - Stored 'Heating_Hallway' with state 'OFF' in rrd4j database (again)
06:14:01.256 [DEBUG] [.p.rrd4j.internal.RRD4jService:132  ] - Stored 'Heating_Hallway' with state '0' in rrd4j database
06:14:01.314 [TRACE] [o.c.p.internal.PersistItemsJob:56   ] - Storing item 'Heating_Hallway' with persistence service 'rrd4j' took 81ms
06:14:01.319 [DEBUG] [.p.internal.PersistenceManager:341  ] - Item group 'Temperature' does not exist.
06:14:01.326 [DEBUG] [.p.internal.PersistenceManager:341  ] - Item group 'Weather_Chart' does not exist.
06:14:10.953 [DEBUG] [.myopenhab.internal.MyOHClient:150  ] - Transport.EVENT_REQUEST_HEADERS
06:14:11.637 [DEBUG] [.myopenhab.internal.MyOHClient:150  ] - Transport.EVENT_REQUEST_HEADERS

I can’t find an openHAB with this uuid. Did you put uuid and secret into you my.openhab.org account?

Hi
I reinstalled openhab now, however my secret and uiud file are gone, how can i generate new ones?

f you loose this files during openHAB upgrade or by another occasion openHAB will automatically generate new ones and you will have to reconfigure UUID and secret in my.openHAB under My account section.

Somehow it did not automatically made new ones. Any idea how i can generate those files?

Thanks for the help so far

In my case they were created as soon as I put the myopenhab jar into the addon folder and openhab noticed that …

As soon as you have my.openhab bundle in your addons dir they should be generated automatically.

Hi everybody, i think i have similar issues…i don’t care opening a new thread but maybe it’s not worthy; here is my extract from openhab.log, i don’t understand the “Socket” errors…

2015-10-23 02:00:01.466 [ERROR] [.myopenhab.internal.MyOHClient] - Socket.IO error: com.github.nkzawa.engineio.client.EngineIOException: xhr poll error
2015-10-23 02:00:01.472 [INFO ] [.myopenhab.internal.MyOHClient] - Disconnected from my.openHAB service (UUID = hidden, base URL = http://localhost:8080)
2015-10-23 02:00:12.428 [ERROR] [.myopenhab.internal.MyOHClient] - Socket.IO error: not authorized
2015-10-23 02:46:08.109 [ERROR] [.myopenhab.internal.MyOHClient] - Socket.IO error: com.github.nkzawa.engineio.client.EngineIOException: xhr poll error
2015-10-23 02:46:08.119 [INFO ] [.myopenhab.internal.MyOHClient] - Disconnected from my.openHAB service (UUID = hidden, base URL = http://localhost:8080)
2015-10-23 02:46:23.497 [ERROR] [.myopenhab.internal.MyOHClient] - Socket.IO error: not authorized
2015-10-23 08:49:04.218 [ERROR] [.myopenhab.internal.MyOHClient] - Socket.IO error: com.github.nkzawa.engineio.client.EngineIOException: xhr post error
2015-10-23 08:49:04.225 [INFO ] [.myopenhab.internal.MyOHClient] - Disconnected from my.openHAB service (UUID = hidden, base URL = http://localhost:8080)
2015-10-23 08:49:08.943 [ERROR] [.myopenhab.internal.MyOHClient] - Socket.IO error: not authorized
2015-10-23 08:50:31.826 [INFO ] [.myopenhab.internal.MyOHClient] - Disconnected from my.openHAB service (UUID = hidden, base URL = http://localhost:8080)
2015-10-23 08:50:35.520 [ERROR] [.myopenhab.internal.MyOHClient] - Socket.IO error: not authorized
2015-10-23 09:55:21.344 [INFO ] [.myopenhab.internal.MyOHClient] - Disconnected from my.openHAB service (UUID = hidden, base URL = http://localhost:8080)
2015-10-23 09:55:28.625 [ERROR] [.myopenhab.internal.MyOHClient] - Socket.IO error: not authorized
2015-10-23 12:47:18.853 [INFO ] [.myopenhab.internal.MyOHClient] - Disconnected from my.openHAB service (UUID = hidden, base URL = http://localhost:8080)
2015-10-23 12:48:50.228 [INFO ] [.myopenhab.internal.MyOHClient] - Disconnected from my.openHAB service (UUID = hidden, base URL = http://localhost:8080)
2015-10-23 12:53:01.592 [ERROR] [.myopenhab.internal.MyOHClient] - Socket.IO error: not authorized

This is because i have the binding installed (with my.openhab) even though i don’t use it ?
(maybe in the future)

Thank you very much!
Maxi

As soon as you install my.openhab bundle it generates UUID and secret and starts trying to connect to my.openHAB. I assume ‘don’t use it’ means you didn’t create my.openhab account with those uuid and secret, so your bundle can’t authenticate and thus you get those messages in your log.

Victor, thank you very much for your answer. Yes, i didn’t create the account yet.

it came after a few reboots:)

now i can even see it online:

14:07:32.542 [DEBUG] [.myopenhab.internal.MyOHClient:164 ] - Socket.IO connected
14:07:32.545 [INFO ] [.myopenhab.internal.MyOHClient:205 ] - Connected to my.openHAB service (UUID = 110b3b28-ba70-4888-92fe-f1xxxxxx918, base URL = http://localhost:8080)

thanks, hope it keeps working.

Seems like reinstalling openhab did the trick.

Myopenhab disconnects all the time. I think this is because of unstable internet. However it seems that it does not connect itself back online when internet is recovered. Is that true ? Do I need to restart Openhab if my internet has been down ? Here is my eventlog:

  Today at 5:00 AM	openHAB is online
Today at 1:27 AM	openHAB is offline
Yesterday at 10:01 PM	openHAB is online
Last Tuesday at 9:16 PM	openHAB is offline
Last Tuesday at 3:28 PM	openHAB is online
Last Tuesday at 3:28 PM	openHAB is online
Last Tuesday at 3:24 PM	openHAB is offline

Nope. It should reconnect automatically as soon as connection to my.openHAB is available again. But your log messages could be caused by minor instability issues we had last week.

Thanks, maybe that was the reason why it went ofline several times then:
However it still goes down once in a while but not so often anymore:

Yesterday at 5:00 PM	openhab	online
Yesterday at 3:11 PM	openhab	offline
Yesterday at 5:00 AM	openhab	online
Yesterday at 12:37 AM	openhab	offline

Is my.openhab down? Or did i get locked out?

Any help would make my amazon echo work again…

The service is up and running: 11:45:28 AM GMT +00:00

Great, maybe we could add a status on https://my.openhab.org/ saying if the service is up running or not in the future, were a few post on the forum today about it…

1 Like

Hi @skatun
I logged in to my.openhab.org successfully and
openhab is also running and events.log I’m continuously getting data.
But on link : https://my.openhab.org/events nothing is coming, the page is blank.

Any configuration issue …?
Please help me as soon as possible

Thanks
shrikant