Bug #102
Hard coded xml-rpc port in ruby client
Status: | Closed | Start date: | 04/28/2009 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | - | |||
Target version: | Release 1.2 | |||
Resolution: | invalid | Pull request: | ||
Affected Versions: |
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
#1 Updated by Tino Vázquez about 12 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
#2 Updated by Martin Kopta almost 11 years 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).