Hi Koen,

I'm going to guess now, but: 

String url = "https://firstname%
40mydomain:[email protected]/contacts/categories";

Here it thinks that everything that goes after the colon is the port. That's 
why it says "unacceptable port". When you add a specific port you see 
another error (502 Gateway) because the port is now acceptable but the 
request itself still doesn't seem right.

I believe it's the software that converts the URL in the format you use to 
the *final form plus the authorization header*. It's not the server. That's 
why it might work in a browser or using CURL. It's not guaranteed that this 
particular "IoProvider" does the same thing.

So what you should try to do instead is:
a) use an URL like this "https://secure.solve360.com/contacts/categories";
b) set the authorization header explicitly, using something like this:

options.setHeader("Authorization", Base64.encode("koen%40mydomain.com" + ":" 
+ "securekey"));

(you just need to replace Base64.encode with something real because I don't 
remember how to do it in Java/GWT/Gadgets Env)


-- 
You received this message because you are subscribed to the Google Groups 
"iGoogle Developer Forum" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/Google-Gadgets-API?hl=en.

Reply via email to