Tribune

Home » Liferay Portal » English » 2. Using Liferay » General

Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
toggle
lutz Bremen
Opensocial URL/robots.txt exeption: no such virtual host exists
1 dicembre 2011 3.55
Risposta

lutz Bremen

Punteggio: Expert

Messaggi: 291

Data di Iscrizione: 20 ottobre 2011

Messaggi recenti

Ive researched a lot and now i guess the problem is this error from opensocial:
1UNKNOWN_PROBLEM, Client state belongs to a different person (state owner=G-10180, pageViewer=10196)

could be fixed by edit some settings.

I made a lot of tries in the wrong direction and you really could help me by giving me a short example or tutorial like: "how to set up opensocial in liferay", because ive installed from the 6.1-b4 trunk and had to make many changes to get to this point.

111:42:18,864 INFO  [PortalImpl:4701] Current URL /robots.txt generates exception: No VirtualHost exists with the key {hostname=www.portal.*****.de}
211:42:18,864 INFO  [PortalImpl:4722] com.liferay.portal.NoSuchVirtualHostException: No VirtualHost exists with the key {hostname=www.portal.******.de}


Thanks in advance
lutz Bremen
RE: Opensocial URL/robots.txt exeption: no such virtual host exists
2 dicembre 2011 7.09
Risposta

lutz Bremen

Punteggio: Expert

Messaggi: 291

Data di Iscrizione: 20 ottobre 2011

Messaggi recenti

I try to be a bit more specific and give you a list with all the steps ive done:
1. Installed 6.1-b4 from Trunk
2. Installed opensocial-portlet-6.1.0.1-ce-b4-20111110.war
3. Changed HTTP1.1 from 8080 to 80
4. Changed "shindig.signing.viewer-access-tokens-enabled=false" to "true", in shindig.properties
5. Changed "shindig.signing.global-callback-url=http://*************/opensocial-portlet/gadgets/oauthcallback"
6. Added "http://code.google.com/p/opensocialdeju/source/browse/Twitter/TwitterDemo.xml?r=11" to gadgets editor
7. Added Consumer and Secret from Twitter to the gadget "Oauth preferences"
8. Added the gadget to a page.
9. Added "http://*************/opensocial-portlet/gadgets/oauthcallback" to the Twitter settings for the Callback URL

I can click on the "Personalize this gadget" and get a Twitter popup.
The gadget shows now:"Please click I've approved access once you've approved access to your data. "
If i approve access i get the Error : "Error: 403 Error, OAuth error: UNKNOWN_PROBLEM, Client state belongs to a different person (state owner=G-10180, pageViewer=10196) ==== Original request: GET /1/account/verify_credentials.json Host: api.twitter.com X-Shindig-AuthType: oauth X-Forwarded-For: ***.***.***.*** X-shindig-dos: on ===="



Thanks in advance