Marlus,
it is probably NOT related to the firewall, since you ARE getting the
http 401 response (if the problem was with firewall, you would get a
connection refused of something related).
the "Invalid signature for signature method HMAC-SHA1" happens because
each oauth request is signed with a hash of several parameters, and
among them the http port. my guess is that somewhere the port is
hardcoded to 8080, and your request is not being validated since you
are using 9090.
I also bet that you already searched the source code for 8080 and
found nothing, so, I'm afraid something is hard-coded in the Apache
Shindig infrastructure (jars, properties, xml, maven calls, I don't
know).
also, according to previous contact with Marlus, the only gadgets
showing this problem are the ones created from streams (stream
gadgets). the other gadgets like FeedReader are working fine.
anyone else out there using Eureka in non-standard ports like 9090?
hope this helps.
regards,
Cesar
----------
On 16 maio, 10:58, Marlus Misael <
marlus.mis...@gmail.com> wrote:
> Hello Rob,
> Might there be any chance that this issue is regarding to the firewall ?
> Best Regards,
> Marlus
>
> 2012/5/16 Marlus Misael <
marlus.mis...@gmail.com>
> > 2012/5/16 Rob Keane <
rob.ke...@gmail.com>
>
> >> Check you oauthconsumer table and confirm that the entry for the activity
> >> gadget has the correct port.
>
> >> On May 16, 2012, at 8:25 AM, Marlus Misael <
marlus.mis...@gmail.com>
> >> wrote:
>
> >> Hi team, how you're doing?
> >> I was running es almost a year and everything was doing well. So, i had
> >> to move from the port 8080 to 9090 and right now, the activity gadget stop
> >> working.
> >> Follow below the entire message that i've got from firebug. My ES version
> >> is 1.1
> >> Do you have any clue?
>
> >> throw 1; < don't be evil' >{"
http://173.230.135.99:9090/api/0/full/getSystemSettings/%7B%7D":{"body":"\u003chtml\u003e\n\u003chead\u003e\n\u003cmeta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\"/\u003e\n\u003ctitle\u003eError 401 Invalid signature for signature method HMAC-SHA1\u003c/title\u003e\n\u003c/head\u003e\n\u003cbody\u003e\u003ch2\u0 03eHTTP ERROR 401\u003c/h2\u003e\n\u003cp\u003eProblem accessing /api/0/full/getSystemSettings/%7B%7D. Reason:\n\u003cpre\u003e Invalid signature for signature method HMAC-SHA1\u003c/pre\u003e\u003c/p\u003e\u003chr /\u003e\u003ci\u003e\u003csmall\u003ePowered by Jetty://\u003c/small\u003e\u003c/i\u003e\u003cbr/\u003e \n\u003cbr/\u003e \n\u003cbr/\u003e \n\u003cbr/\u003e \n\u003cbr/\u003e \n\u003cbr/\u003e \n\u003cbr/\u003e \n\u003cbr/\u003e \n\u003cbr/\u003e \n\u003cbr/\u003e \n\u003cbr/\u003e \n\u003cbr/\u003e \n\u003cbr/\u003e \n\u003cbr/\u003e \n\u003cbr/\u003e \n\u003cbr/\u003e \n\u003cbr/\u003e \n\u003cbr/\u003e \n\u003cbr/\u003e \n\u003cbr/\u003e \n\n\u003c/body\u003e\n\u003c/html\u003e\n","oauthErrorText":"\n\n==== Original request:\nGET /api/0/full/getSystemSettings/%7B%7D\n\nHost:
173.230.135.99:9090\nX-Shindig-AuthType: oauth\nX-Forwarded-For: 200.171.169.210\nX-shindig-dos: on\n\n\n====\n==== Sent request 1:\nGET /api/0/full/getSystemSettings/%7B%7D?oauth_body_hash=2jmj7l5rSw0yVb%2FvlWAY kK%2FYBwk%3D&opensocial_owner_id=d10f6382-4067-4ada-b726-badb4d72d766&opens ocial_viewer_id=d10f6382-4067-4ada-b726-badb4d72d766&opensocial_app_id=22&o pensocial_app_url=http%3A%2F%2F173.230.135.99%3A9090%2Forg%2Feurekastreams% 2Fgadgets%2Factivitygadget.xml&oauth_version=1.0&oauth_timestamp=1337170683 &oauth_nonce=4206548204709266812&oauth_consumer_key=PUT_CONSUMER_KEY_HERE&o auth_signature_method=HMAC-SHA1&oauth_signature=mrpuavOdK2rHE%2FiXzyDnu6prF FI%3D\n\nHost:
173.230.135.99:9090\nX-Shindig-AuthType: oauth\nX-Forwarded-For: 200.171.169.210\nX-shindig-dos: on\n\n\n==== Received response 1:\nHTTP/1.1 401\r\n\r\nCache-Control: must-revalidate,no-cache,no-store\r\nContent-Length: 1478\r\nContent-Type: text/html;charset=ISO-8859-1\r\nDate: Wed, 16 May 2012 12:18:03 GMT\r\nServer: Jetty(7.4.1.v20110513)\r\nWWW-Authenticate: OAuth\r\n\r\n\u003chtml\u003e\n\u003chead\u003e\n\u003cmeta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\"/\u003e\n\u003ctitle\u003eError 401 Invalid signature for signature method HMAC-SHA1\u003c/title\u003e\n\u003c/head\u003e\n\u003cbody\u003e\u003ch2\u0 03eHTTP ERROR 401\u003c/h2\u003e\n\u003cp\u003eProblem accessing /api/0/full/getSystemSettings/%7B%7D. Reason:\n\u003cpre\u003e Invalid signature for signature method HMAC-SHA1\u003c/pre\u003e\u003c/p\u003e\u003chr /\u003e\u003ci\u003e\u003csmall\u003ePowered by Jetty://\u003c/small\u003e\u003c/i\u003e\u003cbr/\u003e \n\u003cbr/\u003e \n\u003cbr/\u003e \n\u003cbr/\u003e \n\u003cbr/\u003e \n\u003cbr/\u003e \n\u003cbr/\u003e \n\u003cbr/\u003e \n\u003cbr/\u003e \n\u003cbr/\u003e \n\u003cbr/\u003e \n\u003cbr/\u003e \n\u003cbr/\u003e \n\u003cbr/\u003e \n\u003cbr/\u003e \n\u003cbr/\u003e \n\u003cbr/\u003e \n\u003cbr/\u003e \n\u003cbr/\u003e \n\u003cbr/\u003e \n\n\u003c/body\u003e\n\u003c/html\u003e\n\r\n\n====","DataHash":"ghqlhugi8 ecse92bme0kjev354","rc":401}}