autmated login

For discussion of the Poker Mavens server module and other administration topics
antmar904
Posts: 30
Joined: Sun Oct 07, 2012 7:24 pm

autmated login

Post by antmar904 »

hi kent,

i am trying to us your automate login (session key 3.php0 but i keep getting a (Connection failed Click Back Button to retry.)
antmar904
Posts: 30
Joined: Sun Oct 07, 2012 7:24 pm

Re: autmated login

Post by antmar904 »

correction on my spelling, i am using (sessionkey3.php)
Kent Briggs
Site Admin
Posts: 5880
Joined: Wed Mar 19, 2008 8:47 pm

Re: autmated login

Post by Kent Briggs »

Make sure you have the right URL and port set in the API.php file for your site. Otherwise, it could be your PHP host is blocking non-standard outbound ports. For example, if you are using the default 8087 file port, they might be blocking you trying to connect to anything other than the standard HTTP port (80). Check with them to make sure.
antmar904
Posts: 30
Joined: Sun Oct 07, 2012 7:24 pm

Re: autmated login

Post by antmar904 »

can i use another port rather than 8087?

if so what would the ideal port be?
Kent Briggs
Site Admin
Posts: 5880
Joined: Wed Mar 19, 2008 8:47 pm

Re: autmated login

Post by Kent Briggs »

antmar904 wrote:can i use another port rather than 8087?
if so what would the ideal port be?
You can use any port from 1 to 65535. HTTP is port 80 so if you're not also running a web server you can use it. Or get your PHP host to open the port you want to use in their outbound firewall.
antmar904
Posts: 30
Joined: Sun Oct 07, 2012 7:24 pm

Re: autmated login

Post by antmar904 »

is this also why none of the api's are working?
Kent Briggs
Site Admin
Posts: 5880
Joined: Wed Mar 19, 2008 8:47 pm

Re: autmated login

Post by Kent Briggs »

antmar904 wrote:is this also why none of the api's are working?
Could be. It's the curl_exec() function in API.php that makes the call to your poker server. If that fails because it's being blocked, you'll see the Connection Failed message. You can confirm that it's not your poker server firewall by using your browser to make a simple API call. Something like:

http://123.456.789.123:8087/api?Command ... PIPassword

Substitute in your actual poker server address and api password. If you get a Result=Ok back then the problem isn't with the poker server.
antmar904
Posts: 30
Joined: Sun Oct 07, 2012 7:24 pm

Re: autmated login

Post by antmar904 »

thank you here are the resulst:

Result=Ok
Logins=0
FilledSeats=0
OccupiedTables=0
UpSeconds=14467
UpTime=0 days 4 hrs 1 min

so the issue is with the website hosting side, they are blocking port 8087?
Kent Briggs
Site Admin
Posts: 5880
Joined: Wed Mar 19, 2008 8:47 pm

Re: autmated login

Post by Kent Briggs »

antmar904 wrote:so the issue is with the website hosting side, they are blocking port 8087?
Looks like it, assuming you have the correct $url value set in your API.php file. Contact your ISP and see if they will open that port in your PHP configuration. Make it clear to them that it's an outbound port, not inbound. You are trying to pull data in from an external server. Otherwise, change your file port to 80, which is probably not blocked.
antmar904
Posts: 30
Joined: Sun Oct 07, 2012 7:24 pm

Re: autmated login

Post by antmar904 »

ok so i tried changing the port to port 80 in the api.php, port forwarding and on the server side AND using sessionkey.php then sessionkey3.php and they both came back with the connection failed but when i us the login.htm is works fine.
Post Reply