Edge Extension cannot request to localnets(192.168.1.x)

By design Issue #8438041

Details

Created
Aug 9, 2016
Privacy
This issue is public.
Found in
  • Microsoft Edge
Reports
Reported by 4 people

Sign in to watch or report this issue.

Steps to reproduce

Microsoft Edge cannot request to localnets(192.168.1.x).
however, could request to global ip network.

We confirmed,

  1. ajax using jQuery, requested localnets.

request was not executed. server access log was not found.

  1. browser.tabs.create was failed, too.

browser.tabs.create also couldn’t open localnets URL.

This issue must be fixed for creating Enterprise applications.

Thank you.

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Brad E.”

      Changed Assigned To to “Sermet I.”

      Changed Assigned To from “Sermet I.” to “Scott L.”

      Changed Status to “Confirmed”

      Changed Status from “Confirmed” to “By design”

    • This is by design as extensions don’t support loopback. Please continue to watch https://developer.microsoft.com/en-us/microsoft-edge/platform/documentation/extensions/ for updated announcements, APIs, documentation, etc. about extensions.

    • Dear Colleen W.

      Thank you for replying.
      I want MS Edge to support loopback and requesting to localnets, very very much.
      Chrome and Firefox support loopback and localnets requesting.

      We look forward to be supporting it.

    • Dear Colleen W.

      You saied, MS Edge extensions don’t support loopback.

      This issue isn’t meaning loopback address(localhost, references hosts file).
      This issue is meaning localnets(LAN address, not self IP address)

      The PC is running MS Edge = 192.168.1.100
      Web Server = 192.168.1.200.

      1.ajax using jQuery, requested from MS Edge(192.168.1.100) to web server(192.168.1.200).

      request was not executed. server access log was not found.

      There was the log "SCRIPT7002: XMLHttpRequest: Network Error 0x2efd, Could not complete the operation due to error 00002efd..

      Web server responses header Access Control Origin: * absolutely
      but, request was not executed.

      2.browser.tabs.create was failed, too.

      browser.tabs.create also couldn’t open 192.168.1.200 URL.

      This behavior is by design??
      I want you to confirm again this issue, please.

      Thank you.

    • Please reopen this issue.

    • In my case no extension is involved, just a ASP.NET Core on the LAN that tries to load js from another server on the LAN. Works on IE11 and Edge Mobile.

    • This is only extensions issue.
      no extensions(only browser tab) can access to LAN ip addresses.

      but, extensions cannot access to LAN ip address by ajax and browser.tabs.create().

      MS Edge wrote
      “SCRIPT7002: XMLHttpRequest: Network Error 0x2efd, Could not complete the operation due to error 00002efd.”

      to console log.

    • browser.tabs.create({url:"https://www.microsoft.com/"});
      works good.(no problem).

      browser.tabs.create({url:"http://192.168.1.100/"});
      doesn’t work. My IP address is 192.168.1.5

      error is “SCRIPT7002: XMLHttpRequest: Network Error 0x2efd, Could not complete the operation due to error 00002efd.”

      THIS IS A BUG.
      PLEASE, REOPEN THIS ISSUE.

    • Ajax using jQuery to GLOBAL IP address, works good.

      Ajax to LOCAL IP address, it is failed to request.

      error is “SCRIPT7002: XMLHttpRequest: Network Error 0x2efd, Could not complete the operation due to error 00002efd.”

    • browser.tabs.create({url:"http://192.168.1.100:8080/"});
      doesn’t work. My IP address is 192.168.1.5

      error page displayed.

    • I understand that this is currently by design, or just not implemented or something. Is there any intent to let loopbacks work in Edge extensions?

    • When can we get this fixed?

    You need to sign in to your Microsoft account to add a comment.

    Sign in