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

API Calls not working after publishing to server #34

Closed
sriramvisualfx opened this issue Apr 10, 2019 · 8 comments
Closed

API Calls not working after publishing to server #34

sriramvisualfx opened this issue Apr 10, 2019 · 8 comments

Comments

@sriramvisualfx
Copy link

Hi, I have a node which uses an API call. It was working fine in the simulator, but when I publish to the server nothing is happening. I have disabled the firewall in Ubuntu and checked the API URL with both HTTP and HTTPS. What would be the problem?

@jashankoshal
Copy link

jashankoshal commented Apr 23, 2019

Hi, same issue with me.
http API call is working in simulator mode.
After publishing it is not working.
Kindly provide the documentation or survival of ANA chat is difficult

@majumdartanmay
Copy link
Contributor

Can you send us the API call, you are referring to?

@TnCoders
Copy link

TnCoders commented Jun 4, 2019

Guys Can you Explain how you Loged in to the server from Ana Studio ? What is the URL server you puted in the server config page?

thank you

@devaroop
Copy link

devaroop commented Jun 19, 2019

A simple post request to any public IP is not working when published and loaded. It works great in the simulator. I assume its something to do with the DNS resolution if the IP is not reachable?

cc @tanmay23235616

@majumdartanmay
Copy link
Contributor

@devaroop Can you share the API call or the ana project file ?

@devaroop
Copy link

devaroop commented Jun 20, 2019

Actually, I got it working fine now.

"Make sure Ana Server is able to reach your api server thru http/https"

Any connections to localhost or LAN works from the simulator because it makes requests from your own machine.

Debug:
For further debug (if you are using docker):
You have to look at the logs of the projectana/anacore image container
docker logs --tail 100 -f anaserver_core_1 gives you info about why your api is not working.

@majumdartanmay
Copy link
Contributor

Closing due to inactivity.

@alimobh
Copy link

alimobh commented May 22, 2020

@devaroop How was this resolved? I tried to debug and this is the only error I got:

[ERROR] [2020-05-22 04:41:31,583] > Could not parse api body

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

6 participants