title: How to resolve HTTP status 403 error when Flutter app connects to a https resource and VPN is active on the device?
body: <p>I have a Flutter app that connects to a https resource (<em>https mydomain dot com/loginFrm</em>) to process some data.</p>
  <p>When the VPN on the device is up and running, the Flutter app cannot connect to the https resource and gives an HTTP status error [403]. The error occurs when the Flutter app is run both on actual Android phone and iPhone.</p>
  <p>I am using DIO package v4.0.4 and the app is developed using Flutter v3.0.5 and Dart v2.17.6.</p>
  <p>Any idea on how to solve this problem?</p>
  <p>Thanks in advance.</p>