Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Are the WOF endpoints working? #379

Closed
SRGDamia1 opened this issue Apr 24, 2019 · 13 comments
Closed

Are the WOF endpoints working? #379

SRGDamia1 opened this issue Apr 24, 2019 · 13 comments

Comments

@SRGDamia1
Copy link
Member

The WOFpy endpoints seem to have cut out in January. That's the last time the CUAHSI WDC was able to index us. The last time the dataset indices in TSA was updated was also in January.. though the actual data available on TSA is roughly current.

@aufdenkampe
Copy link
Member

aufdenkampe commented Apr 25, 2019 via email

@aufdenkampe
Copy link
Member

@SRGDamia1, this is not related to our issues with sparkline plots and TSA, as WOFpy interacts directly with the ODM2 database in PostgreSQL.

@aufdenkampe
Copy link
Member

@SRGDamia1
Copy link
Member Author

Doesn't TSA get its data from WOFpy?

@aufdenkampe
Copy link
Member

aufdenkampe commented May 16, 2019

TSA originally did get it's data from WOFpy/WaterML1.1, but because that was so slow, USU decided to implement InfluxDB.

TSA now gets all its data values from InfluxDB, and it uses a separate tsa_catalog schema in PostgreSQL for its metadata. That tsa_catalog DB gets populated from the ODM2 schema using a Django command.

@SRGDamia1
Copy link
Member Author

So many broken pieces...

@aufdenkampe
Copy link
Member

aufdenkampe commented May 16, 2019

Yes...
I think we found the issue. We found this [need to open port 8080] in the WOFpy code, but it was missing from the server config info that we received in January.

@emiliom
Copy link
Member

emiliom commented May 18, 2019

I think we found the issue. We found this in the WOFpy code, but it was missing from the server config info that we received in January.

I assume that by "this" you mean the port 8080 issue ...

(from your email) I looks like opening port 8080 didn't fix it on it's own. See https://github.com/LimnoTech/ODM2DataSharingPortalConfig/issues/11

It seems like we need to start the service or something, but I'm not sure how to do that. If you could help us, that would be great. We would then add those commands to our startup shell script(s).

Ok. I'll start looking into it on Monday or Tuesday. Where do you want me to track progress and follow up? On this issue / repo, or on the private one at https://github.com/LimnoTech/ODM2DataSharingPortalConfig?

@aufdenkampe
Copy link
Member

@emiliom, yes, I was referring to our need to have port 8080 open for WOFpy on the web servers. As I mentioned in my email, we fixed that, but that alone didn't fix it.

Let's move the conversation over the issue in our private repo at https://github.com/LimnoTech/ODM2DataSharingPortalConfig/issues/11, as that's where we're describing the gory details of our deployment.

@aufdenkampe
Copy link
Member

Quick update: @emiliom has deployed a clean, updated version of WOFpy on our development servers at https://staging.monitormywatershed.org/wofpy/.

It's ready for testing!

@emiliom
Copy link
Member

emiliom commented Jul 29, 2019

Any reason to keep this issue open, when we have this one:
https://github.com/LimnoTech/ODM2DataSharingPortalConfig/issues/12
That's where I've been reporting my progress and documenting findings.

Not sure it's worth anyone's time to test that WOFpy endpoint right now. We pretty much know the answer already: the service is up, but most requests end in time outs.

@aufdenkampe
Copy link
Member

@emiliom, thanks for that summary of where we're at.
I agree that we should close this issue and work on the performance improvements elsewhere.

@emiliom
Copy link
Member

emiliom commented Jul 29, 2019

This issue was about WOFpy not working at all on the EnviroDIY server, not performance per se. Getting WOFpy working again was/is the focus of https://github.com/LimnoTech/ODM2DataSharingPortalConfig/issues/12

I agree that we should close this issue and work on the performance improvements elsewhere.

See ODM2/WOFpy#228, where I tracked past discussions and issues previously brought up. It doesn't look like I ever opened a follow up, more specific issue on performance improvements within https://github.com/ODM2/ODM2DataSharingPortal or https://github.com/LimnoTech/ODM2DataSharingPortalConfig. I can do that later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants