Welcome to the MapMan Family of Software Forum

Please do not hesitate to register and post your question.

Don't forget to subscribe to your posted message so you get notified on updates.
Every question you post will help others and or enhance the software!

Post a question,   post a bug!

Welcome to the MapMen Family of Software Forum Welcome to the MapMen Family of Software Forum

MapMan Bugs

proxy issues (HTTP1.1/407 error)

proxy issues (HTTP1.1/407 error)
Answer
9/28/09 7:57 PM
There seems to be a problem downloading files through proxy.

With the current version it passes the information as "$username@$hostname" (ie your username @ your hostname) when it should be  "$user:$password"

When I replaced "commons-httpclient.jar" with "commons-httpclient-3.1.jar" and edited the "MapMan.lax" file to include the new jar file the program does pass use the correct form instead of username@host...

However it is passing "username:password" (as in string literal) instead of $username:$password

Re: proxy issues (HTTP1.1/407 error)
Answer
9/29/09 5:02 AM as a reply to Eric W.
Hi Eric,

thanks for testing with the new commons http client.
This seems to be utterly strange.
My first guess is that there are multiple ways of introducing authentication within the commons http client, where we have failed to use the current one. I will have to do some digging on that.

Thanks
Axel

Re: proxy issues (HTTP1.1/407 error)
Answer
9/29/09 6:22 AM as a reply to Eric W.
Hi Eric,

thanks again for testing the jar file. I have to admit that the code concerning the proxy settings badly needed a clean up. It was me who really set the USERNAME,PASSWORD credentials fixed if there were set to some password at all :-[ .
I will send you a preliminary version of the ImageAnnotator 3.0.1RC jar file to test accompanied by a few lines of code so you might spot something fishy if it still does not work.

Axel

Re: proxy issues (HTTP1.1/407 error)
Answer
9/29/09 6:57 PM as a reply to Eric W.
Thanks for the update. I tested it and it works fine.

Re: proxy issues (HTTP1.1/407 error)
Answer
9/29/09 8:56 PM as a reply to Eric W.
Good to have that proxy code verified.
It willl be part of ImageAnnotator 3.0.1 to be released in the end of 10/2009

Axel