• Ronnn
  • NEWBIE
  • 0 Points
  • Member since 2009

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 1
    Replies

Whike installing the WWW::Salesforce module from CPAN, I got an invalid login error from Salesforce.

 

I double checked the ID, password and security token are correct. These have been used with another application written in Ruby.

 

Any ideas why this module for Perl is failing?

 

Output from CPAN:

 

cpan[1]> install WWW::Salesforce
(lots of messages about getting and building)
Enter username: **********
Enter password: **********
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/WWW-Salesforce....ok 1/29INVALID_LOGIN: Invalid username or password or locked out. at t/WWW-Salesforce.t line 22
t/WWW-Salesforce....NOK 2/29                                                 
#   Failed test 'Login test'
#   at t/WWW-Salesforce.t line 23.
FAILED--Further testing stopped.
make: *** [test_dynamic] Error 9
  CAPOEIRAB/WWW-Salesforce-0.11.tar.gz
  /usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports CAPOEIRAB/WWW-Salesforce-0.11.tar.gz
Failed during this command:
 CAPOEIRAB/WWW-Salesforce-0.11.tar.gz         : make_test NO

  • June 11, 2009
  • Like
  • 0

I am using Python 2.4.4 on Ubuntu 8.04 on Amazon EC2.

 

The application is using BeatBox 0.9.1.1-py2.4 to connect to Salesforce.

 

As best I can determine, the connection is being made and the SOAP request is being sent, but conn.getresponse() is timing out without receiving any response.

 

FYI, I am new to both Salesforce and Python. The application was working until earlier today when we started getting failures related to Salesforce. The Zope log indicated the error was 'No response from Salesforce'. Using the trace back, I was able to find the source lines involved and ezamin their operation.

 

Also, the application continues to connect properly with Salesforce from my own computer (also running Ubuntu 8.04).

 

Also, I did some tests using wget from the server in EC2. All I got was 500 "server error" responses, which I assume was due to incorrectly formatted SOAP requests.

 

  • May 04, 2009
  • Like
  • 0

Whike installing the WWW::Salesforce module from CPAN, I got an invalid login error from Salesforce.

 

I double checked the ID, password and security token are correct. These have been used with another application written in Ruby.

 

Any ideas why this module for Perl is failing?

 

Output from CPAN:

 

cpan[1]> install WWW::Salesforce
(lots of messages about getting and building)
Enter username: **********
Enter password: **********
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/WWW-Salesforce....ok 1/29INVALID_LOGIN: Invalid username or password or locked out. at t/WWW-Salesforce.t line 22
t/WWW-Salesforce....NOK 2/29                                                 
#   Failed test 'Login test'
#   at t/WWW-Salesforce.t line 23.
FAILED--Further testing stopped.
make: *** [test_dynamic] Error 9
  CAPOEIRAB/WWW-Salesforce-0.11.tar.gz
  /usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports CAPOEIRAB/WWW-Salesforce-0.11.tar.gz
Failed during this command:
 CAPOEIRAB/WWW-Salesforce-0.11.tar.gz         : make_test NO

  • June 11, 2009
  • Like
  • 0