apache / apache/cordova-plugin-inappbrowser
ERR_Connection_Refused with Ionic 3 and Local files
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 2.2k
- PR merge metrics
- No merged PRs in 30d
Description
When loading a local host with relative path using Ionic 3, I get an ERR_CONNECTION_REFUSED error.
The URL specified is "assets/resources/some-page.html" which then is turned into "http://localhost:8080/assets/resources/some-page.html". All whitelisting has been configured to allow this, and using the plugin with external URLs works just fine.
Contributor guide
Research direction
Start by reproducing the relative local URL case in an Ionic 3 application using the Cordova InAppBrowser plugin, then compare it with the working external-URL case. Done means assets/resources/some-page.html loads locally without ERR_CONNECTION_REFUSED while the configured whitelisting remains effective.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100