What does NSPOSIXErrorDomain mean (iPhone)? - iphone

I am trying to use the ASIHTTPRequest libraries to simulate a form post and gather the resulting cookies; however, when I am running the post, I get an error. I have traced through the request and narrowed it down to a NSPOSIXErrorDomain error. The site I am trying to connect too is an HTTPS: site and this error makes me think it has something to do with that. Does anyone have any helpful insight they would be willing to share with this iOS rookie? Thanks!

Solved: Developed a different workaround. Still don't know what was causing this.

Related

Apigee Error - com.google.common.util.concurrent.UncheckedExecutionException

I need help to identify this error, over the last couple days my API hasn't been fully operational and one of the errors that occur is:
com.google.common.util.concurrent.UncheckedExecutionException
This is the response from the PHP Apigee Library.
When Googling it, I found something related to the Guava library but I am clueless about what this is. Can anybody help to identify this?
Many thanks

Does History.back() work in a GWTTestCase?

Does History.back() work in a GWTTestCase?
I have tried verifying the current token immediately after History.back() call and also after a delay using a Timer but it doesn't seem to change. The onValueChange() method doesn't seem to be called either.
I did a Google search for the issue and found a few posts that suggest others have experienced a similar problem but some are dated 2010. I did find one post where Thomas Broyer responded to one person that he observed the same but I am unable to find that post again.
Has anyone had success in testing code involving History.back() from GWTTestCase? If so, I am most likely doing something wrong. If it is a known issue or intended behavior I would appreciate knowing that so that I don't spend any more time on this.
Judging by GWT's own tests, it should work, but maybe has quirks.

Widget API accepts clean friendly URLs

In the past the widget HTML5 player API was not accepting sound clean friendly URLs,
only with a track ID.
But now when I try it, it seems that it does works fine, but I don't see it mentioned anywhere in the official blog or something.
So my question is: is it safe to use it please?
Using:
http://w.soundcloud.com/player/?url=http://soundcloud.com/user-name/track-name
Instead of:
http://w.soundcloud.com/player/?url=http://api.soundcloud.com/tracks/13692671
And also if you got any status of fixing the serious bug where the events are not firing, I will love to know please.
The events should be all firing properly now.
Yes, you can use friendly URLs, however, as we have to resolve them on our side, initial load of the widget will be a tad slower. So for the faster loading it is still recommended to use API URLs.

Unexpected redirection from TranslateThis button to google translate engine

I am using TranslateThis (http://translateth.is/), a well-known API to translate webpages. It always worked very well, but lately, the requests are redirected to the google translate. The url of the referred redirection is something like http://translate.google.com/translate?sl=auto&tl=en&u=http://mywebsite.com. Do you have any idea why is this happening? I would appreciate a tip.
Solved!
They have an automatic system to catch sites that abuse their system. My site was caught on that, but this time was a mistake. They get me a manual override on their system to prevent future redirections.
Best regards

send request with gwt to a different domain

Is there a way I can make a request to a different server than the one that's being used for development using a RequestBuilder?
I keep getting
com.google.gwt.http.client.RequestPermissionException: The URL
http://127.0.0.1:4321/getSellers is invalid or violates the same-origin
security restriction
while I am sending request from 127.0.0.1:8888
GWT currently doesnt support cross domain ajax calls - but it can be worked around if you are willing to do a bit of jsni. And I heard a rumour some time ago that there is a gwt patch with the solution, but its not perfect. see this http://groups.google.com/group/Google-Web-Toolkit-Contributors/browse_thread/thread/94c18c4ec158070c/
to work around using jsni, you can use whats called the windows.name transport - see this blog http://www.sitepen.com/blog/2008/07/22/windowname-transport/ . i havent been able to locate a library for gwt to automate this, but i dont think its too hard to do yourself in jsni (and dont me misled by the blog being about dojo, its a general technique).
There is a detailed explanation on the topic of the Same Origin Policy and its consequences for developing with GWT here:
http://code.google.com/p/google-web-toolkit-doc-1-5/wiki/FAQ_SOP
The simple answer is: No, that's something that is disallowed for security reasons.
However, it should be possible to work around this limitation with all kinds of techniques (proxy servers, Yahoo Pipes, etc). As I'm no AJAX expert, I will leave the explanation of those to others.