05-19-2022 05:55 AM
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
07-19-2022 09:22 PM
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?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide