1. AC Question's Avatar
    Not sure if this is the right place to post but working on Android app stuff and I'm running into issues with the ProxySelector class and using my own proxy that only occurs on the Android N preview.

    To reproduce, set your own default proxy selector

    ex. ProxySelector.setDefault(new CustomProxySelector());

    Expected behavior:
    Requests go through the proxy selector and get either a proxy returned or no proxy

    Actual behavior:
    Requests call the method List<Proxy> select(URI uri) {...} multiple times

    Also, when you setup your own proxy I'm getting back an error:

    Unknown proxy type : HTTP

    That doesn't happen in Marshmellow or below
    04-01-2016 03:47 PM
  2. itguyjax8430's Avatar
    Not sure if this is the right place to post but working on Android app stuff and I'm running into issues with the ProxySelector class and using my own proxy that only occurs on the Android N preview.

    To reproduce, set your own default proxy selector

    ex. ProxySelector.setDefault(new CustomProxySelector());

    Expected behavior:
    Requests go through the proxy selector and get either a proxy returned or no proxy

    Actual behavior:
    Requests call the method List<Proxy> select(URI uri) {...} multiple times

    Also, when you setup your own proxy I'm getting back an error:

    Unknown proxy type : HTTP

    That doesn't happen in Marshmellow or below
    Welcome to Android Central!

    Did you ever figure this out?
    04-06-2016 08:10 AM

Similar Threads

  1. Replies: 96
    Last Post: 05-30-2016, 10:37 PM
  2. Replies: 1
    Last Post: 04-02-2016, 01:59 AM
  3. Config files for Android Tablets?
    By AC Question in forum General Help and How To
    Replies: 1
    Last Post: 04-02-2016, 01:56 AM
  4. lg 441g can not connect to wifi
    By AC Question in forum Ask a Question
    Replies: 1
    Last Post: 04-01-2016, 04:43 PM
  5. Replies: 3
    Last Post: 04-01-2016, 04:05 PM
LINK TO POST COPIED TO CLIPBOARD