![]() |
|
|||||||
| Development Help Help for building applications or diagnosing problems with WWJ |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Guest
Posts: n/a
|
I'm trying to change the proxy at runtime by calling:
Configuration.setValue(AVKey.URL_PROXY_H OST, proxy); Configuration.setValue(AVKey.URL_PROXY_P ORT, port); Before I set this, WorldWind tries retrieving tiles but is unable to because the proxy is not set. Once I do set the proxy, the retriever still tries to retrieve values as though the proxy wasn't set (trying to contact the server directly, rather than going through the proxy). If I start worldwind with the proxy set, then remove the keys above, it immediately starts trying to retrieve tiles without using the proxy. Any suggestions? Thanks! |
|
|
|
#2 |
|
WWJ Technical Manager
Join Date: May 2007
Location: Seattle
Posts: 1,041
![]() |
As far as I can tell, the WW proxy code appears to be working. You could try setting those Configuration values in the worldwind.xml file or immediately as your program starts (before calling and WW methods), but you shouldn't need to do that.
Can anyone who is using proxies in WW verify that they are working? |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Jul 2012
Posts: 5
![]() |
I've been using them, and they're working fine. I've set them the same way you described above while the program is running (I allow the user to enter the details manually), and I've also used
Code:
System.setProperty("java.net.useSystemProxies", "true");
EDIT: Are you also setting the "AVKey.URL_PROXY_TYPE" key? Code:
Configuration.setValue(AVKey.URL_PROXY_TYPE, "Proxy.Type.Http"); |
|
|
|
![]() |
| Tags |
| None |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| WW1.3.2-Plugin: Layer Edit | canosso | Add-ons & Scripts | 21 | 02-27-2010 04:37 AM |
| connecting to server | fleak | Technical Support | 4 | 08-11-2009 09:37 PM |
| Small change enables automatically using authenticating proxy | Mark Gray | Developers' Corner | 1 | 01-20-2009 03:04 AM |
| Proxy problems with one-way satellite broadband? | jem | Technical Support | 8 | 09-30-2006 07:32 PM |
| Help improve HTTP proxy support | gilles | Technical Support | 23 | 07-27-2005 09:30 PM |