Hi,
I tried to register an account through the admin interface and got the error message 'Your submission was rejected by the iCopyright servers.' I went through the code and observed that the process is done using cURL with POST and response received as XML and in case any HTTP status other than 200 is received this message is returned.

The error message seems to be misguiding as the submission might fail due to variety of factors ranging deployment environment to service downtime.

Hence I request you to let me know if the service is down currently?

Also on the larger picture i request you to assign error messages based on the HTTP response status as returning this error message when the service is down seems unacceptable and misguide people who are unfamiliar with coding.

Thanks!!

Comments

Jonathan Peterson’s picture

Assigned: Unassigned » Jonathan Peterson

Agreed that the response messages could be better. A worthy suggestion; I'll take a look and see if we can improve them.

Regarding the service being down -- it's taken down now and again for very short periods, for maintenance and so on.

bavarian’s picture

Using the Drupal7 version but getting the same error message saying "Your submission was rejected by the iCopyright servers."

Not much fun to get stuck already in sign-up process ....

Jonathan Peterson’s picture

I checked the server logs -- actually your registration did go through, bavarian. But the response was obviously not being handled properly by the module... not sure how I made this mistake, but the wrong version of the admin page was packaged in the 7.x-1.0 build. I retagged and released 7.x-1.1, which now has the correct code. Sorry for the goof.

No need to reregister -- you can take the publication ID from the welcome email and put it in the advanced settings tab manually.

(FYI I am backporting many of these changes to the D6 version and hope to get a release out shortly, so I'm leaving this issue in the 6.x section.)

bavarian’s picture

thank you ... i updated to 7.x-1.1 and everything seems to work like a charm now !

Jonathan Peterson’s picture

Status: Active » Closed (fixed)

Version 6.x-1.5 has much better diagnostics: the curl or HTTP response codes are logged to the watchdog on non-success. Closing as fixed.