J J0seluis New Member Jul 11, 2018 #1 Hi, i cant set the my proxy username and password when i try go to SDK Manager, then i get the followin error message: "error: java.io.IOException: Failed to authenticate with proxy" I try user[email protected], http://user:[email protected], https://user:[email protected], all of this aggravates the error. Thanks in advance.
Hi, i cant set the my proxy username and password when i try go to SDK Manager, then i get the followin error message: "error: java.io.IOException: Failed to authenticate with proxy" I try user[email protected], http://user:[email protected], https://user:[email protected], all of this aggravates the error. Thanks in advance.
Erel B4X founder Staff member Licensed User Longtime User Jul 12, 2018 #2 B4A Sdk Manager currently doesn't support password protected proxies. It seems like it shouldn't be difficult to set the proxy username and password. If you are familiar with B4J, I can send you the source code and you can try it. Upvote 0
B4A Sdk Manager currently doesn't support password protected proxies. It seems like it shouldn't be difficult to set the proxy username and password. If you are familiar with B4J, I can send you the source code and you can try it.
Erel B4X founder Staff member Licensed User Longtime User Jul 12, 2018 #4 Find these lines: Code: Copy SetSystemProperty("http.proxyHost", ProxyHost) SetSystemProperty("https.proxyHost", ProxyHost) SetSystemProperty("http.proxyPort", ProxyPort) SetSystemProperty("https.proxyPort", ProxyPort) Add: Code: Copy SetSystemProperty("http.proxyUser", "your username here"); SetSystemProperty("http.proxyPassword", "your password"); SetSystemProperty("https.proxyUser", "your username here"); SetSystemProperty("https.proxyPassword", "your password"); You will also need to set ProxyHost and ProxyPort which are usually set from the IDE. Upvote 0
Find these lines: Code: Copy SetSystemProperty("http.proxyHost", ProxyHost) SetSystemProperty("https.proxyHost", ProxyHost) SetSystemProperty("http.proxyPort", ProxyPort) SetSystemProperty("https.proxyPort", ProxyPort) Add: Code: Copy SetSystemProperty("http.proxyUser", "your username here"); SetSystemProperty("http.proxyPassword", "your password"); SetSystemProperty("https.proxyUser", "your username here"); SetSystemProperty("https.proxyPassword", "your password"); You will also need to set ProxyHost and ProxyPort which are usually set from the IDE.
J J0seluis New Member Jul 12, 2018 #5 I'm sorry but it has not worked. I think I'll download it to another network and then I'll bring the entire folder. Regards. Next the error: java.io.IOException: Failed to authenticate with proxy at okhttp3.internal.connection.RealConnection.createTunnel(RealConnection.java:321) at okhttp3.internal.connection.RealConnection.buildTunneledConnection(RealConnection.java:155) at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:111) at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:196) at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:132) at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:101) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:120) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:179) at okhttp3.RealCall.execute(RealCall.java:63) at anywheresoftware.b4h.okhttp.OkHttpClientWrapper.executeWithTimeout(OkHttpClientWrapper.java:156) at anywheresoftware.b4h.okhttp.OkHttpClientWrapper.access$0(OkHttpClientWrapper.java:153) at anywheresoftware.b4h.okhttp.OkHttpClientWrapper$ExecuteHelper.run(OkHttpClientWrapper.java:201) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) ResponseError. Reason: java.io.IOException: Failed to authenticate with proxy, Response: java.io.IOException: Failed to authenticate with proxy at okhttp3.internal.connection.RealConnection.createTunnel(RealConnection.java:321) at okhttp3.internal.connection.RealConnection.buildTunneledConnection(RealConnection.java:155) at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:111) at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:196) at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:132) at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:101) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:120) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:179) at okhttp3.RealCall.execute(RealCall.java:63) at anywheresoftware.b4h.okhttp.OkHttpClientWrapper.executeWithTimeout(OkHttpClientWrapper.java:156) at anywheresoftware.b4h.okhttp.OkHttpClientWrapper.access$0(OkHttpClientWrapper.java:153) at anywheresoftware.b4h.okhttp.OkHttpClientWrapper$ExecuteHelper.run(OkHttpClientWrapper.java:201) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) ResponseError. Reason: java.io.IOException: Failed to authenticate with proxy, Response: error: java.io.IOException: Failed to authenticate with proxy Java Path: C:\Program Files\Java\jdk1.8.0_171\jre Ha ocurrido un error en la línea: 413 (Main) java.lang.ArrayIndexOutOfBoundsException: 43 at b4j.example.main._parseitem(main.java:2052) at b4j.example.main._parselistresult(main.java:2177) at b4j.example.main$ResumableSub_RefreshList.resume(main.java:864) at anywheresoftware.b4a.shell.DebugResumableSub$DelegatableResumableSub.resumeAsUserSub(DebugResumableSub.java:48) at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:625) at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:237) at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:168) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at anywheresoftware.b4a.BA.raiseEvent2(BA.java:90) at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:94) at anywheresoftware.b4a.BA.raiseEvent(BA.java:77) at anywheresoftware.b4a.shell.DebugResumableSub$DelegatableResumableSub.resume(DebugResumableSub.java:43) at anywheresoftware.b4a.BA.checkAndRunWaitForEvent(BA.java:135) at anywheresoftware.b4a.BA.raiseEvent2(BA.java:84) at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:94) at anywheresoftware.b4a.BA$3.run(BA.java:246) at com.sun.javafx.application.PlatformImpl.lambda$null$172(PlatformImpl.java:295) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl.lambda$runLater$173(PlatformImpl.java:294) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95) at com.sun.glass.ui.win.WinApplication._runLoop(Native Method) at com.sun.glass.ui.win.WinApplication.lambda$null$147(WinApplication.java:177) at java.lang.Thread.run(Thread.java:748) Upvote 0
I'm sorry but it has not worked. I think I'll download it to another network and then I'll bring the entire folder. Regards. Next the error: java.io.IOException: Failed to authenticate with proxy at okhttp3.internal.connection.RealConnection.createTunnel(RealConnection.java:321) at okhttp3.internal.connection.RealConnection.buildTunneledConnection(RealConnection.java:155) at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:111) at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:196) at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:132) at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:101) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:120) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:179) at okhttp3.RealCall.execute(RealCall.java:63) at anywheresoftware.b4h.okhttp.OkHttpClientWrapper.executeWithTimeout(OkHttpClientWrapper.java:156) at anywheresoftware.b4h.okhttp.OkHttpClientWrapper.access$0(OkHttpClientWrapper.java:153) at anywheresoftware.b4h.okhttp.OkHttpClientWrapper$ExecuteHelper.run(OkHttpClientWrapper.java:201) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) ResponseError. Reason: java.io.IOException: Failed to authenticate with proxy, Response: java.io.IOException: Failed to authenticate with proxy at okhttp3.internal.connection.RealConnection.createTunnel(RealConnection.java:321) at okhttp3.internal.connection.RealConnection.buildTunneledConnection(RealConnection.java:155) at okhttp3.internal.connection.RealConnection.connect(RealConnection.java:111) at okhttp3.internal.connection.StreamAllocation.findConnection(StreamAllocation.java:196) at okhttp3.internal.connection.StreamAllocation.findHealthyConnection(StreamAllocation.java:132) at okhttp3.internal.connection.StreamAllocation.newStream(StreamAllocation.java:101) at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.java:42) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67) at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67) at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.java:93) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.java:120) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:92) at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.java:67) at okhttp3.RealCall.getResponseWithInterceptorChain(RealCall.java:179) at okhttp3.RealCall.execute(RealCall.java:63) at anywheresoftware.b4h.okhttp.OkHttpClientWrapper.executeWithTimeout(OkHttpClientWrapper.java:156) at anywheresoftware.b4h.okhttp.OkHttpClientWrapper.access$0(OkHttpClientWrapper.java:153) at anywheresoftware.b4h.okhttp.OkHttpClientWrapper$ExecuteHelper.run(OkHttpClientWrapper.java:201) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) ResponseError. Reason: java.io.IOException: Failed to authenticate with proxy, Response: error: java.io.IOException: Failed to authenticate with proxy Java Path: C:\Program Files\Java\jdk1.8.0_171\jre Ha ocurrido un error en la línea: 413 (Main) java.lang.ArrayIndexOutOfBoundsException: 43 at b4j.example.main._parseitem(main.java:2052) at b4j.example.main._parselistresult(main.java:2177) at b4j.example.main$ResumableSub_RefreshList.resume(main.java:864) at anywheresoftware.b4a.shell.DebugResumableSub$DelegatableResumableSub.resumeAsUserSub(DebugResumableSub.java:48) at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:625) at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:237) at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:168) at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at anywheresoftware.b4a.BA.raiseEvent2(BA.java:90) at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:94) at anywheresoftware.b4a.BA.raiseEvent(BA.java:77) at anywheresoftware.b4a.shell.DebugResumableSub$DelegatableResumableSub.resume(DebugResumableSub.java:43) at anywheresoftware.b4a.BA.checkAndRunWaitForEvent(BA.java:135) at anywheresoftware.b4a.BA.raiseEvent2(BA.java:84) at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:94) at anywheresoftware.b4a.BA$3.run(BA.java:246) at com.sun.javafx.application.PlatformImpl.lambda$null$172(PlatformImpl.java:295) at java.security.AccessController.doPrivileged(Native Method) at com.sun.javafx.application.PlatformImpl.lambda$runLater$173(PlatformImpl.java:294) at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95) at com.sun.glass.ui.win.WinApplication._runLoop(Native Method) at com.sun.glass.ui.win.WinApplication.lambda$null$147(WinApplication.java:177) at java.lang.Thread.run(Thread.java:748)