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

Remove or Replace Go4Cache support #1893

Closed
Lineflyer opened this issue Jul 17, 2012 · 11 comments
Closed

Remove or Replace Go4Cache support #1893

Lineflyer opened this issue Jul 17, 2012 · 11 comments
Labels
Feature Request A request for a new feature/function Refactoring Issues requires code refactoring Website Issues related to the c:geo website

Comments

@Lineflyer
Copy link
Member

It seems the api from go4cache is down since a few days and also the website www.go4cache.com is no longer available.
Some of the users (including me) really miss this feature.

AFAIK the service was offered by a 3rd party (who?).
If this is not only a temporary outage we should think about, what to do with the go4cache implementation:
Is it possible and allowed to take it over to c:geo servers or else remove it from c:geo.

@samueltardieu
Copy link
Member

The go4cache.com domain has not been renewed by its previous owner. He can buy it back during 30 days at a premium price. After that (13 August 2012) the domain can be bought by someone else.

We could offer a similar service to our users, on this domain or on another one. It would not be hard to do.

@Lineflyer
Copy link
Member Author

Is this a crash or does it happen in the background without effect to the user (received in support mail....with another problem as well):

07-18 22:56:45.255  3779  3779 W KeyCharacterMap: Using default keymap: /system/usr/keychars/qwerty.kcm.bin
07-18 22:56:45.355  3779  3792 E cgeo    : Failure 1/5 (java.net.UnknownHostException: api.go4cache.com) (838 ms) - retrying POST http://api.go4cache.com/
07-18 22:56:45.365  3779  3792 E cgeo    : Failure 2/5 (java.net.UnknownHostException: api.go4cache.com) (2 ms) - retrying POST http://api.go4cache.com/
07-18 22:56:45.365  3779  3792 E cgeo    : Failure 3/5 (java.net.UnknownHostException: api.go4cache.com) (1 ms) - retrying POST http://api.go4cache.com/
07-18 22:56:45.365  3779  3792 E cgeo    : Failure 4/5 (java.net.UnknownHostException: api.go4cache.com) (1 ms) - retrying POST http://api.go4cache.com/
07-18 22:56:45.415  3779  3792 D dalvikvm: GC_FOR_MALLOC freed 8482 objects / 424872 bytes in 51ms
07-18 22:56:45.425  3779  3792 E cgeo    : Failure 5/5 (2 ms) POST http://api.go4cache.com/
07-18 22:56:45.425  3779  3792 E cgeo    : java.net.UnknownHostException: api.go4cache.com
07-18 22:56:45.425  3779  3792 E cgeo    :  at java.net.InetAddress.lookupHostByName(InetAddress.java:504)
07-18 22:56:45.425  3779  3792 E cgeo    :  at java.net.InetAddress.getAllByNameImpl(InetAddress.java:278)
07-18 22:56:45.425  3779  3792 E cgeo    :  at java.net.InetAddress.getAllByName(InetAddress.java:242)
07-18 22:56:45.425  3779  3792 E cgeo    :  at ch.boye.httpclientandroidlib.conn.ClientConnectionOperator.openConnection$5238a6d6(DefaultClientConnectionOperator.java:130)
07-18 22:56:45.425  3779  3792 E cgeo    :  at ch.boye.httpclientandroidlib.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:150)
07-18 22:56:45.425  3779  3792 E cgeo    :  at ch.boye.httpclientandroidlib.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:121)
07-18 22:56:45.425  3779  3792 E cgeo    :  at ch.boye.httpclientandroidlib.client.RequestDirector.tryConnect(DefaultRequestDirector.java:575)
07-18 22:56:45.425  3779  3792 E cgeo    :  at ch.boye.httpclientandroidlib.client.RequestDirector.execute(DefaultRequestDirector.java:425)
07-18 22:56:45.425  3779  3792 E cgeo    :  at ch.boye.httpclientandroidlib.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:818)
07-18 22:56:45.425  3779  3792 E cgeo    :  at ch.boye.httpclientandroidlib.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:752)
07-18 22:56:45.425  3779  3792 E cgeo    :  at ch.boye.httpclientandroidlib.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:730)
07-18 22:56:45.425  3779  3792 E cgeo    :  at cgeo.geocaching.network.Network.doRepeatedRequests(Network.java:252)
07-18 22:56:45.425  3779  3792 E cgeo    :  at cgeo.geocaching.network.Network.request(Network.java:214)
07-18 22:56:45.425  3779  3792 E cgeo    :  at cgeo.geocaching.network.Network.postRequest(Network.java:135)
07-18 22:56:45.425  3779  3792 E cgeo    :  at cgeo.geocaching.go4cache.Go4Cache.run(Go4Cache.java:98)

@samueltardieu
Copy link
Member

I think the only risk is to fill up your logs with scary stuff. Why don't you turn on go4cache just to see what it does?

@Lineflyer
Copy link
Member Author

cant do at the moment...but thanks for the information. The user reports continous crashes when using live map approx. 10 seconds after opening it. At the moment his log is only showing this, which made me suspicious.
I asked him to turn go4cache off and try again to get a clue or at least a meaningful log.

@marco-dev
Copy link
Contributor

It would be cool if we could provide this feature for cgeo users.

@SammysHP
Copy link
Member

IIRC we decided to drop go4cache support and move it to a plugin. It would be straightforward to do it now.

@Lineflyer
Copy link
Member Author

IIRC we decided to drop go4cache support and move it to a plugin. It would be straightforward to do it now.

Indeed...there was such an idea because of the google rating...
So the first step would be to remove it from c:geo anyway (because it is no longer working as it was).

@marco-dev
Copy link
Contributor

We need to remove go4cache asap.

@samueltardieu suggested to make an own service. How can we do this? A webservice? Which resources do we have on the server? Php or also Java? MySql?

Who has the knowledge how go4cache worked?

@Bananeweizen
Copy link
Member

This was a surprisingly huge change (in terms of files and lines involved). If we re-introduce something like that again, we should really try to decouple that better.

@mucek4
Copy link
Member

mucek4 commented Aug 26, 2012

Can you merge it to release and I push it to Play.

@Lineflyer
Copy link
Member Author

What does it mean, that this issue is closed after removing of go4cache ?
Shall we create a new issue as a feature request for a replacement or does the majority think it is not needed ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request A request for a new feature/function Refactoring Issues requires code refactoring Website Issues related to the c:geo website
Projects
None yet
Development

No branches or pull requests

6 participants