-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
ECONNRESET with organisation ID 891? #14
Labels
Comments
Can't reproduce. It looks like a network issue. const {counters: fetchCounters} = require('eco-counter-client')
const [counter] = await fetchCounters(891)
console.log(counter) {
id: '200000071',
name: 'Saint_Colombier',
url: '',
coordinates: { latitude: 47.54806, longitude: -2.71873, country: 'fr' },
organisation: { id: 891, name: 'Vélo & Territoires' },
count: 17481,
periodStart: 2013-01-01T00:00:00.000Z,
periodEnd: 2019-12-31T00:00:00.000Z,
instruments: [ 201000071, 202000071 ],
photos: [
'https://www.eco-visio.net/Photos/100006551/13545305536280.jpg',
'https://www.eco-visio.net/Photos/100006551/13545305541721.jpg',
'https://www.eco-visio.net/Photos/100006551/15917057113100.jpg',
'https://www.eco-visio.net/Photos/100006551/13545305527532.jpg'
],
logo: 'https://www.eco-visio.net/Logos/891/1528116076975.jpg'
} |
have tried it a couple times and now switches between throwing the error and returning the data. However I only have the problem with this OrgID. |
Let‘s keep this open until it‘s fixed upstream. |
@thiesben Do you know if this is fixed by now? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm getting a fetch error: ECONNRESET when requesting Data from 891. It's the only one I'm having trouble with. However, http://www.eco-public.com/ParcPublic/?id=891/CounterData works just fine.
The text was updated successfully, but these errors were encountered: