marvin icon indicating copy to clipboard operation
marvin copied to clipboard

Authentication API error (first-time user)

Open pgrebolt opened this issue 4 years ago • 4 comments

I am a first-time user of the Marvin feature. I have been following the Getting started guide provided to create my first program in Python and successfully compiled it. Later on, after a few times of using it, I get the following error when calling for a Map or Cube giving its plateifu: found a problem when checking if remote maps exists: API Authentication Error: Please check your authentication method.. In this case, this error prompted at the line where I wrote: my_cube = marvin.tools.Maps(plateifu='8950-9101', mode='remote').

Due to my lack of experience, I do not know where this issue may come from. I have looked at SDSS web and I think I should sign up to use the Marvin feature, but I am not sure about that or how can I do it. I have added at the beginning of my code some lines I found at de SDSS web on the config class, but again I do not know how to work with them. I ask for anyone who could explain me step by step what should I do in order to use Marvin in my computer. Thank you in advance!

pgrebolt avatar Aug 08 '20 12:08 pgrebolt

Hi @ploberg, we're glad you're getting started with Marvin. If Marvin was working for you recently but stopped working in the last few weeks, it is because the database and web have been down for maintenance and repair. Things should be back up soon. That might be the cause of the errors you are seeing. Are you a member of the SDSS collaboration? If not, we normally have public access to the data available, but the public access for remote tools might be down right now until our servers are back up and running. You should still be able to access the web at https://dr15.sdss.org/marvin. We have the site re-directing to a mirror.

What data release of MaNGA are you attempting to access? In your code, what does config.release say? In your code, what does config.access say?

havok2063 avatar Aug 08 '20 13:08 havok2063

Thank you for answering! I am not a member of the SDSS collaboration, so I understand I do not have to register anywhere. I found it strange because just a week ago I could work with Marvin and had any problem, but now I've had this trouble. Regarding what you said, the reason my code does not work is not my fault, but the server being down, so I should expect it to run without misbehavings in the next few days. Should I have understood wrong, correct me, please.

My data release is DR15 accessing as public, according to my code.

pgrebolt avatar Aug 08 '20 14:08 pgrebolt

@ploberg ok, yes you haven't done anything wrong. You do not need to register anywhere. The issue is we're still actively doing maintenance on Marvin and the database. You can still access the web version of Marvin. I will look into getting the public version of the tools back up and running in some form in the short term. Thanks for your patience.

havok2063 avatar Aug 17 '20 19:08 havok2063

@ploberg The database is back up and running. If you update your marvin package to the latest version, 2.5.0 all the public access should be sorted. Can you try again and let me know if things work for you?

havok2063 avatar Sep 08 '20 18:09 havok2063