xml rpc request error - iphone

In iphone I try to connect I am getting the following error:
Content-Type must be 'text/xml,' 'multipart/*,' 'application/soap+xml,' 'or 'application/dime' instead of 'text/xml,application/xml'
It connects to many bugzilla sites but for one bugzilla site it gives me the above error.
Kindly help me out.
Thanks

Related

Why I have 403 error ONLY when I am using BurpSuite?

during pentesting SOME site I have faced with file upload errors. It is 403 error Forbidden but the most interesting thing lies in the fact it is happening ONLY when I use burp proxy.
When I am uploading passport/id document as a usual way(withou Burp Suite) - No error. 200 OK.
When I am uploading with Burp Suite - 403 Error.
P.S.: Other site functionality/APIs work properly when I use Burp Suite
I have no idea why this 403 error occurs. Is this a bug or a kind of "protection"?
Then you don't have the authorization to set up a proxy in your OS.
I guess you are using your corporate laptop. Try to change you network settings in your browser. If they are grey out then your organization has blocked that for you ( Bgroup rules).
I faced the same issue exactly and this was the problem.
Hope that helps.

Email/Password Authentication Mongodb-stitch Android API

This seems to be on a very new topic because the "stitch" or "mongodb-stitch" tags do not exist yet.
I have a mongodb altas cluster on cloud.mongodb.com. The page https://docs.mongodb.com/stitch/auth/email-auth/ only teaches how to do things with JS but I don't have server side JS on hand. Instead I tried to figure out how to do things with the StitchClient on the Android API.
I was able to register an email/password pair using StitchClient.register(email,pwd) and got an email from no-reply+stitch#mongodb.com with the token/tokenId. I copied them and used StitchClient.emailConfirm(token, tokenId) but failed. The error was:
Unexpected response code 404 for https://stitch.mongodb.com/api/client/v1.0/app/APP-ID/auth/local/userpass/confirm
which sounds strange! I opened a browser and paste that in the URL and got 404 too. I even did
curl --data "token=432...345&tokenId=435..334" https://stitch.mongodb.com/api/client/v1.0/app/APP-ID/auth/local/userpass/confirm
and still got 404.
Is this a bug or an outage of the stitch.mongodb.com server?

Troubleshooting QuickBooks Web Connector issue

Try to troubleshooting QuickBook's Web Connector by following helping URL: Click Me. When I try to Add an application into Web connector getting following error: "QBWC1048: QuickBooks Web Connector could not verify the web application server certificate. QBWC1051: The new application was not added"
QuickBook throws the 1048 error because it is unable to complete a GET request at the AppURL that specified QBFS.qwc file. This is because test.developer.intuit.com restricts GET requests via the SOAP API.
To get around this, include a parameter in the .qwc file, and set it to the same value as your AppURL without the URL path.
For example, if your AppURL is https://mycompany.cs1.force.com/services/Soap/class/myApiClass, then set CertURL to https://mycompany.cs1.force.com.
This is the solution suggested by the QBWC log file, and it worked for me.
Reference URL
I found I had this problem because my software was trying to load the file
http://developer.intuit.com/uploadedFiles/Support/QBWebConnectorSvc.wsdl
which no longer exists. :(
So I got a WSDL from
https://test.developer.intuit.com/QBWC/TroubleshootWebServiceFS/Service.asmx?wsdl
and put it in my Site's root directory, then changed my code to point there, and it worked.

PowerShell:Download a file from URL with 257 chars and 404 returned

I tried to download a file from a url which has 257 characters,but the following error is returned:
Exception calling "DownloadFile" with "2" argument(s): "The remote server returned an error: (404) Not Found."
When I copy the URL to firefox or IE, I can download that file. then I tried to download a file from the same website but whose URL is short, I can download it successfully with Powershell.
Does anybody find the similar issue before? Could you pls share how to solve it?
Thanks a lot.
I recently faced the exact same issue and this is how I resolved it. Thought it would help someone who comes to this thread later.
In my case, the reason for the exception was incorrect URL due to a parameter I added to the URL. Something like this:
https://yourserverurl/archive-$OS.zip
I was using a parameter in the URL for the Operating System. And I was getting the $OS argument wrong.
Therefore, the two reasons I can think of when this error occurs:
The file cannot be downloaded without authentication. But that would probably throw a 401.
The URL is incorrect. Maybe due to some parametrization as in my case.
Hope this helps!

Working on Twilio iOS SDK

Is anybody here who have ever worked on Twilio iOS SDK Client.
Actually i am running one of the Twilio SDK Examaples. and i am getting weired Error.
i put my auth.php and Helper Libraries and basic-call.pnh files onto my Local Server but when i tried to connect it through my application from iPhone it gives me the following error:
2012-01-24 14:11:26.694 HelloMonkey[5346:7403] Error establishing connection due to error: Status Code domain: TwilioHTTPErrorDomain code: 487
2012-01-24 14:11:29.677 HelloMonkey[5346:7403] Error establishing connection due to error: Status Code domain: TwilioHTTPErrorDomain code: 408
These errors occurs after 5 - 10 minutes after my connection successful.
Also i am not hearing any response from basic-call.php.
My Basic call.php has simple code that says "Welcome to Twilio Client". But its not saying it.
Can any body help.
Thnaks
Twilio Client Mobile suffered a short outage around the time that your question was asked. Can you please try running your code again and see if you get the same error?
Kevin
Check out whether the VoiceURL in your application setting page of Twilio points to basic-call.php.Whatever URL mentioned under VoiceURL only twilio attempts to call.