If I understand correctly, you are attempting to register your web
application with Google to create a consumer key and secret? The application
is running on your local machine and so after adding the verification file
to localhost you tell google to verify the file exists. Upon doing so you
get the error you mentioned. The problem is that localhost only resolves to
your web application on your computer. When goolge tries to connect to
localhost it would attempt to check its' localhost (i.e. the box that the
site verification application is running on...a google machine) for the
verification file. The file you uploaded exists on your machine not googles.
Likely the error you are getting is because google prevents connections to
localhost (so people cannot see what ports are being used) or just does not
have port 80 open.

If you do not have your application deployed to a public url and are just
attempting to test your application, you can use the installed apps document
[1]. In short, you can use anonymous for both your consumer key and secret.
You can specify a display name using the xoauth_displayname parameter.

[1] http://code.google.com/apis/accounts/docs/OAuthForInstalledApps.html

HTH,
Rob

On Wed, Dec 9, 2009 at 4:15 AM, Andrei <andrei.sheve...@googlemail.com>wrote:

> Hi all,
>
> i have some troubles with creating Application and Secret Keys bei
> Google with OAuth. The sample app runs as localhost (IIS or Sambar
> server). The google verification file on localhost/googleca... is ok.
> But there is an error by verification: The host could not be reached
>
> Why???
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "OAuth" group.
> To post to this group, send email to oa...@googlegroups.com.
> To unsubscribe from this group, send email to
> oauth+unsubscr...@googlegroups.com <oauth%2bunsubscr...@googlegroups.com>.
> For more options, visit this group at
> http://groups.google.com/group/oauth?hl=en.
>
>
>

--

You received this message because you are subscribed to the Google Groups 
"OAuth" group.
To post to this group, send email to oa...@googlegroups.com.
To unsubscribe from this group, send email to 
oauth+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/oauth?hl=en.


Reply via email to