Problem with browser login

Hi Experts,

I’m a new member and try to get the openhub into operation. I did all acc. to the instrucktion but now, when I try to get access via my browswr with:
http://192.168.178.27:8080

I get the following response:

HTTP ERROR 500
Problem accessing /openhab.app. Reason:
Sitemap ‘default’ could not be foundCaused by:org.openhab.ui.webapp.render.RenderException: Sitemap ‘default’ could not be found
at org.openhab.ui.webapp.internal.servlet.WebAppServlet.service(WebAppServlet.java:114)
at org.eclipse.equinox.http.servlet.internal.ServletRegistration.service(ServletRegistration.java:61)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.processAlias(ProxyServlet.java:128)
at org.eclipse.equinox.http.servlet.internal.ProxyServlet.service(ProxyServlet.java:60)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:598)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:486)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1065)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:413)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:192)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:999)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:250)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:149)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111)
at org.eclipse.jetty.server.Server.handle(Server.java:350)
at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:454)
at org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:890)
at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:944)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:630)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:230)
at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:77)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:606)
at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:46)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:603)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:538)
at java.lang.Thread.run(Thread.java:744)

Powered by Jetty://

Do you have any Idea what happend? What shall I do?

You need to have a sitemap in your configuration called ‘default.sitemap’.

The error suggests it can’t find that sitemap.

[quote=“marklavercombe, post:2, topic:5653, full:true”]
You need to have a sitemap in your configuration called ‘default.sitemap’.[/quote]

Or, if you did use a different name for your sitemap, you need to call that name in your browser url, for example if your sitemap is called test.sitemap, you have to use

http://192.168.178.27:8080/openhab.app?sitemap=test

Quite right.
Should have been a bit more clear. :slight_smile:

Thanks all you for the explenations. But isn’t this sitemap not a part from openhub?
From where do I get this missing sitemap?

Hi,

basically you work with three files when you have your openHAB up and running (apart from bindings).
YOUR.sitemap / YOUR.items / YOUR.rules. Each of those files fount in corresponding folder on your operation system / instalaltion folder.

In the sitemap you define how your site shall look and if you use an app on a smartphone (both automatically depending on what you design in sitemap).

Hope this helps.

/Toby

First, the software is called openhab, second, the sitemap is only part of openhab if you have either installed the demo (see my link for basic docs) or configured your own sitemap (and items and rules and …)
You should start by reading the basic documents.

Good luck.

Hello, I wanted to start my home with openHAB too and i find these answers to the OP not fitting.
Any platform should want to be friendly to new users and if I look at youtube demos and presentations about openHAB then none of them talk about building sitemap and messing around with HTTP 500 and 404 errors out of the box.
I too installed the latest, at posting 1.8.3, package on windows to test serial things and building sensors.

And what greets me after install + addons when i go to the openhab local page? Error 500, default missing.
In presentations - ppl get the 4 ui selection page and can start looking around in the backend - that would be okay and normal. Sending people to dig in interweb about an error as a FIRST EXPERIENCE right after installing - not nice.

Why am I not greeted with “classic ui / paper ui … etc” page after install, to be able to start setting something up, and how can i make that happen plase? (it does happen with openhab 2 builds)(also counts as tl/dr)
Could openHAB dev’s consider having some graphical ui working on the runtime package out of the box… would be great for their cause - because most ppl will give up after page full of text errors as a first greeting.

Have you seen the Getting Started page?
http://www.openhab.org/getting-started/
it does cover the URL to see the demo sitemap, in the “Go Test it” section

It is not clear what you want to achieve: installing openHAB1 or openHAB2?
If you read the basic docs and perform all recommended steps there are no errors when you launch openHAB (either version 1 or 2).
For openHAB1: http://www.openhab.org/getting-started/
For openHAB2: http://docs.openhab.org/installation/index.html

Have fun.