s32x / ovrstat

:video_game: An Unofficial Overwatch Stats API
https://ovrstat.com
BSD 3-Clause "New" or "Revised" License
99 stars 18 forks source link

Failed to perform lookup #42

Closed SlimShadyIAm closed 5 years ago

SlimShadyIAm commented 5 years ago

Hello, I had no trouble setting up the API the first time I used it. Today I started a new server and tried setting it up again and the response I receive to all requests is "Failed to perform lookup:". The homepage works fine, just lookups don't.

I'm on Ubuntu 18.04 running the latest Docker CE, tried both golang-go and the snap version of Go.

SlimShadyIAm commented 5 years ago

I found a fork of your project on Docker Hub which works without issues, but it's based on an older version of your project and has its own set of bugs. https://hub.docker.com/r/naddison/ovrstat.

Could you maybe have broken something with your update to your image 11 days ago?

naddison commented 5 years ago

@SlimShadyIAm I wouldn't use my image, its old. I am experiencing the same problem you are with the "Failed to perform lookup"

naddison commented 5 years ago

I can't get the build to to work when building the image locally. I am really green at golang, and the change in modules is looping me.

naddison commented 5 years ago

Reverting to https://github.com/s32x/ovrstat/commit/9961bcc460f0492f7a468b398cf6d415c4d85ad8 got me a working image locally.

SlimShadyIAm commented 5 years ago

@SlimShadyIAm I wouldn't use my image, its old. I am experiencing the same problem you are with the "Failed to perform lookup"

Thanks for confirming the issue. I was only using your image because I was migrating servers and needed a temporary working solution. For my project I'm now using a scraper I threw together myself quickly.

Reverting to 9961bcc got me a working image locally.

I suppose this information will be useful to others, seems the developer is currently inactive. Thanks!

s32x commented 5 years ago

Hey sorry, this is a really old bug. I've been very busy since this bug came up but have just gotten around to fixing it. Let me know if you're still having troubles. Feel free to re-open if the problem isn't fully fixed