ropensci / rppo

R package for accessing PPO data store
https://docs.ropensci.org/rppo
BSD 3-Clause "New" or "Revised" License
3 stars 5 forks source link

Error 502 #7

Closed yiluansong closed 1 year ago

yiluansong commented 4 years ago

Hi John,

I was trying to run the vignette but received the following error message:

sending request for data ... https://www.plantphenology.org/api/v2/download/?q=%2Bgenus:Quercus+AND+%2BtermID:"obo:PPO_0002313"+AND+%2Byear:>=2013+AND+%2Byear:<=2013+AND+%2BdayOfYear:>=100+AND+%2BdayOfYear:<=110+AND+source:USA-NPN,NEON&source=latitude,longitude,year,dayOfYear,termID&limit=10 Ooops! The server encountered an issue processing your request and returned status code = 502 . If the problem persists contact the author.

I've been having this issue for quite a few days. Could you please help out? Thank you!

Best, Yiluan

jdeck88 commented 4 years ago

There was an issue with the download service endpoint on the plantphenology portal. i restarted the service and it appears to be working normally now.

John

On Wed, Oct 23, 2019 at 12:14 AM yiluansong notifications@github.com wrote:

Hi John,

I was trying to run the vignette but received the following error message:

sending request for data ...

https://www.plantphenology.org/api/v2/download/?q=%2Bgenus:Quercus+AND+%2BtermID:"obo:PPO_0002313"+AND+%2Byear:>=2013+AND+%2Byear https://www.plantphenology.org/api/v2/download/?q=%2Bgenus:Quercus+AND+%2BtermID:%22obo:PPO_0002313%22+AND+%2Byear:%3E=2013+AND+%2Byear :<=2013+AND+%2BdayOfYear:>=100+AND+%2BdayOfYear:<=110+AND+source:USA-NPN,NEON&source=latitude,longitude,year,dayOfYear,termID&limit=10 Ooops! The server encountered an issue processing your request and returned status code = 502 . If the problem persists contact the author.

I've been having this issue for quite a few days. Could you please help out? Thank you!

Best, Yiluan

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ropensci/rppo/issues/7?email_source=notifications&email_token=AAIZ3RKXAYSPKACGLSNHCDDQP72T5A5CNFSM4JD45PTKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HTXES2A, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIZ3RPNAX32LPE3E2RSWDTQP72T5ANCNFSM4JD45PTA .

-- John Deck (541) 914-4739

yiluansong commented 4 years ago

Hi John,

Thank you so much! I can indeed download some of the data normally now, but I still sometimes get error 504. Is it because the amount of data I download is too much? Thanks!

Best, Yiluan

jdeck88 commented 4 years ago

It could be... also, i'm currently researching an issue with the DNS nameserver that this server is pointing to which has caused some issues recently. I hope to get that resolved soon.

John

On Wed, Oct 23, 2019 at 11:47 AM yiluansong notifications@github.com wrote:

Hi John,

Thank you so much! I can indeed download some of the data normally now, but I still sometimes get error 504. Is it because the amount of data I download is too much? Thanks!

Best, Yiluan

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ropensci/rppo/issues/7?email_source=notifications&email_token=AAIZ3RNVYBYDWTVYFJSR5JLQQCL5ZA5CNFSM4JD45PTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECCPG7Q#issuecomment-545583998, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIZ3RPMP4HZNNDN7YRLAZDQQCL5ZANCNFSM4JD45PTA .

-- John Deck (541) 914-4739

yiluansong commented 4 years ago

Hi John,

Hope it's not me that caused the problem. Please let me know if you need me to provide my IP. If you can inform on how much data I can download a time, that would help me a lot. Thanks!

Yiluan

jdeck88 commented 4 years ago

I don't think it has anything to do with the download size -- so not to worry...

John

On Wed, Oct 23, 2019 at 3:51 PM yiluansong notifications@github.com wrote:

Hi John,

Hope it's not me that caused the problem. Please let me know if you need me to provide my IP. If you can inform on how much data I can download a time, that would help me a lot. Thanks!

Yiluan

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ropensci/rppo/issues/7?email_source=notifications&email_token=AAIZ3ROF2BADJRPLYLDEBVLQQDIPVA5CNFSM4JD45PTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECDD6DY#issuecomment-545668879, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIZ3RP45SVKRFVYG7R42HTQQDIPVANCNFSM4JD45PTA .

-- John Deck (541) 914-4739

sverhoeven commented 1 year ago

Currently visiting http://plantphenology.org/ shows zero results. Opening https://biscicol.org/api/v1/query//ppo/_search?size=15&from=0 in a new tab gives 502 Bad Gateway error. It looks like whatever (elasticsearch?) nginx is reverse proxying is down. Could you have a look?

jdeck88 commented 1 year ago

restarted a service.... things working again....