On 22.07.2014 11:44, Julien Plu wrote:
Hi,

So here all the things that you can do to test it. First you can go there :

http://data.lirmm.fr/oauth/

And log you with the user :

username : test
password : test

This user as none rights on the database, but I think it's enough to test.

And when you go to the SPARQL endpoint http://data.lirmm.fr/oauth/sparql.vsp

Put the token inside the textbox and click on run query, you will see
that error :

Execution of "/oauth/sparql.vsp" failed.

SQL Error: OAUTH <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head> <title>404 Not Found</title> </head><body> <h1>Not
Found</h1> <p>The requested URL /OAuth/request_token was not found on
this server.</p> <hr> <address>Apache/2.4.7 (Ubuntu) Server
atdata.lirmm.fr <http://atdata.lirmm.fr> Port 80</address>
</body></html> in signal:(BIF), __01 => 'OAUTH', __02 => '<!DOCTYPE HTML
PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not
Found</title> </head>' (truncated), OAUTH.DBA.parse_response, sid =>
NULL, consumer_key => '9f795e2f60ec062f682017f66f8f94b208474bb0', ret =>
'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head>
<title>404 Not Found</title> </head>' (truncated),
WS.WS./DAV/VAD/wa/oauth/sparql.vsp, path => (ARRAY_OF_POINTER value, tag
193), params => (ARRAY_OF_POINTER value, tag 193), lines =>
(ARRAY_OF_POINTER value, tag 193)

Apparently it's because of Apache, indeed my Virtuoso instance runs
behind Apache. It's certainly because of a missing proxy rule in the
apache configuration file, but which one any idea ?

/OAuth is all I can see here which is another endpoint in Virtuoso handling oauth api calls as compared to /oauth which contains the pages.


Best.

-------------------------------------------------------------------------------------------------------------------------------
Julien Plu

PhD Student at Eurecom.
Personal webpage: http://jplu.developpez.com
FOAF file : http://jplu.developpez.com/julien
Email address : julien....@redaction-developpez.com
<mailto:julien....@redaction-developpez.com>
Phone : +33493008200
Twitter : @julienplu


2014-07-08 13:48 GMT+02:00 Sebastian Trueg <tr...@openlinksw.com
<mailto:tr...@openlinksw.com>>:

    On 08.07.2014 10 <tel:08.07.2014%2010>:54, Julien Plu wrote:

        Hi Sebastian,

        I compiled Virtuoso myself from the Github repository (develop/7
        branch). So I compiled it with the "--enable-ods-vad" option (among
        others) in the configure.

        Then I went to the conductor, installed the package "ods
        framework" as
        written in the tutorial liked before and when I arrive to the
        step 20 I
        have this error.


    I performed the exact same steps for testing.


        But if you want I can provide you a fake user, you create the token
        through the GUI and try to query the endpoint, and like that you
        will
        able to see the issue. Is-that fit you ?


    yes, that would be helpful.


        Best.

        Julien.


        2014-07-08 10:25 GMT+02:00 Sebastian Trüg <sebast...@trueg.de
        <mailto:sebast...@trueg.de>
        <mailto:sebast...@trueg.de <mailto:sebast...@trueg.de>>>:



             On 07.07.2014 15:29, Julien Plu wrote:
              > Hi !
              >
              > I currently try to manage the OAuth possibilities
        implemented inside
              > Virtuoso via the "ods_framework" VAD as explained here :
              >
        
http://virtuoso.openlinksw.__com/dataspace/doc/dav/wiki/__Main/VirtOAuthSPARQL
        
<http://virtuoso.openlinksw.com/dataspace/doc/dav/wiki/Main/VirtOAuthSPARQL>
              >
              > Everything goes well until the step 20, when I click on
        "Run Query" I
              > have an error message telling :
              >
              > Invalid token supplied
              > The action could not be performed because of an Invalid
        token
             supplied.
              > Please correct the above and try again.
              >
              > I'm using Virtuoso 7.1 from the develop branch on Github.
              >
              > So is-it a bug or is-it something else ?
              >
              > Thanks in advance.
              >

             Hello Julien,

             I was not able to reproduce your problem.

             Which packages do you have installed and where did you get
        them?

             Regards,
             Sebastian

              > Best.
              >
              > Julien.
              >
              >
              >

        
------------------------------__------------------------------__------------------
              > Open source business process management suite built on
        Java and
             Eclipse
              > Turn processes into business applications with Bonita BPM
             Community Edition
              > Quickly connect people, data, and systems into organized
        workflows
              > Winner of BOSSIE, CODIE, OW2 and Gartner awards
              > http://p.sf.net/sfu/Bonitasoft
              >
              >
              >
              > _________________________________________________
              > Virtuoso-users mailing list
              > Virtuoso-users@lists.__sourceforge.net
        <mailto:Virtuoso-users@lists.sourceforge.net>
             <mailto:Virtuoso-users@lists.__sourceforge.net
        <mailto:Virtuoso-users@lists.sourceforge.net>>

              >
        https://lists.sourceforge.net/__lists/listinfo/virtuoso-users
        <https://lists.sourceforge.net/lists/listinfo/virtuoso-users>
              >


        
------------------------------__------------------------------__------------------
             Open source business process management suite built on Java
        and Eclipse
             Turn processes into business applications with Bonita BPM
        Community
             Edition
             Quickly connect people, data, and systems into organized
        workflows
             Winner of BOSSIE, CODIE, OW2 and Gartner awards
        http://p.sf.net/sfu/Bonitasoft
             _________________________________________________
             Virtuoso-users mailing list
        Virtuoso-users@lists.__sourceforge.net
        <mailto:Virtuoso-users@lists.sourceforge.net>
             <mailto:Virtuoso-users@lists.__sourceforge.net
        <mailto:Virtuoso-users@lists.sourceforge.net>>

        https://lists.sourceforge.net/__lists/listinfo/virtuoso-users
        <https://lists.sourceforge.net/lists/listinfo/virtuoso-users>




        
------------------------------__------------------------------__------------------
        Open source business process management suite built on Java and
        Eclipse
        Turn processes into business applications with Bonita BPM
        Community Edition
        Quickly connect people, data, and systems into organized workflows
        Winner of BOSSIE, CODIE, OW2 and Gartner awards
        http://p.sf.net/sfu/Bonitasoft



        _________________________________________________
        Virtuoso-users mailing list
        Virtuoso-users@lists.__sourceforge.net
        <mailto:Virtuoso-users@lists.sourceforge.net>
        https://lists.sourceforge.net/__lists/listinfo/virtuoso-users
        <https://lists.sourceforge.net/lists/listinfo/virtuoso-users>


    --
    Sebastian Trueg
    Technical Consultant
    OpenLink Software
    tr...@openlinkws.com <mailto:tr...@openlinkws.com>
    http://openlinksw.com
    http://trueg.wordpress.com
    http://www.linkedin.com/in/__trueg <http://www.linkedin.com/in/trueg>


    
------------------------------------------------------------------------------
    Want fast and easy access to all the code in your enterprise? Index and
    search up to 200,000 lines of code with a free copy of Black Duck
    Code Sight - the same software that powers the world's largest code
    search on Ohloh, the Black Duck Open Hub! Try it now.
    http://p.sf.net/sfu/bds
    _______________________________________________
    Virtuoso-users mailing list
    Virtuoso-users@lists.sourceforge.net
    <mailto:Virtuoso-users@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/virtuoso-users




--
Sebastian Trueg
Technical Consultant
OpenLink Software
tr...@openlinkws.com
http://openlinksw.com
http://trueg.wordpress.com
http://www.linkedin.com/in/trueg

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to