Use https just for file port not packet port

For general discussion of the Poker Mavens software
Post Reply
elia.nm07
Posts: 32
Joined: Tue Jun 18, 2019 3:58 am

Use https just for file port not packet port

Post by elia.nm07 »

Hi Dear
I Have a poker maven Gold 6.10 and i am using cloudflare
Recently i had a few crashes and you guide me well and i am so tankful ,
I Recently found that may be my problem is using https and after some search i suspected to some configurations on my datacenter infrastructures that case some of my clients disconnect and reconnect when using ssl,
i want to know that until that i found the issue , can i use ssl for just file port ?
for instance i will set my ssl certs and turn on using ssl , using cloudflare port 8443 for file port and 2052(none ssl port) for packet port, is this going to work ?
if this is work fine , does the lobby page showes the green bar of https ?
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: Use https just for file port not packet port

Post by Kent Briggs »

If you have SSL enabled in the Poker Mavens settings, the web socket connection will also require SSL (wss:// instead of ws://). This is done automatically. If you don't have SSL enabled in the Poker Mavens settings but you do have it enabled at Cloudflare, you must set this option in Poker Mavens:

System tab -> Server Settings -> Proxy WSS = Yes

In this scenario, the connection between player and Cloudflare is encrypted while the connection between Cloudflare and your poker server is not. But the player's browser does not know this and will indicated a secure https connection to the file port and a wss connection to the packet port. If you want a true round-trip SSL connection then you need to install Cloudflare's certs directly on your machine per the instructions here:

http://www.briggsoft.com/forums/viewtop ... f=8&t=2228
elia.nm07
Posts: 32
Joined: Tue Jun 18, 2019 3:58 am

Re: Use https just for file port not packet port

Post by elia.nm07 »

tnx alot
elia.nm07
Posts: 32
Joined: Tue Jun 18, 2019 3:58 am

Re: Use https just for file port not packet port

Post by elia.nm07 »

dear kent tanx alot for your helps i solve that problem :)
i have one another question (i am really sorry and tankful)
i have 2domains , one for web application and one for game server
when i load the game with iframe in one of my webapplication , i doesnt load the game because of X-Frame-Options ,
same origin policy is also set on NO
can i do some thing to load the game from domain b into iframe of domain A ?
elia.nm07
Posts: 32
Joined: Tue Jun 18, 2019 3:58 am

Re: Use https just for file port not packet port

Post by elia.nm07 »

Of course this just happen when i turn on under attach mode in cloud flare
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: Use https just for file port not packet port

Post by Kent Briggs »

iframes cause lots of problems. The various browsers are not consistent and seem to be more and more restrictive as time goes by. iOS is particular hostile to them, causing scaling issues and rejecting local storage attempts. It's best to avoid them if possible.
Post Reply