AccessControlException making request to approved external host.

Hi guys,
I’m attempting to consume the twitter API from a hosted service I’m writing. I was seeing this error prior to requesting access to and receiving approval for https://api.twitter.com and was not having issues with it until a few minutes ago.
{
“code”: 14004,
“message”: “Service invocation failed: weborb.exceptions.ServiceException: java.security.AccessControlException: access denied (“java.net.SocketPermission” “199.16.156.72:443” “connect,resolve”)ServiceException”
}

Any help you can provide is appreciated.
Thanks!

-Ian

Hi Ian,

Do you connect to Twitter using IP address or the hostname?

Regards,
Mark

Mark,

Hostname: https://api.twitter.com

Thanks. Could you please check if changing to http:// would make any difference? Meanwhile, we’re checking on our side.

Mark,
The request is failing for http:// as well as https:// with the same exception thrown.
{
“code”: 14004,
“message”: “Service invocation failed: weborb.exceptions.ServiceException: java.security.AccessControlException: access denied (“java.net.SocketPermission” “199.16.156.231:80” “connect,resolve”)ServiceException”
}

Thanks for your help, Ian. We’re looking into the problem.

Mark,

Only with hostname. Attempting to connect to api.twitter.com via http:// and https://

Yes, we’re investigating that very use-case.

Thanks Mark!

Hi Ian,

Could you please try it again? (with both http:// and then https://).

Regards,
Mark

Hi Mark,
Still receiving the same error with both http:// and https://

Please try it one more time.