# WebConsole not working Stardog 5.0.2

**URL:** <https://community.stardog.com/t/webconsole-not-working-stardog-5-0-2/532>\
**Category:** Bug\
**Created:** [August 28, 2017, 5:20pm UTC](https://community.stardog.com/t/webconsole-not-working-stardog-5-0-2/532 "2017-08-28T17:20:00Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maatari](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/maatari/32/145_2.png) [@Maatari](https://community.stardog.com/u/Maatari)\
**Post date:** [August 28, 2017, 5:20pm UTC](https://community.stardog.com/t/webconsole-not-working-stardog-5-0-2/532/1 "2017-08-28T17:20:00Z")

</div>

Hi,

I have just downloaded the last version of Stardog 5.0.2

Started Stardog as such **./Stardog-admin server start**

When I open the page at [http://localhost:5820/](http://localhost:5820/) i see nothing, just links to stardog website.

 ![03 AM](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/1X/681e6cf10fc2b4fa1d968d8c020c3f203c80014f.png)

This behavior is the same across all my the browsers (Chrome, Safari, FireFox)  
Below is what chrome Developer Tools console shows

 ![14 AM](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/1X/f9c8f9932aa9c85bdaaf3fdde53d49b544595b65.png)

---

<div class="post-metadata">

**Author:** ![StardogLover](https://avatars.discourse-cdn.com/v4/letter/s/e47c2d/32.png) [@StardogLover](https://community.stardog.com/u/StardogLover)\
**Post date:** [August 28, 2017, 6:39pm UTC](https://community.stardog.com/t/webconsole-not-working-stardog-5-0-2/532/2 "2017-08-28T18:39:41Z")

</div>

Hi,  
I had the same problem and it took me 3 days to figure that out!  
The cause of the problem is “windows Firewall” blocks “java”.  
Go and active your java both on “private” and “public” access in firewall setting.

---

<div class="post-metadata">

**Author:** ![Maatari](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/maatari/32/145_2.png) [@Maatari](https://community.stardog.com/u/Maatari)\
**Post date:** [August 28, 2017, 6:44pm UTC](https://community.stardog.com/t/webconsole-not-working-stardog-5-0-2/532/3 "2017-08-28T18:44:20Z")

</div>

I am on OSX. Does that apply to ?

---

<div class="post-metadata">

**Author:** ![StardogLover](https://avatars.discourse-cdn.com/v4/letter/s/e47c2d/32.png) [@StardogLover](https://community.stardog.com/u/StardogLover)\
**Post date:** [August 28, 2017, 6:47pm UTC](https://community.stardog.com/t/webconsole-not-working-stardog-5-0-2/532/4 "2017-08-28T18:47:41Z")

</div>

Whatever block your java will be problematic.  
I am not familiar with OSX but you got my very same error.  
So something is preventing your java to show the content of the page and you have blank page.

---

<div class="post-metadata">

**Author:** ![Maatari](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/maatari/32/145_2.png) [@Maatari](https://community.stardog.com/u/Maatari)\
**Post date:** [August 28, 2017, 7:07pm UTC](https://community.stardog.com/t/webconsole-not-working-stardog-5-0-2/532/5 "2017-08-28T19:07:06Z")

</div>

Sounds like java is authorized on all my browsers, so i don’t understand the problem

---

<div class="post-metadata">

**Author:** ![Maatari](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/maatari/32/145_2.png) [@Maatari](https://community.stardog.com/u/Maatari)\
**Post date:** [August 28, 2017, 7:18pm UTC](https://community.stardog.com/t/webconsole-not-working-stardog-5-0-2/532/6 "2017-08-28T19:18:03Z")

</div>

I have enabled java in the browser via the Java Control Panel. I have enables Java plugins on all my browsers. Hence i wonder if that is the problem ?

---

<div class="post-metadata">

**Author:** ![Maatari](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/maatari/32/145_2.png) [@Maatari](https://community.stardog.com/u/Maatari)\
**Post date:** [August 28, 2017, 10:10pm UTC](https://community.stardog.com/t/webconsole-not-working-stardog-5-0-2/532/7 "2017-08-28T22:10:32Z")

</div>

# The log

ERROR 2017-08-28 15:06:52,570 [XNIO-1 task-11] com.complexible.stardog.protocols.http.server.StardogHttpServiceLoader:accept(226): An unexpected exception was handled by the server  
com.complexible.stardog.server.UnknownDatabaseException: Database ‘favicon.ico’ does not exist.  
at com.complexible.stardog.server.UnknownDatabaseException.create(UnknownDatabaseException.java:28) ~[stardog-core-shared-5.0.2.jar:?]  
at com.complexible.stardog.StardogKernel.get(StardogKernel.java:2627) ~[stardog-5.0.2.jar:?]  
at com.complexible.stardog.StardogKernel.getConnection(StardogKernel.java:1075) ~[stardog-5.0.2.jar:?]  
at com.complexible.stardog.protocols.http.server.GraphStoreProtocol.openConnection(GraphStoreProtocol.java:93) ~[stardog-protocols-http-server-5.0.2.jar:?]  
at com.complexible.stardog.protocols.http.server.GraphStoreProtocol.getGraph(GraphStoreProtocol.java:106) ~[stardog-protocols-http-server-5.0.2.jar:?]  
at com.stardog.http.server.undertow.jaxrs.ExtractRoutes.lambda$handleIt$5(ExtractRoutes.java:186) ~[stardog-protocols-http-server-5.0.2.jar:?]  
at org.apache.shiro.subject.support.SubjectRunnable.doRun(SubjectRunnable.java:120) ~[shiro-core-1.2.3.jar:1.2.3]  
at org.apache.shiro.subject.support.SubjectRunnable.run(SubjectRunnable.java:108) ~[shiro-core-1.2.3.jar:1.2.3]  
at com.stardog.http.server.undertow.ErrorHandling.lambda$safeDispatch$1(ErrorHandling.java:70) ~[stardog-protocols-http-server-5.0.2.jar:?]  
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0\_102]  
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0\_102]  
at java.lang.Thread.run(Thread.java:745) [?:1.8.0\_102]

That is when I try to access the Database query page, or browser. I get a blank page each time. I do not have those problem with the previous stardog.

---

<div class="post-metadata">

**Author:** ![stephen](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/stephen/32/27_2.png) [@stephen](https://community.stardog.com/u/stephen)\
**Post date:** [August 29, 2017, 11:32am UTC](https://community.stardog.com/t/webconsole-not-working-stardog-5-0-2/532/8 "2017-08-29T11:32:17Z")

</div>

Hi,

We’ve seen this problem before with the embedded server. Is that how you’re starting up the stardog server? If so, you will need to specify the WEB\_ROOT option like so:

```auto
Stardog aStardog = Stardog.builder()
                                  .home(new File(<path to your Stardog home>))
                                  .create();

Options aOptions = ServerOptions.defaults()
                                        .set(ServerOptions.WEB_CONSOLE, true)
                                        .set(com.stardog.http.server.ServerOptions.WEB_ROOT,
                                             new File(<path to Stardog installation dir>/webconsole/stardogweb).toPath());

aStardog.newServer().setAll(aOptions).bind(new InetSocketAddress(host, port)).start();

```

---

<div class="post-metadata">

**Author:** ![Maatari](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/maatari/32/145_2.png) [@Maatari](https://community.stardog.com/u/Maatari)\
**Post date:** [August 30, 2017, 8:07am UTC](https://community.stardog.com/t/webconsole-not-working-stardog-5-0-2/532/9 "2017-08-30T08:07:24Z")

</div>

No, that was not the way.

I manage somehow, and i am not fully sure. but got everything to work.

---

<div class="post-metadata">

**Author:** ![StardogLover](https://avatars.discourse-cdn.com/v4/letter/s/e47c2d/32.png) [@StardogLover](https://community.stardog.com/u/StardogLover)\
**Post date:** [August 30, 2017, 5:39pm UTC](https://community.stardog.com/t/webconsole-not-working-stardog-5-0-2/532/10 "2017-08-30T17:39:38Z")

</div>

I know that java is enabled in your browsers but it needs access which sometimes is blocked by firewall. Try to give access to java through firewall instead of the browser.
