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

💬 Report owapi.io API Status issues here #82

Closed
alfg opened this issue Apr 6, 2020 · 17 comments
Closed

💬 Report owapi.io API Status issues here #82

alfg opened this issue Apr 6, 2020 · 17 comments

Comments

@alfg
Copy link
Owner

alfg commented Apr 6, 2020

Please report here if you run into any issues on the hosted API at: https://owapi.io

@alfg alfg pinned this issue Apr 6, 2020
@Shadorc
Copy link
Contributor

Shadorc commented Jun 26, 2020

The API seems down right now, returning "Application error": http://ow-api.herokuapp.com/

@alfg
Copy link
Owner Author

alfg commented Jun 27, 2020

Hi @Shadorc,

That host is no longer in use, please try: https://owapi.io/

@Shadorc
Copy link
Contributor

Shadorc commented Jun 27, 2020

Oh sorry, I forgot. The API was sometimes returning JSON with all fields to null so I checked the first url on the doc' page and it was this linked, I forgot that this is now outdated.

@alfg
Copy link
Owner Author

alfg commented Jun 27, 2020

@Shadorc Ah, good point. I gotta update the hostname on the docs.

Edit: Docs are now updated.

@alfg alfg changed the title Report owapi.io API Status issues here 💬 Report owapi.io API Status issues here Feb 1, 2021
@Shadorc
Copy link
Contributor

Shadorc commented Mar 14, 2021

Hello,
The API seems down: http://owapi.io/profile/pc/us/Jay3-11118, all fields are empty or null

@alfg
Copy link
Owner Author

alfg commented Mar 14, 2021

Hey @Shadorc,

Thanks for the report. I flushed the cache and it seems to be getting results again. There may have been some timeouts.

@Shadorc
Copy link
Contributor

Shadorc commented Mar 14, 2021

Thank you for your quick response!

@Shadorc
Copy link
Contributor

Shadorc commented Mar 22, 2021

Hello,
I'm encountering the same issue, all fields null or empty http://owapi.io/profile/pc/us/Jay3-11118

@alfg
Copy link
Owner Author

alfg commented Mar 22, 2021

Hey @Shadorc,

It seems to be responding with data again. Most likely a timeout on playoverwatch.com again and results were cached for a bit.

@Shadorc
Copy link
Contributor

Shadorc commented Mar 22, 2021

How long are the cached values kept?
Would it be possible to do something like, keep the value in cache, and when refreshing, do not update the last value if it contains only null or empty fields?

@alfg
Copy link
Owner Author

alfg commented Mar 22, 2021

I currently have it set for a TTL of 30min (due to Blizzards rate limiting).

I added a retry mechanism a while back to not cache the results if the parse fails. However, there's probably something I missed in the event of a timeout or non-200 response. I'll check into it again soon.

@TurboSlayer
Copy link

Hello,
I'm encountering the same issue, all fields null or empty http://owapi.io/profile/pc/us/Jay3-11118

It seems to be down again.

@Shadorc
Copy link
Contributor

Shadorc commented May 11, 2021

It has been for a few days now

@alfg
Copy link
Owner Author

alfg commented May 11, 2021

Thanks for reporting. Should be back up now. It was blocked again by Blizzard/PlayOverwatch.com.

@CornellFL
Copy link

Hello, I don't think that the API is working properly. It keeps saying {"message":"Error: Profile not found"} even for the sample url: http://owapi.io/profile/pc/us/Jay3-11118

I am new to programming so it could just be me.

@alfg
Copy link
Owner Author

alfg commented Jun 8, 2021

Hi @Zoltixx,

Yeah, the tests are failing because the Jay3 account seems to give a Profile not found now. I'm not sure why it changed, but I need to update to use another active account for testing.

https://playoverwatch.com/en-us/career/pc/Jay3-11118/ -> Profile Not Found

Other accounts seem to work fine:
https://owapi.io/profile/pc/us/xQc-11273

@CornellFL
Copy link

Hi @Zoltixx,

Yeah, the tests are failing because the Jay3 account seems to give a Profile not found now. I'm not sure why it changed, but I need to update to use another active account for testing.

https://playoverwatch.com/en-us/career/pc/Jay3-11118/ -> Profile Not Found

Other accounts seem to work fine:
https://owapi.io/profile/pc/us/xQc-11273

I just realized that the usernames are case sensitive, I got it to recognize my account. Thanks.

@alfg alfg closed this as completed Feb 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants