openml / openml-r

R package to interface with OpenML
http://openml.github.io/openml-r/
Other
95 stars 37 forks source link

Server is down #422

Closed BayanIbra closed 5 years ago

BayanIbra commented 5 years ago

API call failed. The OpenML server 'http://www.openml.org/api/v1' is currently not available, try again later.

When it is gonna be available?

giuseppec commented 5 years ago

For me it's working. Which function did you execute?

BayanIbra commented 5 years ago

v[i]=listOMLRunEvaluations(flow.id=i, limit=10000, )

giuseppec commented 5 years ago

Still working for me. Did you check if you can access the internet directly from your current R session? Please check the following: 1) Try to restart your computer and check your internet connection. 2) Does this work in your browser https://www.openml.org/api/v1/json/evaluation/list/flow/1/limit/10 3) What is the R output if you execute this:

library(httr)
GET("https://www.openml.org/api/v1/json/evaluation/list/flow/1/limit/10")

4) What is the R output if you execute this:

library(OpenML)
listOMLRunEvaluations(flow.id=1, limit=10)
BayanIbra commented 5 years ago

I restarted the session and added the libraries, but still not working. The link shows API code! This is the error I get on RStudio Downloading from 'http://www.openml.org/api/v1/json/run/list/task/59' to ''. Error in doHTTRCall(method, url = url, query = list(api_key = conf$apikey), : API call failed. The OpenML server 'http://www.openml.org/api/v1' is currently not available, try again later.

janvanrijn commented 5 years ago

Please be advised to change http into https

janvanrijn commented 5 years ago

Also add a tailing slash to the API url?

@joaquinvanschoren did anything change with the redirects recently?

giuseppec commented 5 years ago

Ah, thanks @janvanrijn it's a http problem. @BayanIbra Do this: saveOMLConfig(server = "https://www.openml.org/api/v1", overwrite = TRUE) and try agian, I bet it will work then.

BayanIbra commented 5 years ago

It worked. Thanks

giuseppec commented 5 years ago

@janvanrijn, @joaquinvanschoren will you fix the redirecting issue? And will this redirecting continue to exist in the long run? If yes, then everything is fine. Otherwise, we may need to do something about this since several people will probably have http in their configuration file.

joaquinvanschoren commented 5 years ago

Fixed. There was a trailing '/' missing in the http->https redirection on the new server (we switched yesterday).

Cheers, Joaquin