Giter Club home page Giter Club logo

Comments (4)

stanjaromin avatar stanjaromin commented on May 19, 2024 1

Thak you Francesco, it still doesn't work. The strange thing is that the Java version works without issues on my machine with the same port declared. I will keep searching for the source of problem on my machine. Thank you for making sure the Python version is working.

from pokerwars.io-starterbot-python.

francescopeloi avatar francescopeloi commented on May 19, 2024

hey @stanjaromin ,

have you added the properties with your token and bot IP address?

from pokerwars.io-starterbot-python.

stanjaromin avatar stanjaromin commented on May 19, 2024

Hi Francesco,
yes i did, according to instructions. I was running the code from Pycharm however today I tried from command line and got the same. Is the http://127.0.0.1:3000/ OK or there should be my IP address?

from pokerwars.io-starterbot-python.

francescopeloi avatar francescopeloi commented on May 19, 2024

hey @stanjaromin ,

I tried today from the command line and it worked fine:

Trying to subscribe to pokerwars.io ...
Bottle v0.12.17 server starting up (using WSGIRefServer())...
Listening on http://127.0.0.1:3000/
Hit Ctrl-C to quit.

Received ping from pokerwars.io, responding with a pong
127.0.0.1 - - [01/Mar/2020 10:46:11] "GET /pokerwars.io/ping HTTP/1.1" 200 14
Received ping from pokerwars.io, responding with a pong
127.0.0.1 - - [01/Mar/2020 10:46:12] "GET /pokerwars.io/ping HTTP/1.1" 200 14
Received ping from pokerwars.io, responding with a pong
127.0.0.1 - - [01/Mar/2020 10:46:12] "GET /pokerwars.io/ping HTTP/1.1" 200 14
Subscription --> Status code: 202
Subscription --> Body: {u'reason': u'user francescopeloi has access and his/her bot endpoint is also valid. Subscribing bot http://blablabla.ngrok.io', u'statusDescription': u'Accepted', u'success': True, u'statusCode': 202}
Received notification
{u'message': u'Tournament id 6012813699899016511 started with bots [....usernames....]', u'type': u'tournament_started'}

You should put your IP in the bot_endpoint variable, so we know where you bot is and we can communicate with it, e.g.:

bot_endpoint = 'http://be8f8d72.ngrok.io'

from pokerwars.io-starterbot-python.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.