Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Udp interface does not work for non-localhost #580

Closed
onurturhan opened this issue Sep 27, 2017 · 3 comments
Closed

Udp interface does not work for non-localhost #580

onurturhan opened this issue Sep 27, 2017 · 3 comments
Assignees
Labels
bug
Milestone

Comments

@onurturhan
Copy link

@onurturhan onurturhan commented Sep 27, 2017

Udp interface works well until version 3.9.2 for "non-localhost" IP's. However, this interface doesn't send commands or receive telemetries from udp interface after version 4.0.0 or 4.0.1(tested version) for "non-localhost" IP's. (Tested on CentOS7, CentOS6, Windows7)

cmd_tlm_server.txt:
INTERFACE TEST_INT udp_interface.rb 10.1.233.20 1234 1235
TARGET TEST

@nickollasaranha
Copy link

@nickollasaranha nickollasaranha commented Sep 28, 2017

It happens that UdpInterface has a:
@hostname = '127.0.0.1' if @hostname.casecmp('LOCALHOST')
and it should be
@hostname = '127.0.0.1' if @hostname.upcase.eql?('LOCALHOST')

@jasonatball
Copy link
Collaborator

@jasonatball jasonatball commented Sep 28, 2017

You are correct. I think this is my regression. I'll get it fixed ASAP.

@ryanatball
Copy link
Member

@ryanatball ryanatball commented Sep 29, 2017

This is now fixed in COSMOS 4.0.2

@ryanatball ryanatball added the bug label Sep 29, 2017
@ryanatball ryanatball added this to the v4.0.2 milestone Sep 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

4 participants
You can’t perform that action at this time.