an interesting solution to an interesting problem:
ME: Hi we added this url to securi a few weeks ago. we have an issue that only affects Iphones trying to access this site external to our network -- if you are authenticated to the county wifi you can access the site from your iphone. But once you turn off wifi and connect using your carrier you can not. If you try to connect to the site using ANY other device you will be able to bring up the website.
The hosting server is behind a enterprise firewall as well as a few other devices and is NATed to an private ip address. We have another domain that is site that is hosted in the same manner as (SITE NAME) and works fine only difference is that it is not going through Sucuri. The Admin who I am working with said that the site was accessible on externally used Iphone before we added the site to Sucuri. A simple test would be to remove Sucuri from the mix and test again but before we get to that point I was wondering if you know of any issues or anything that needs to be reconfigured for Iphone devices to work or settings on your application that have caused problems with Iphones in the past?
SUCURI: Could you please share with us full access to this server? it seems to be something on your end causing issues with HTT2 protocol.
Thanks in advance
ME: do you need remote access? We will have to set something up with the System Admin for access. Unfortunately he is out of the office today. Can we get an appointment so that we can all meet?
SUCURI: I've found a different way to approach this issue, I've made some changes and now we can load your website from mobile devices and safari.
Could you please double-check it ?
Please, let me know.
Thanks
ME: That did the trick. What was the final config setting that fixed the issue? We will need the info for our records. We will have to duplicate this config for the production site once they are ready to migrate it to Sucuri. Thanks.
SUCURI: We've made an internal fix that ensures that issue will not reoccur so that should not be an issue any more. There's no value in explaining it because its internal in nature and won't have any context for you, however it's worth to mention that this option was necessary because what we was getting for your server is against the RFC, and since Safari follows the RFC strictly, due to this fact, if the host sent anything that is against the RFC in the http header Safari won't be able to handle with it, and that what was happening. The HTTP header was being copied to HTTP2 headers which is against the RFC, other browsers like Firefox and Chrome they are able to handle this situation in a different way.
`* http2 error: Invalid HTTP header field was received: frame type: 1, stream: 1, name: [proxy-connection], value: [Keep-Alive]`
Therefore, we had to create a custom option to fix the way (wrong way) that your hosting is sending the HTTP header.
Hope it clarifies and if you have any other question, we'll be happy to answer.
Thanks in advance
... the site that we were dealing with was not RFC compliant.
ME: Hi we added this url to securi a few weeks ago. we have an issue that only affects Iphones trying to access this site external to our network -- if you are authenticated to the county wifi you can access the site from your iphone. But once you turn off wifi and connect using your carrier you can not. If you try to connect to the site using ANY other device you will be able to bring up the website.
The hosting server is behind a enterprise firewall as well as a few other devices and is NATed to an private ip address. We have another domain that is site that is hosted in the same manner as (SITE NAME) and works fine only difference is that it is not going through Sucuri. The Admin who I am working with said that the site was accessible on externally used Iphone before we added the site to Sucuri. A simple test would be to remove Sucuri from the mix and test again but before we get to that point I was wondering if you know of any issues or anything that needs to be reconfigured for Iphone devices to work or settings on your application that have caused problems with Iphones in the past?
SUCURI: Could you please share with us full access to this server? it seems to be something on your end causing issues with HTT2 protocol.
Thanks in advance
ME: do you need remote access? We will have to set something up with the System Admin for access. Unfortunately he is out of the office today. Can we get an appointment so that we can all meet?
SUCURI: I've found a different way to approach this issue, I've made some changes and now we can load your website from mobile devices and safari.
Could you please double-check it ?
Please, let me know.
Thanks
ME: That did the trick. What was the final config setting that fixed the issue? We will need the info for our records. We will have to duplicate this config for the production site once they are ready to migrate it to Sucuri. Thanks.
SUCURI: We've made an internal fix that ensures that issue will not reoccur so that should not be an issue any more. There's no value in explaining it because its internal in nature and won't have any context for you, however it's worth to mention that this option was necessary because what we was getting for your server is against the RFC, and since Safari follows the RFC strictly, due to this fact, if the host sent anything that is against the RFC in the http header Safari won't be able to handle with it, and that what was happening. The HTTP header was being copied to HTTP2 headers which is against the RFC, other browsers like Firefox and Chrome they are able to handle this situation in a different way.
`* http2 error: Invalid HTTP header field was received: frame type: 1, stream: 1, name: [proxy-connection], value: [Keep-Alive]`
Therefore, we had to create a custom option to fix the way (wrong way) that your hosting is sending the HTTP header.
Hope it clarifies and if you have any other question, we'll be happy to answer.
Thanks in advance
... the site that we were dealing with was not RFC compliant.