[Spaceapi-devel] SpaceAPI endpoint cache: CADR hackerspace cache is not updating

Artyom Poptsov poptsov.artyom at gmail.com
Thu May 28 10:22:03 CEST 2015


Hello everybody,

I tried to find a SpaceAPI user mailing list, but it seems that there's
only the mailing list for developers -- however feel free to point me
out to the right place to ask the questions below if this mailing list
is not appropriate for them.

Anyways, our hackerspace (CADR) is using SpaceAPI, but as far as I can
tell our endpoint cache on spaceapi.net hasn't been updated for more
than a week -- probably since 2015-05-08 (as one could tell from our
Spaceapi Statistics). [1]  At the same time I know that we definitely
were opened several times during this period.

Here's the actual information from our endpoint:

--8<---------------cut here---------------start------------->8---
$ curl http://cadrspace.ru/status/json
{"api":"0.13","space":"CADR","logo":"http:\/\/cadrspace.ru\/w\/skins\/common\/images\/cadr.png","url":"http:\/\/cadrspace.ru","location":{"address":"aud. 054, b. 6, Studentcheskaya st., Nizhny Novgorod, Russian Federation, 603950","lon":43.988235,"lat":56.302663},"spacefed":{"spacenet":false,"spacesaml":false,"spacephone":false},"contact":{"twitter":"@cadrspace","irc":"irc:\/\/chat.freenode.net\/##cadr","ml":"cadr-hackerspace at googlegroups.com","issue_mail":"poptsov.artyom at gmail.com"},"cam":["http:\/\/nntc.nnov.ru:58080\/?action=stream"],"issue_report_channels":["issue_mail","ml"],"state":{"open":true},"projects":["https:\/\/github.com\/cadrspace"],"cache":{"schedule":"m.02"}}%
--8<---------------cut here---------------end--------------->8---

And here's the actual information from the cache:

--8<---------------cut here---------------start------------->8---
$ curl http://spaceapi.net/cache/CADR
{"api":"0.13","space":"CADR","logo":"http:\/\/cadrspace.ru\/w\/skins\/common\/images\/cadr.png","url":"http:\/\/cadrspace.ru","location":{"address":"aud. 054, b. 6, Studentcheskaya st., Nizhny Novgorod, Russian Federation, 603950","lon":43.988235,"lat":56.302663},"spacefed":{"spacenet":false,"spacesaml":false,"spacephone":false},"contact":{"twitter":"@cadrspace","irc":"irc:\/\/chat.freenode.net\/##cadr","ml":"cadr-hackerspace at googlegroups.com","issue_mail":"poptsov.artyom at gmail.com"},"cam":["http:\/\/nntc.nnov.ru:58080\/?action=stream"],"issue_report_channels":["issue_mail","ml"],"state":{"open":false},"projects":["https:\/\/github.com\/cadrspace"],"cache":{"schedule":"m.02"}}%
--8<---------------cut here---------------end--------------->8---

As you can see, "open" is set to 'true' in our endpoint, but cached
endpoint still says that we're closed.  Our cache schedule is set to 2
minutes so clearly the cache should be already synchronized with the
endpoint.

Probably the problem is on our side -- in this case I'd love to hear any
tips on how to debug that.  Or, if the problem is in caching itself then
I can provide additional information on our endpoint configuration if it
is needed.

In any case I'd like to thank you for such a useful service as SpaceAPI
is.

With the best regards,

- Artyom

[1] http://spaceapi-stats.n39.eu/#cadr

-- 
Artyom V. Poptsov <poptsov.artyom at gmail.com>;  GPG Key: 0898A02F
Home page: http://poptsov-artyom.narod.ru/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 472 bytes
Desc: not available
URL: <http://lists.hackerspaces.org/pipermail/spaceapi-devel/attachments/20150528/fef3e299/attachment.pgp>


More information about the Spaceapi-devel mailing list