Page 1 of 1

Use https just for file port not packet port

Posted: Thu Jun 27, 2019 9:13 am
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 ?

Re: Use https just for file port not packet port

Posted: Thu Jun 27, 2019 10:33 am
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

Re: Use https just for file port not packet port

Posted: Thu Jun 27, 2019 10:52 am
by elia.nm07
tnx alot

Re: Use https just for file port not packet port

Posted: Fri Jun 28, 2019 6:11 am
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 ?

Re: Use https just for file port not packet port

Posted: Fri Jun 28, 2019 6:42 am
by elia.nm07
Of course this just happen when i turn on under attach mode in cloud flare

Re: Use https just for file port not packet port

Posted: Fri Jun 28, 2019 9:31 am
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.