So I have a windows 2012 server with IIS, with two dedicated IP address. One is being used by IIS (x.x.x.38) serving my forum, and the other one is for PM Server (x.x.x.39).
I made IIS to only listen to .38 (using netsh), and my forum uses ssl. It is accessible locally and globally.
The PM Server also works fine as long as it is not using SSL. My web app's API (in my forum) can communicate with PM server over the other IP with no issue.
When I enable SSL for PM Server, It will be only available from internet, but the server can not make the API connection locally. When I try to open the game console locally in the server, it only shows the "Connecting..." message on the top left corner and nothing happens. At the same time I can open the console from my home browser.
I tried it with different port numbers, set "Local IP address" to be only one of x.x.x.39. No chance.
Kent, Could it be a security issue because of the self-signed SSL cert (that works fine with browsers) or is it a defect?
SSL API fails with 2 ip on a server.
-
- Site Admin
- Posts: 5878
- Joined: Wed Mar 19, 2008 8:47 pm
Re: SSL API fails with 2 ip on a server.
When you get stuck on the "Connecting..." message, open the browser's error console and see if it's displaying an error message.
Re: SSL API fails with 2 ip on a server.
found it. the cURL was looking for DN while I signed my cert with an IP. I fixed it by adding:
Anyway, it just fixes the API issue, not the local console which is fine for me.
Code: Select all
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false);
Re: SSL API fails with 2 ip on a server.
Ok I can officially say that is a problem when I use Safari for windows, from anywhere.
Safari 5.1.7 (7534.57.2)
The network activities stops here:
https://www.xx.net/?SitePassword=xx
https://www.xx.net/?SitePassword=xx
https://www.xx.net/Source?Name=ClientHt ... c=658CB036
https://www.xx.net/Source?Name=ClientHt ... c=658CB036
https://www.xx.net/Source?Name=PokerMinCss&Ver=4.42
https://www.xx.net/Source?Name=ClientHt ... c=658CB036
https://www.xx.net/Image?Name=Resize
https://www.xx.net/Source?Name=JQueryMinJs&Ver=4.42
https://www.xx.net/Source?Name=PokerMinJs&Ver=4.42
Kent, I'll send you a login credential via PM
Safari 5.1.7 (7534.57.2)
The network activities stops here:
https://www.xx.net/?SitePassword=xx
https://www.xx.net/?SitePassword=xx
https://www.xx.net/Source?Name=ClientHt ... c=658CB036
https://www.xx.net/Source?Name=ClientHt ... c=658CB036
https://www.xx.net/Source?Name=PokerMinCss&Ver=4.42
https://www.xx.net/Source?Name=ClientHt ... c=658CB036
https://www.xx.net/Image?Name=Resize
https://www.xx.net/Source?Name=JQueryMinJs&Ver=4.42
https://www.xx.net/Source?Name=PokerMinJs&Ver=4.42
Kent, I'll send you a login credential via PM
-
- Site Admin
- Posts: 5878
- Joined: Wed Mar 19, 2008 8:47 pm
Re: SSL API fails with 2 ip on a server.
Apple did not add websocket support to Safari until version 6 and they abandoned the Window's version of Safari at version 5.1.7. No one should be running Safari on Windows. The browser requirements for Poker Mavens are posted at the bottom of the Poker Mavens home page:royala10 wrote:Ok I can officially say that is a problem when I use Safari for windows, from anywhere.
http://www.briggsoft.com/pmavens.htm
Re: SSL API fails with 2 ip on a server.
Kent,
I just checked many of public sites in pokermavens.net with an iPhone 5S and an iPhone 6+
Both of them were updated with MacOS 8.3 and Mobile Safari 8
All of them just stopped at connecting.. step.
I'm not saying that is a big issue, but I'd suggest you to implement a browser detection at the beginning and throw a graceful error to direct the players to other browsers,
I just checked many of public sites in pokermavens.net with an iPhone 5S and an iPhone 6+
Both of them were updated with MacOS 8.3 and Mobile Safari 8
All of them just stopped at connecting.. step.
I'm not saying that is a big issue, but I'd suggest you to implement a browser detection at the beginning and throw a graceful error to direct the players to other browsers,
-
- Site Admin
- Posts: 5878
- Joined: Wed Mar 19, 2008 8:47 pm
Re: SSL API fails with 2 ip on a server.
Which ones? I have an iPad that I can use to test them.royala10 wrote:I just checked many of public sites in pokermavens.net with an iPhone 5S and an iPhone 6+
Both of them were updated with MacOS 8.3 and Mobile Safari 8
All of them just stopped at connecting.. step.
There already is one but the problem with Safari for Windows is that it has a preliminary implementation of WebSocket that isn't compatible with the final version, but it passes this test anyway:I'm not saying that is a big issue, but I'd suggest you to implement a browser detection at the beginning and throw a graceful error to direct the players to other browsers,
Code: Select all
<script>if ("WebSocket" in window == false) alert("Error: this browser does not support WebSockets");</script>