Hello All,
Good day,
I am trying to create Bulk roles and role assignment using CSV, where I followed below steps, But when I tried to run the ruby script, I am facing thebelow issue.
C:/Ruby33-x64/lib/ruby/3.3.0/net/http.rb:1603:in initialize': Failed to open TCP connection to xxxx.api.identitynow.com:443 (getaddrinfo: No such host is known. ) (Socket::ResolutionError) from C:/Ruby33-x64/lib/ruby/3.3.0/net/http.rb:1603:in open’
from C:/Ruby33-x64/lib/ruby/3.3.0/net/http.rb:1603:in block in connect' from C:/Ruby33-x64/lib/ruby/3.3.0/timeout.rb:186:in block in timeout’
from C:/Ruby33-x64/lib/ruby/3.3.0/timeout.rb:193:in timeout' from C:/Ruby33-x64/lib/ruby/3.3.0/net/http.rb:1601:in connect’
from C:/Ruby33-x64/lib/ruby/3.3.0/net/http.rb:1580:in do_start' from C:/Ruby33-x64/lib/ruby/3.3.0/net/http.rb:1569:in start’
from C:/Ruby33-x64/lib/ruby/3.3.0/net/http.rb:2297:in request' from C:/Users/XXXX/Documents/Scripts/Role-Importer/roleImporter.rb:90:in create_header’
from C:/Users/XXXX/Documents/Scripts/Role-Importer/roleImporter.rb:898:in <main>' C:/Ruby33-x64/lib/ruby/3.3.0/net/http.rb:1603:in initialize’: getaddrinfo: No such host is known. (Socket::ResolutionError)
from C:/Ruby33-x64/lib/ruby/3.3.0/net/http.rb:1603:in open' from C:/Ruby33-x64/lib/ruby/3.3.0/net/http.rb:1603:in block in connect’
from C:/Ruby33-x64/lib/ruby/3.3.0/timeout.rb:186:in block in timeout' from C:/Ruby33-x64/lib/ruby/3.3.0/timeout.rb:193:in timeout’
from C:/Ruby33-x64/lib/ruby/3.3.0/net/http.rb:1601:in connect' from C:/Ruby33-x64/lib/ruby/3.3.0/net/http.rb:1580:in do_start’
from C:/Ruby33-x64/lib/ruby/3.3.0/net/http.rb:1569:in start' from C:/Ruby33-x64/lib/ruby/3.3.0/net/http.rb:2297:in request’
from C:/Users/XXXX/Documents/Scripts/Role-Importer/roleImporter.rb:90:in create_header' from C:/Users/XXXX/Documents/Scripts/Role-Importer/roleImporter.rb:898:in ’
Thanks,
Jagan.M
.

