Have you configured your free public API KEY during the build?
https://github.com/Cineca/DSpace/blob/dspace-5_x_x-cris/build.properties#L206

are you using the production ORCID environment or the sandbox?
if you are using the sandbox you need to change these properties
https://github.com/Cineca/DSpace/blob/dspace-5_x_x-cris/build.properties#L201
https://github.com/Cineca/DSpace/blob/dspace-5_x_x-cris/build.properties#L202
https://github.com/Cineca/DSpace/blob/dspace-5_x_x-cris/build.properties#L203

Andrea


Il 25/04/2016 17:48, [email protected] ha scritto:
I have been having the same problem for the past several weeks and I can't find an answer anywhere...

-Whitney

On Monday, April 25, 2016 at 10:12:23 AM UTC-4, Oliver Goldschmidt wrote:

    Again Hello, DSpace CRIS fellows,

    another problem occurs on my DSpace CRIS instance: when I try to
    login using Orcid, I get an exception indicating a 403 error. I do
    not see, where this exception comes from, neither I understand it,
    as our test server should be available for any other computer...

    This is the exception, that I can see trying to login:

    -- URL Was:https://my-dspace-host/oauth-login?code=FFFFFF
    <https://dspace-cris.tub.tuhh.de/oauth-login?code=FkdJL1>
    -- Method: GET
    -- Parameters were:
    -- code: "FFFFFF"


    Exception:
    javax.ws.rs.ForbiddenException: HTTP 403 Forbidden
        at 
org.glassfish.jersey.client.JerseyInvocation.convertToException(JerseyInvocation.java:987)
        at 
org.glassfish.jersey.client.JerseyInvocation.translate(JerseyInvocation.java:799)
        at 
org.glassfish.jersey.client.JerseyInvocation.access$500(JerseyInvocation.java:91)
        at 
org.glassfish.jersey.client.JerseyInvocation$2.call(JerseyInvocation.java:687)
        at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
        at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
        at org.glassfish.jersey.internal.Errors.process(Errors.java:228)
        at 
org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:444)
        at 
org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:683)
        at 
org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:411)
        at 
org.glassfish.jersey.client.JerseyInvocation$Builder.get(JerseyInvocation.java:307)
        at 
org.dspace.authority.orcid.OrcidService.getProfile(OrcidService.java:185)
        at 
org.dspace.authenticate.OAuthAuthenticationMethod.authenticate(OAuthAuthenticationMethod.java:93)
        at 
org.dspace.authenticate.AuthenticationManager.authenticateInternal(AuthenticationManager.java:162)
        at 
org.dspace.authenticate.AuthenticationManager.authenticate(AuthenticationManager.java:99)
        at 
org.dspace.app.webui.servlet.OAuthAuthenticationServlet.doDSPost(OAuthAuthenticationServlet.java:179)
        at 
org.dspace.app.webui.servlet.OAuthAuthenticationServlet.doDSGet(OAuthAuthenticationServlet.java:72)
        at 
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:119)
        at 
org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:67)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at 
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at 
org.apache.catalina.filters.RequestFilter.process(RequestFilter.java:205)
        at 
org.apache.catalina.filters.RemoteAddrFilter.doFilter(RemoteAddrFilter.java:71)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at 
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
        at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
        at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
        at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
        at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
        at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
        at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
        at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
        at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
        at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
        at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:193)
        at 
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
        at 
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)

Any ideas, where this is coming from? TIA again, best - Oliver -- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[email protected]>. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.
--
Andrea Bollini
International Business Development, Deputy Leader
Open Source & Open Standards Strategy, Head
Cineca

Via dei Tizii, 6
00185 Roma, Italy
tel. +39 06 44 486 087 - mob. +39 348 82 77 525
http://www.cineca.it

--
You received this message because you are subscribed to the Google Groups "DSpace 
Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to