rhub icon indicating copy to clipboard operation
rhub copied to clipboard

`validate_email` fails

Open warnes opened this issue 5 years ago • 3 comments

validate_email is throwing an error:

> rhub::validate_email()

── Choose email address to (re)validate (or 0 to exit) 

1:    [email protected]
2:    New email address

Selection: 1
No encoding supplied: defaulting to UTF-8.
Error in query("VALIDATE EMAIL", data = list(email = unbox(email))) : 
  rhub error

This occurs using both the CRAN and current github versions of rhub:

> packageVersion("rhub")
[1] ‘1.1.1.9000’

Other Info:

> R.version
               _                           
platform       x86_64-apple-darwin17.0     
arch           x86_64                      
os             darwin17.0                  
system         x86_64, darwin17.0          
status                                     
major          4                           
minor          0.2                         
year           2020                        
month          06                          
day            22                          
svn rev        78730                       
language       R                           
version.string R version 4.0.2 (2020-06-22)
nickname       Taking Off Again   

warnes avatar Oct 08 '20 20:10 warnes

The html POST is returning:

Response [https://builder.r-hub.io/api/check/validate_email]
  Date: 2020-10-08 20:57
  Status: 502
  Content-Type: text/html
  Size: 641 B
<!DOCTYPE html>
<html>
<head>
  <title>We're sorry, but something went wrong (500)</title>
  <meta name="viewport" content="width=device-width,initial-scale=1">
  <style>
  body {
    background-color: #6CABF7;
    color: #fff;
    text-align: center;
...

warnes avatar Oct 08 '20 20:10 warnes

Please try again.

gaborcsardi avatar Oct 08 '20 21:10 gaborcsardi

Working now.

Perhaps it would be worthwhile adding a informative to the error message, say ERROR: rhub server error. Try again later.

On Thu, Oct 8, 2020 at 5:02 PM Gábor Csárdi [email protected] wrote:

Please try again.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/r-hub/rhub/issues/417#issuecomment-705821518, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABO4GX7B3VHKGCMTXAEC6FDSJYSGBANCNFSM4SJH5SOA .

-- "Whereas true religion and good morals are the only solid foundations of public liberty and happiness . . . it is hereby earnestly recommended to the several States to take the most effectual measures for the encouragement thereof." Continental Congress, 1778

warnes avatar Oct 08 '20 21:10 warnes

This issue is about the previous R-hub system, it does not apply to the new system, so I am closing it now. Please see https://r-hub.github.io/rhub/ for the new system, R-hub v2.

gaborcsardi avatar May 09 '24 12:05 gaborcsardi