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

Unable to get data from Context Broker #2

Open
Raffa87 opened this issue May 17, 2017 · 4 comments
Open

Unable to get data from Context Broker #2

Raffa87 opened this issue May 17, 2017 · 4 comments

Comments

@Raffa87
Copy link

Raffa87 commented May 17, 2017

Hi!
I am trying example on "s1" and "p1" topic provided.
I am able to send data to Context Broker, but actually I cannot receive data from it.
Should I check something on network?
Thanks!

@haas85
Copy link
Collaborator

haas85 commented May 17, 2017

Is your server computer reachable from outside? Firos - Context broker communication is through http so firos http port needs to be reachable from outside (context broker). So maybe you have to set the port redirection to your computer

@Raffa87
Copy link
Author

Raffa87 commented May 17, 2017

Let me clarify:

  • instance on Fiware with Context Broker is reachable from outside
  • local PC with ROS and Firos running is not reachable from outside
    I am able to publish data on topic and see changes on Context Broker
    I am not able to subscribe on topic and get data from Context Broker
    Thanks!

@haas85
Copy link
Collaborator

haas85 commented May 17, 2017

Context broker sends data in the same way as you do to it. So you need to provide it an url and port (firos is in charge of that), but that url and port has to be reachable from outside, since the context broker is outside of your network.

Take in mind that is http communication, no sockets

@Raffa87
Copy link
Author

Raffa87 commented May 18, 2017

Ok,
I understood it
Thank you for your support

@jariza jariza closed this as completed Aug 18, 2018
@jariza jariza reopened this Aug 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants