QBWC1048

j_ten_man - November 21, 2008 - 21:16
Project:Quickbooks API
Version:6.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed
Description

I get this error when I try to add a new web service:

QBWC1048: Quickbooks Web Connector could not verify the web application server certificate

QBWC1051: The new application was not added

I have dug in to this a bit to see if I could find why this might be an issue. We have a valid SSL certificate and it is signed and so forth so that isn't the issue. I think may have to do with this, but I am not sure:
http://idnforums.intuit.com/messageview.aspx?catid=56&threadid=9080&high...
Anyways, do you know anything about this or how I can work around it?

#1

j_ten_man - November 22, 2008 - 21:36

OK. I had to output html when I was adding the qwc file to the web-connector. After that, I just removed the HTML output and it worked. This is weird that QB did this.

#2

hvitebjorn - January 8, 2009 - 00:03

I have the same problem - can you give some more details about how you solved it? Not sure what you mean that you had to output html when adding the qwc file.

#3

hvitebjorn - January 8, 2009 - 00:23

Never mind, figured it out. Problem is that the drupal site returns an error when the web connector is testing the connection, since the drupal site expects some SOAP parameters which are not received. If anyone else has the same problem, this is what you can do:

(1) Set web connector URL to something different than what you really want to use.
(2) Create a Page using the URL alias to what you actually want to use for the web connector. This makes sure that drupal returns some content (and not an error) to the web connector.
(3) Add your qwc file to the web connector.
(4) Delete or unpublish the Page you created for (2) above.
(5) Set the web connector URL back to what you want it to be.

#4

Allie Micka - February 9, 2009 - 21:27
Version:<none>» 6.x-1.x-dev

Is someone able to provide / recommend an actual patch for this?

#5

grandmaster - March 4, 2009 - 01:36

hey, getting the same errors, tried what you said, followed the steps, but no change... any suggestions??? thanks in advance!

#6

j_ten_man - March 4, 2009 - 23:15

Whose suggestions did you follow? I have never had a problem to just change the output of the page to be regular html and then change it back once the web connector has verified the site.

#7

grandmaster - May 21, 2009 - 14:10

i tried following comment #3, but it didn't work. perhaps i didn't understand it... it's not really that clear... any suggestions? is there a simpler or clearer way to explain it?

#8

higherform - July 15, 2009 - 13:21

If I remember correctly, we were able to solve the QB1048 error simply by temporarily setting "anonymous user" to having the "access qbwc" permission set in Drupal 6.x . Hope that helps.

#9

Allie Micka - August 3, 2009 - 00:08
Status:active» fixed

hvitebjorn is correct - the validation step is not a soap request, which means it gets an error, and thus it fails on validating the cert. I've updated the code in the callback to detect this and return a valid- but empty - request under these circumstances.

#10

System Message - August 17, 2009 - 00:10
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.