cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1058
Views
0
Helpful
1
Replies

amp4e_ldap_tool error

ggadaleta
Level 1
Level 1

hi ,

 

I'm using the amp4e_ldap_tool to upload Active Directory users in AMP.

Unfortunately I'm fighting with this error I don't understand:

 

(base) giovannis-MacBook-Pro:amp4e_ldap_tool giovannigadaleta$ amp4e_ldap_tool amp -c

Traceback (most recent call last):

15: from /usr/local/bin/amp4e_ldap_tool:23:in `<main>'

14: from /usr/local/bin/amp4e_ldap_tool:23:in `load'

13: from /Library/Ruby/Gems/2.6.0/gems/amp4e_ldap_tool-0.0.4/exe/amp4e_ldap_tool:5:in `<top (required)>'

12: from /Library/Ruby/Gems/2.6.0/gems/thor-0.19.4/lib/thor/base.rb:444:in `start'

11: from /Library/Ruby/Gems/2.6.0/gems/thor-0.19.4/lib/thor.rb:369:in `dispatch'

10: from /Library/Ruby/Gems/2.6.0/gems/thor-0.19.4/lib/thor/invocation.rb:126:in `invoke_command'

9: from /Library/Ruby/Gems/2.6.0/gems/thor-0.19.4/lib/thor/command.rb:27:in `run'

8: from /Library/Ruby/Gems/2.6.0/gems/amp4e_ldap_tool-0.0.4/lib/amp4e_ldap_tool/cli.rb:24:in `amp'

7: from /Library/Ruby/Gems/2.6.0/gems/amp4e_ldap_tool-0.0.4/lib/amp4e_ldap_tool/cli.rb:151:in `display_resources'

6: from /Library/Ruby/Gems/2.6.0/gems/amp4e_ldap_tool-0.0.4/lib/amp4e_ldap_tool/cli.rb:151:in `each'

5: from /Library/Ruby/Gems/2.6.0/gems/amp4e_ldap_tool-0.0.4/lib/amp4e_ldap_tool/cli.rb:152:in `block in display_resources'

4: from /Library/Ruby/Gems/2.6.0/gems/amp4e_ldap_tool-0.0.4/lib/amp4e_ldap_tool/cisco_amp.rb:29:in `get'

3: from /Library/Ruby/Gems/2.6.0/gems/amp4e_ldap_tool-0.0.4/lib/amp4e_ldap_tool/cisco_amp.rb:74:in `send'

2: from /Library/Ruby/Gems/2.6.0/gems/amp4e_ldap_tool-0.0.4/lib/amp4e_ldap_tool/cisco_amp.rb:85:in `check_response'

1: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/json/common.rb:156:in `parse'

 (JSON::ParserError)eworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/json/common.rb:156:in `parse': 767: unexpected token at '<html>

<head><title>400 The plain HTTP request was sent to HTTPS port</title></head>

<body>

<center><h1>400 Bad Request</h1></center>

<center>The plain HTTP request was sent to HTTPS port</center>

</body>

</html>

'

 

Is there anybody who actually used this tool ?

 

thanks

ciao

Giovanni

1 Reply 1

JennieZhang
Cisco Employee
Cisco Employee

Hello, 

sorry for the late response.

I installed Ruby and tried this script but I got some error messages, failed to execute this script.

do you have any progress now? are you still seeing errors?