By: Martin Petri user 07 May 2019 at 2:55 a.m. CDT

2 Responses
Martin Petri gravatar
Hi. We're using oxd-Server with Ruby lib/gem. Everything worked fine until we tried to centralize the oxd-server with oxd-https-extension. The ruby lib always wanted to connect https://127.0.0.1:8443, although the connection_type was set to 'web'. The only way was to change the following lines in lib file oxd-connector.rb: Original: def oxd_http_request(request_params, command = "") uri = URI.parse("https://127.0.0.1/"+command) http = Net::HTTP.new("127.0.0.1", 8443) Now: def oxd_http_request(request_params, command = "") uri = URI.parse("https://" + @configuration.oxd_host_ip + "/"+command) http = Net::HTTP.new(@configuration.oxd_host_ip, 8443) Is there another way without changing the lib? Do we overlook something? Cheers, Martin

By Michael Schwartz Account Admin 07 May 2019 at 3:03 a.m. CDT

Michael Schwartz gravatar
in oxd 4.0, we removed local sockets and only support https. We then swaggerized the API, and will generate Ruby libraries. So until 4.0 is released, we will not be updating our supporting the 3.x Ruby library. Sorry things are in flux. The library is open source if you want to submit a PR.

By Martin Petri user 07 May 2019 at 3:54 a.m. CDT

Martin Petri gravatar
Okay, thx, We'll wait for the next version. btw: Great product! :-)