Use https just for file port not packet port

For general discussion of the Poker Mavens software

Use https just for file port not packet port

Postby elia.nm07 » Thu Jun 27, 2019 9:13 am

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 ?
elia.nm07
 
Posts: 32
Joined: Tue Jun 18, 2019 3:58 am

Re: Use https just for file port not packet port

Postby Kent Briggs » Thu Jun 27, 2019 10:33 am

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/viewtopic.php?f=8&t=2228
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 4042
Joined: Wed Mar 19, 2008 8:47 pm

Re: Use https just for file port not packet port

Postby elia.nm07 » Thu Jun 27, 2019 10:52 am

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

Re: Use https just for file port not packet port

Postby elia.nm07 » Fri Jun 28, 2019 6:11 am

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

Postby elia.nm07 » Fri Jun 28, 2019 6:42 am

Of course this just happen when i turn on under attach mode in cloud flare
elia.nm07
 
Posts: 32
Joined: Tue Jun 18, 2019 3:58 am

Re: Use https just for file port not packet port

Postby Kent Briggs » Fri Jun 28, 2019 9:31 am

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.
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 4042
Joined: Wed Mar 19, 2008 8:47 pm


Return to General

Who is online

Users browsing this forum: No registered users and 7 guests