Bug #102

Hard coded xml-rpc port in ruby client

Added by Johan Tordsson about 3 years ago. Updated over 1 year ago.

Status:Closed Start date:04/28/2009
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:Release 1.2
Resolution:invalid Affected Version:
Story points-
Velocity based estimate-

Description

Line 88 of src/client/ruby/one.rb reads:
one_endpoint="http://localhost:2633/RPC2"

but should use the port specified in $ONE_LOCATION/etc/oned.conf instead

History

Updated by Tino Vázquez about 3 years ago

  • Status changed from New to Closed
  • Resolution set to invalid

Not really a bug, clients shouldn't rely on being able to access oned.conf, they can be on a separate server

Updated by Martin Kopta over 1 year ago

Tino Vázquez wrote:

Not really a bug, clients shouldn't rely on being able to access oned.conf, they can be on a separate server

So why is it http://LOCALHOST:2633/RPC2 ? Anyway, since there is no way to configure CLI/OCA, xml-rpc port change in oned.conf is unusable without manual change of OCA source code. Either port number should be removed from oned.conf, or OCA should be configurable somehow (at least the code change should be in documentation).

Also available in: Atom PDF