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

Register a new connection to for importing data #47

Open
zh9118 opened this issue Mar 31, 2022 · 4 comments
Open

Register a new connection to for importing data #47

zh9118 opened this issue Mar 31, 2022 · 4 comments

Comments

@zh9118
Copy link

zh9118 commented Mar 31, 2022

Hi there, how are you?

I have a question about the connection to the API. Hope I could get some answers from here.

I have installed an ENCODE API in a virtual machine, and expecting to import data from the host into the ENCODE API on the virtual machine. To make a connection between the host and the virtual machine, I was trying to do the command conn = Connection("demo.encodedcc.org") to register a connection and then use it for data import. However, kept receiving connection refused errors. Could anyone help me with this please? Thanks a lot.

@hitz
Copy link
Collaborator

hitz commented Mar 31, 2022

Hi, you should use www.encodeproject.org

@zh9118
Copy link
Author

zh9118 commented Apr 3, 2022

Hi, you should use www.encodeproject.org

Thanks for your reply. We are actually not importing data to encode.org or the dev server. Actually we have our own encode build in the virtual machine, and expecting using the Eu_register.py to import the data into the encode API.

@hitz
Copy link
Collaborator

hitz commented Apr 4, 2022

You should use the name/address of that virtual machine then. You can either use the AWS address or attach your server to your own domain (AWS uses something called Route53 for this)

@zh9118
Copy link
Author

zh9118 commented Apr 5, 2022

You should use the name/address of that virtual machine then. You can either use the AWS address or attach your server to your own domain (AWS uses something called Route53 for this)

Thanks for your reply. Yes, that's right. But the name/address of that virtual machine is needed to be registered by Encode_util in order to receive data. Is it true? And I kept receiving errors of refusing connection, I guess I failed to register the name/address for importing data.

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

2 participants