You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by Jason Levitt <sl...@gmail.com> on 2015/09/09 23:33:00 UTC
Fuseki web interface broken?
I fired up a new instance of Amazon Linux (64-bit, 4gig RAM).
I installed the latest version of Java 8 (Oracle)
I downloaded the latest version of Fuseki, v2.30 to it.
I started it thusly:
$ ./fuseki-server
When I go to my Fuseki endpoint which brings up the Fuseki web app:
http://88.99.77.66:3030
The web UI seems to be somewhat broken (SEE ATTACHMENT). There's no
way to add a dataset. The selection for dataset doesn't work
(see attachment).
Yet the Fuseki console reveals nothing either:
$ ./fuseki-server
[2015-09-09 21:25:56] Server INFO Fuseki 2.3.0 2015-07-25T17:11:28+0000
[2015-09-09 21:25:56] Config INFO FUSEKI_HOME=/home/ec2-user/fuseki
[2015-09-09 21:25:56] Config INFO FUSEKI_BASE=/home/ec2-user/fuseki/run
[2015-09-09 21:25:56] Servlet INFO Initializing Shiro environment
[2015-09-09 21:25:56] Config INFO Shiro file:
file:///home/ec2-user/fuseki/run/shiro.ini
[2015-09-09 21:25:57] Server INFO Started 2015/09/09 21:25:57 UTC
on port 3030
Any ideas?
Jason
Re: Fuseki web interface broken?
Posted by Andy Seaborne <an...@apache.org>.
On 10/09/15 15:18, Jason Levitt wrote:
> SSL requests to Fuseki seem to work whether that is set to true or
> false. Is it supposed to be denying
> SSL requests to Fuseki?
My reading of the Shiro doc (and looking at the source code) is that the
SslFilter mandates https. If not enabled, any requests go on through the
security chain.
The SslFilter can be applied to some request and not others by Shiro if
set up right.
Better way to only have https is an HTTPS connector then it's a non-issue.
Andy
> J
>
> On Thu, Sep 10, 2015 at 3:28 AM, Andy Seaborne <an...@apache.org> wrote:
>> On 09/09/15 23:37, Jason Levitt wrote:
>>>
>>> Thanks Andy. That works.
>>>
>>> What does this statement at the top of the shiro.ini file mean?
>>>
>>> # Development
>>> ssl.enabled = false
>>
>>
>> Shiro feature - controls the SslFilter which (I think - check the Shiro
>> documentation) requires SSL. Doesn't seem to do anything else.
>>
>> Andy
>>
>>
>>>
>>> Cheers,
>>>
>>> J
>>>
>>> On Wed, Sep 9, 2015 at 5:17 PM, Andy Seaborne <an...@apache.org> wrote:
>>>>
>>>>
>>>> By default (you can change this), the UI only works for localhost where
>>>> it
>>>> has the capability to make changes, create datasets etc.
>>>>
>>>> That is controlled by the shiro.ini file
>>>>
>>>> ...
>>>> [urls]
>>>> ## Control functions open to anyone
>>>> /$/status = anon
>>>> /$/ping = anon
>>>>
>>>> ## and the rest are restricted to localhost.
>>>> /$/** = localhostFilter
>>>> ...
>>>>
>>>> There are instructions in that file to switch to using user/password
>>>> control.
>>>>--rm
>>>> "localhost" means the request comes from the "Local loopback interface",
>>>> "lo" 127.0.0.1 or ::1/128.
>>>>
>>>> Andy
>>>>
>>>>
>>>> On 09/09/15 22:33, Jason Levitt wrote:
>>>>>
>>>>>
>>>>> I fired up a new instance of Amazon Linux (64-bit, 4gig RAM).
>>>>>
>>>>> I installed the latest version of Java 8 (Oracle)
>>>>>
>>>>> I downloaded the latest version of Fuseki, v2.30 to it.
>>>>>
>>>>> I started it thusly:
>>>>>
>>>>> $ ./fuseki-server
>>>>>
>>>>> When I go to my Fuseki endpoint which brings up the Fuseki web app:
>>>>>
>>>>> http://88.99.77.66:3030
>>>>>
>>>>> The web UI seems to be somewhat broken (SEE ATTACHMENT). There's no
>>>>> way to add a dataset. The selection for dataset doesn't work
>>>>> (see attachment).
>>>>>
>>>>> Yet the Fuseki console reveals nothing either:
>>>>>
>>>>> $ ./fuseki-server
>>>>> [2015-09-09 21:25:56] Server INFO Fuseki 2.3.0
>>>>> 2015-07-25T17:11:28+0000
>>>>> [2015-09-09 21:25:56] Config INFO FUSEKI_HOME=/home/ec2-user/fuseki
>>>>> [2015-09-09 21:25:56] Config INFO
>>>>> FUSEKI_BASE=/home/ec2-user/fuseki/run
>>>>> [2015-09-09 21:25:56] Servlet INFO Initializing Shiro environment
>>>>> [2015-09-09 21:25:56] Config INFO Shiro file:
>>>>> file:///home/ec2-user/fuseki/run/shiro.ini
>>>>> [2015-09-09 21:25:57] Server INFO Started 2015/09/09 21:25:57 UTC
>>>>> on port 3030
>>>>>
>>>>> Any ideas?
>>>>>
>>>>> Jason
>>>>>
>>>>
>>
Re: Fuseki web interface broken?
Posted by Jason Levitt <sl...@gmail.com>.
SSL requests to Fuseki seem to work whether that is set to true or
false. Is it supposed to be denying
SSL requests to Fuseki?
J
On Thu, Sep 10, 2015 at 3:28 AM, Andy Seaborne <an...@apache.org> wrote:
> On 09/09/15 23:37, Jason Levitt wrote:
>>
>> Thanks Andy. That works.
>>
>> What does this statement at the top of the shiro.ini file mean?
>>
>> # Development
>> ssl.enabled = false
>
>
> Shiro feature - controls the SslFilter which (I think - check the Shiro
> documentation) requires SSL. Doesn't seem to do anything else.
>
> Andy
>
>
>>
>> Cheers,
>>
>> J
>>
>> On Wed, Sep 9, 2015 at 5:17 PM, Andy Seaborne <an...@apache.org> wrote:
>>>
>>>
>>> By default (you can change this), the UI only works for localhost where
>>> it
>>> has the capability to make changes, create datasets etc.
>>>
>>> That is controlled by the shiro.ini file
>>>
>>> ...
>>> [urls]
>>> ## Control functions open to anyone
>>> /$/status = anon
>>> /$/ping = anon
>>>
>>> ## and the rest are restricted to localhost.
>>> /$/** = localhostFilter
>>> ...
>>>
>>> There are instructions in that file to switch to using user/password
>>> control.
>>>
>>> "localhost" means the request comes from the "Local loopback interface",
>>> "lo" 127.0.0.1 or ::1/128.
>>>
>>> Andy
>>>
>>>
>>> On 09/09/15 22:33, Jason Levitt wrote:
>>>>
>>>>
>>>> I fired up a new instance of Amazon Linux (64-bit, 4gig RAM).
>>>>
>>>> I installed the latest version of Java 8 (Oracle)
>>>>
>>>> I downloaded the latest version of Fuseki, v2.30 to it.
>>>>
>>>> I started it thusly:
>>>>
>>>> $ ./fuseki-server
>>>>
>>>> When I go to my Fuseki endpoint which brings up the Fuseki web app:
>>>>
>>>> http://88.99.77.66:3030
>>>>
>>>> The web UI seems to be somewhat broken (SEE ATTACHMENT). There's no
>>>> way to add a dataset. The selection for dataset doesn't work
>>>> (see attachment).
>>>>
>>>> Yet the Fuseki console reveals nothing either:
>>>>
>>>> $ ./fuseki-server
>>>> [2015-09-09 21:25:56] Server INFO Fuseki 2.3.0
>>>> 2015-07-25T17:11:28+0000
>>>> [2015-09-09 21:25:56] Config INFO FUSEKI_HOME=/home/ec2-user/fuseki
>>>> [2015-09-09 21:25:56] Config INFO
>>>> FUSEKI_BASE=/home/ec2-user/fuseki/run
>>>> [2015-09-09 21:25:56] Servlet INFO Initializing Shiro environment
>>>> [2015-09-09 21:25:56] Config INFO Shiro file:
>>>> file:///home/ec2-user/fuseki/run/shiro.ini
>>>> [2015-09-09 21:25:57] Server INFO Started 2015/09/09 21:25:57 UTC
>>>> on port 3030
>>>>
>>>> Any ideas?
>>>>
>>>> Jason
>>>>
>>>
>
Re: Fuseki web interface broken?
Posted by Andy Seaborne <an...@apache.org>.
On 09/09/15 23:37, Jason Levitt wrote:
> Thanks Andy. That works.
>
> What does this statement at the top of the shiro.ini file mean?
>
> # Development
> ssl.enabled = false
Shiro feature - controls the SslFilter which (I think - check the Shiro
documentation) requires SSL. Doesn't seem to do anything else.
Andy
>
> Cheers,
>
> J
>
> On Wed, Sep 9, 2015 at 5:17 PM, Andy Seaborne <an...@apache.org> wrote:
>>
>> By default (you can change this), the UI only works for localhost where it
>> has the capability to make changes, create datasets etc.
>>
>> That is controlled by the shiro.ini file
>>
>> ...
>> [urls]
>> ## Control functions open to anyone
>> /$/status = anon
>> /$/ping = anon
>>
>> ## and the rest are restricted to localhost.
>> /$/** = localhostFilter
>> ...
>>
>> There are instructions in that file to switch to using user/password
>> control.
>>
>> "localhost" means the request comes from the "Local loopback interface",
>> "lo" 127.0.0.1 or ::1/128.
>>
>> Andy
>>
>>
>> On 09/09/15 22:33, Jason Levitt wrote:
>>>
>>> I fired up a new instance of Amazon Linux (64-bit, 4gig RAM).
>>>
>>> I installed the latest version of Java 8 (Oracle)
>>>
>>> I downloaded the latest version of Fuseki, v2.30 to it.
>>>
>>> I started it thusly:
>>>
>>> $ ./fuseki-server
>>>
>>> When I go to my Fuseki endpoint which brings up the Fuseki web app:
>>>
>>> http://88.99.77.66:3030
>>>
>>> The web UI seems to be somewhat broken (SEE ATTACHMENT). There's no
>>> way to add a dataset. The selection for dataset doesn't work
>>> (see attachment).
>>>
>>> Yet the Fuseki console reveals nothing either:
>>>
>>> $ ./fuseki-server
>>> [2015-09-09 21:25:56] Server INFO Fuseki 2.3.0
>>> 2015-07-25T17:11:28+0000
>>> [2015-09-09 21:25:56] Config INFO FUSEKI_HOME=/home/ec2-user/fuseki
>>> [2015-09-09 21:25:56] Config INFO
>>> FUSEKI_BASE=/home/ec2-user/fuseki/run
>>> [2015-09-09 21:25:56] Servlet INFO Initializing Shiro environment
>>> [2015-09-09 21:25:56] Config INFO Shiro file:
>>> file:///home/ec2-user/fuseki/run/shiro.ini
>>> [2015-09-09 21:25:57] Server INFO Started 2015/09/09 21:25:57 UTC
>>> on port 3030
>>>
>>> Any ideas?
>>>
>>> Jason
>>>
>>
Re: Fuseki web interface broken?
Posted by Jason Levitt <sl...@gmail.com>.
Thanks Andy. That works.
What does this statement at the top of the shiro.ini file mean?
# Development
ssl.enabled = false
Cheers,
J
On Wed, Sep 9, 2015 at 5:17 PM, Andy Seaborne <an...@apache.org> wrote:
>
> By default (you can change this), the UI only works for localhost where it
> has the capability to make changes, create datasets etc.
>
> That is controlled by the shiro.ini file
>
> ...
> [urls]
> ## Control functions open to anyone
> /$/status = anon
> /$/ping = anon
>
> ## and the rest are restricted to localhost.
> /$/** = localhostFilter
> ...
>
> There are instructions in that file to switch to using user/password
> control.
>
> "localhost" means the request comes from the "Local loopback interface",
> "lo" 127.0.0.1 or ::1/128.
>
> Andy
>
>
> On 09/09/15 22:33, Jason Levitt wrote:
>>
>> I fired up a new instance of Amazon Linux (64-bit, 4gig RAM).
>>
>> I installed the latest version of Java 8 (Oracle)
>>
>> I downloaded the latest version of Fuseki, v2.30 to it.
>>
>> I started it thusly:
>>
>> $ ./fuseki-server
>>
>> When I go to my Fuseki endpoint which brings up the Fuseki web app:
>>
>> http://88.99.77.66:3030
>>
>> The web UI seems to be somewhat broken (SEE ATTACHMENT). There's no
>> way to add a dataset. The selection for dataset doesn't work
>> (see attachment).
>>
>> Yet the Fuseki console reveals nothing either:
>>
>> $ ./fuseki-server
>> [2015-09-09 21:25:56] Server INFO Fuseki 2.3.0
>> 2015-07-25T17:11:28+0000
>> [2015-09-09 21:25:56] Config INFO FUSEKI_HOME=/home/ec2-user/fuseki
>> [2015-09-09 21:25:56] Config INFO
>> FUSEKI_BASE=/home/ec2-user/fuseki/run
>> [2015-09-09 21:25:56] Servlet INFO Initializing Shiro environment
>> [2015-09-09 21:25:56] Config INFO Shiro file:
>> file:///home/ec2-user/fuseki/run/shiro.ini
>> [2015-09-09 21:25:57] Server INFO Started 2015/09/09 21:25:57 UTC
>> on port 3030
>>
>> Any ideas?
>>
>> Jason
>>
>
Re: Fuseki web interface broken?
Posted by Andy Seaborne <an...@apache.org>.
By default (you can change this), the UI only works for localhost where
it has the capability to make changes, create datasets etc.
That is controlled by the shiro.ini file
...
[urls]
## Control functions open to anyone
/$/status = anon
/$/ping = anon
## and the rest are restricted to localhost.
/$/** = localhostFilter
...
There are instructions in that file to switch to using user/password
control.
"localhost" means the request comes from the "Local loopback interface",
"lo" 127.0.0.1 or ::1/128.
Andy
On 09/09/15 22:33, Jason Levitt wrote:
> I fired up a new instance of Amazon Linux (64-bit, 4gig RAM).
>
> I installed the latest version of Java 8 (Oracle)
>
> I downloaded the latest version of Fuseki, v2.30 to it.
>
> I started it thusly:
>
> $ ./fuseki-server
>
> When I go to my Fuseki endpoint which brings up the Fuseki web app:
>
> http://88.99.77.66:3030
>
> The web UI seems to be somewhat broken (SEE ATTACHMENT). There's no
> way to add a dataset. The selection for dataset doesn't work
> (see attachment).
>
> Yet the Fuseki console reveals nothing either:
>
> $ ./fuseki-server
> [2015-09-09 21:25:56] Server INFO Fuseki 2.3.0 2015-07-25T17:11:28+0000
> [2015-09-09 21:25:56] Config INFO FUSEKI_HOME=/home/ec2-user/fuseki
> [2015-09-09 21:25:56] Config INFO FUSEKI_BASE=/home/ec2-user/fuseki/run
> [2015-09-09 21:25:56] Servlet INFO Initializing Shiro environment
> [2015-09-09 21:25:56] Config INFO Shiro file:
> file:///home/ec2-user/fuseki/run/shiro.ini
> [2015-09-09 21:25:57] Server INFO Started 2015/09/09 21:25:57 UTC
> on port 3030
>
> Any ideas?
>
> Jason
>