Good Afternoon
I have this simple script:
#!/usr/bin/perl use Net::Google::AuthSub; use warnings; local $ENV{GOOGLE_DATAAPI_DEBUG} = 1; my $auth = Net::Google::AuthSub->new; my $response = $auth->login('person@place.com', 'xxxxxxxx'); if ($response->is_success) { print "Hurrah! Logged in\n"; } else { die "Login failed: ".$response->error."\n"; }
I have run the same script on two servers and have it logs in fine on one and not so on the other. I am attempting to debug this, but have had no luck. I have tried setting the appropriate variable in the Unix environment, exported it, used it on the same line and the like.
I have no idea how to proceed with finding why one server lets me log in and the other does not.
You assistance would be greatly appreciated.
--
¤ Steve Marvell
In reply to Net::Google::AuthSub always fails to log in by marvell
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |