Report this

What is the reason for this report?

Receiving api calls into droplet

Posted on October 26, 2018

I have a docker container/image running, on my local machine, this works fine, when starting it up on my droplet I don’t receive the callback I normally receive. It’s a Twitch callback, it goes in two parts, I make a call, which is logging out to say I made the call to them successfully, but I don’t receive the callback from Twitch into my container.

Twitch call me back at an address like this: http://142.93.47.190/api/twitch/callback The docker-compose file has a port mapping of 4001:4001 (the app starts up on 4001)

but that doesn’t seem to come through, I tried temporarily disabling my firewall as well, no luck.

Any ideas for how to receive calls into the droplet, are there any specific setup needed before i can do this?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi,

It looks like you need to start up the container on port 80:4001.

Either that or change the callback address to http://142.93.47.190:4001/api/twitch/callback.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.