yangyuan / hearthrock

Hearthstone® Bot Engine
https://yangyuan.github.io/hearthrock/
MIT License
258 stars 68 forks source link

Not issuing requests to remote server? #24

Closed RandomSeeded closed 7 years ago

RandomSeeded commented 7 years ago

Thanks for your work, really excited to try working with this.

Not used to developing on Windows, so was going to attempt to run against a remote server where I would do development. Remote bot server is running on port 7625, and is capable of receiving requests. I've used ngrok to create a tunnel.

If I curl http://[my ngrok url]:80, I will get the response 'Hearthstone!'

However, when attempting to run hearthrock against that url as follows, no requests are made to my server.

capture

Is remote currently supported? Anything I'm clearly doing wrong?

--

Edit: have also tried running that server without a tunnel and port forwarding, still no requests made.

AiSatan commented 7 years ago

did you try add "/" ?

like:

http://[my ngrok url]:80/

also it's support only post requests

RandomSeeded commented 7 years ago

Hah the / did it. I really appreciate your getting back to me so quickly :)

yangyuan commented 7 years ago

25 Add a small validation on BotEndpoint config.

XD