Skip to content

Instantly share code, notes, and snippets.

@mattias-lidman
Created November 29, 2012 22:41
Show Gist options
  • Select an option

  • Save mattias-lidman/4172409 to your computer and use it in GitHub Desktop.

Select an option

Save mattias-lidman/4172409 to your computer and use it in GitHub Desktop.
2012-11-29_22:39:37.56640 OAuthException: Expected 200 OK from OAuth server, got 500 with the following message: <html><head><title>Apache Tomcat/6.0.32 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 500 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Exception report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The server encountered an internal error () that prevented it from fulfilling this request.</u></p><p><b>exception</b> <pre>edu.uiuc.ncsa.security.core.exceptions.GeneralException: Error validating message
2012-11-29_22:39:37.56665 edu.uiuc.ncsa.security.oauth_1_0a.OAuthUtilities.validate(OAuthUtilities.java:77)
2012-11-29_22:39:37.56672 edu.uiuc.ncsa.security.oauth_1_0a.server.AuthorizationGrantIssuerImpl.processAGRequest(AuthorizationGrantIssuerImpl.java:47)
2012-11-29_22:39:37.56679 edu.uiuc.ncsa.security.oauth_1_0a.server.AuthorizationGrantIssuerImpl.processAGRequest(AuthorizationGrantIssuerImpl.java:25)
2012-11-29_22:39:37.56687 edu.uiuc.ncsa.security.delegation.server.request.AGRequest.process(AGRequest.java:22)
2012-11-29_22:39:37.56694 edu.uiuc.ncsa.security.delegation.server.issuers.AbstractIssuer.process(AbstractIssuer.java:38)
2012-11-29_22:39:37.56703 edu.uiuc.ncsa.myproxy.oa4mp.server.servlet.InitServlet.doDelegation(InitServlet.java:48)
2012-11-29_22:39:37.56712 edu.uiuc.ncsa.myproxy.oa4mp.server.servlet.InitServlet.doIt(InitServlet.java:32)
2012-11-29_22:39:37.56720 edu.uiuc.ncsa.security.servlet.AbstractServlet.doGet(AbstractServlet.java:137)
2012-11-29_22:39:37.56727 javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
2012-11-29_22:39:37.56734 javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
2012-11-29_22:39:37.56741 </pre></p><p><b>root cause</b> <pre>net.oauth.OAuthProblemException: signature_invalid
2012-11-29_22:39:37.56748 oauth_signature: ibyw8J7vexa4tlaomFMBuIRbSJXNEgTkCK5or3cphXN6C7hnOnq0zX0QhNr4anh+ALDL9JvVXm2YNml+cJKe5MlbTACsyzYmATfoCo/08cp6kVqgGeYr8lx2SKhxav7lm5dX70DUUSXi815IcUHP6FzcKWI/OmuuWKm80w6rnncp69jIDFw71i1rIDmFppvjBixsZkkE2JeIctnSpJAKzQWKRTtXueAGamAlcYfNFlDY6YWPiDxqkRzG65NKyhqBRtn5gNzhu4IixrFd3D1ewNYld+i+f9ko/t9WNDFlgfgHQPsWABhiXTJCKjFNj9e6F1sdyhc1TDNm40zY/tugkQ==
2012-11-29_22:39:37.56757 oauth_signature_base_string: GET&amp;https%3A%2F%2Fxupbackup.xsede.org%3A8443%2Foauth%2Finitiate&amp;certlifetime%3D950400%26certreq%3DMIICRDCCASwCADAAMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArhv6%250Ahd8bYhrcwOIoukI0cKCh74KvpwahgDT7B7su3%252FEOMFX7SVB8m2o8Y0nQJo%252FpnNCi%250AMIK5QMmtUmqCDPQq2bVjUCsqREGOEffr8HdMDpL5Rg1XO4u3fiaiKnyrim%252F5gvSn%250AhcqAHolsWsi11CoUyYPs94yG4F0Se2pqMZq%252FY6eJxKSSCUlWjZZmtsg%252FbnqIxC7x%250AnR26m1tEpQjK4upo3mwveTt%252FJGFS8EKZnmqEhUrOgrLg%252FZSU6Gng6tdtbbH4uxwk%250AjgOdJq%252FuBvPVOvvJVm0in5bGCdcW%252Fh%252FM6zzO2%252F%252BE33JMOU8PD6kDbQjut21jllOC%250AvdfEWQ%252FnRzxcn5haDwIDAQABoAAwDQYJKoZIhvcNAQEFBQADggEBAKbe2vX%252BlkkP%250AapWm8IM3SlPRj8GjmK2Cu%252B%252F7n4ICI3%252F3Rn36hRFhe4bV%252FbZaVh1Nq%252FXae14vOHEn%250APbkLS5lBUoYzB%252FiwaGTZVNZj3A8%252B0TcMoSRDBZO0%252BUoDLAuiW1aQvSQnOX1uaV1Z%250A8FB8Ii%252B%252B8WjZje48%252BguZTy6g7sP6WvHsa7NdkwmVUkL6YH%252BipAeP3%252FjRu2K0vdZ2%250AvZLptjQmZSkH%252FhIxqsgw1BM9oCBLfudvrVO%252FS8k4NsBePFUpSo3N30L%252BibYKICxC%250AeM36ltX1H4DvXQ%252F3xS1eDH4FqqrTTQHZbelp3VZEjYFosMullf0lAbMLPZAsKIgp%250A1EqXQxqw3kA%253D%250A%26oauth_body_hash%3D2jmj7l5rSw0yVb%252FvlWAYkK%252FYBwk%253D%26oauth_callback%3Dhttps%253A%252F%252Fgo.sandbox.globuscs.info%252Fservice%252Fgraph%252Fauthenticate_oauth_callback%26oauth_consumer_key%3Dmyproxy%253Adelegation%252C2011%253A%252Fclient%252F60887e65b1f73c6770c48c00f7ecd7b0%26oauth_nonce%3D91483281%26oauth_signature_method%3DRSA-SHA1%26oauth_timestamp%3D1354228777%26oauth_version%3D1.0
2012-11-29_22:39:37.56792 oauth_problem: signature_invalid
2012-11-29_22:39:37.56799 oauth_signature_method: RSA-SHA1
2012-11-29_22:39:37.56806 net.oauth.signature.OAuthSignatureMethod.validate(OAuthSignatureMethod.java:69)
2012-11-29_22:39:37.56813 net.oauth.SimpleOAuthValidator.validateSignature(SimpleOAuthValidator.java:254)
2012-11-29_22:39:37.56820 net.oauth.SimpleOAuthValidator.validateMessage(SimpleOAuthValidator.java:148)
2012-11-29_22:39:37.56828 edu.uiuc.ncsa.security.oauth_1_0a.OAuthUtilities.validate(OAuthUtilities.java:59)
2012-11-29_22:39:37.56835 edu.uiuc.ncsa.security.oauth_1_0a.server.AuthorizationGrantIssuerImpl.processAGRequest(AuthorizationGrantIssuerImpl.java:47)
2012-11-29_22:39:37.56842 edu.uiuc.ncsa.security.oauth_1_0a.server.AuthorizationGrantIssuerImpl.processAGRequest(AuthorizationGrantIssuerImpl.java:25)
2012-11-29_22:39:37.56850 edu.uiuc.ncsa.security.delegation.server.request.AGRequest.process(AGRequest.java:22)
2012-11-29_22:39:37.56857 edu.uiuc.ncsa.security.delegation.server.issuers.AbstractIssuer.process(AbstractIssuer.java:38)
2012-11-29_22:39:37.56866 edu.uiuc.ncsa.myproxy.oa4mp.server.servlet.InitServlet.doDelegation(InitServlet.java:48)
2012-11-29_22:39:37.56874 edu.uiuc.ncsa.myproxy.oa4mp.server.servlet.InitServlet.doIt(InitServlet.java:32)
2012-11-29_22:39:37.56881 edu.uiuc.ncsa.security.servlet.AbstractServlet.doGet(AbstractServlet.java:137)
2012-11-29_22:39:37.56888 javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
2012-11-29_22:39:37.56895 javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
2012-11-29_22:39:37.56903 </pre></p><p><b>note</b> <u>The full stack trace of the root cause is available in the Apache Tomcat/6.0.32 logs.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/6.0.32</h3></body></html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment