[PDB-tech] POC sync not complete
Just did an initial "peeringdb sync" and noticed the number of POCs is not complete: pvlaar@peering:~$ peeringdb sync [...] Starting new HTTPS connection (1): beta.peeringdb.com "GET /api/poc?since=0 HTTP/1.1" 302 160 Starting new HTTPS connection (1): www.peeringdb.com "GET /api/poc?since=0 HTTP/1.1" 200 None poc last update 0 225 changed data to be processed 225 225 seems way too low. When I go via my browser (https://www.peeringdb.com/api/poc?since=0) I do seem to get the full list. What may be the problem here? ~paul
P.S. in my ~/.peerindb/config.yaml I have: peeringdb: password: '[password]' timeout: 0 url: https://www.peeringdb.com/api user: 'pvlaar' Thanks. On 13/4/16 4:57 PM, Paul Vlaar wrote:
Just did an initial "peeringdb sync" and noticed the number of POCs is not complete:
pvlaar@peering:~$ peeringdb sync [...] Starting new HTTPS connection (1): beta.peeringdb.com "GET /api/poc?since=0 HTTP/1.1" 302 160 Starting new HTTPS connection (1): www.peeringdb.com "GET /api/poc?since=0 HTTP/1.1" 200 None poc last update 0 225 changed data to be processed 225
225 seems way too low.
When I go via my browser (https://www.peeringdb.com/api/poc?since=0) I do seem to get the full list.
What may be the problem here?
~paul
-- Paul Vlaar DNS Infrastructure Group Afilias e-mail: pvlaar@afilias.info
You only get "public" ones. This count was zero on March/15'th
On Apr 13, 2016, at 8:04 AM, Paul Vlaar <pvlaar@afilias.info> wrote:
P.S. in my ~/.peerindb/config.yaml I have:
peeringdb: password: '[password]' timeout: 0 url: https://www.peeringdb.com/api user: 'pvlaar'
Thanks.
On 13/4/16 4:57 PM, Paul Vlaar wrote: Just did an initial "peeringdb sync" and noticed the number of POCs is not complete:
pvlaar@peering:~$ peeringdb sync [...] Starting new HTTPS connection (1): beta.peeringdb.com "GET /api/poc?since=0 HTTP/1.1" 302 160 Starting new HTTPS connection (1): www.peeringdb.com "GET /api/poc?since=0 HTTP/1.1" 200 None poc last update 0 225 changed data to be processed 225
225 seems way too low.
When I go via my browser (https://www.peeringdb.com/api/poc?since=0) I do seem to get the full list.
What may be the problem here?
~paul
-- Paul Vlaar DNS Infrastructure Group Afilias
e-mail: pvlaar@afilias.info _______________________________________________ Pdb-tech mailing list Pdb-tech@lists.peeringdb.com http://lists.peeringdb.com/cgi-bin/mailman/listinfo/pdb-tech
On 13/4/16 5:14 PM, Martin J. Levy wrote:
You only get "public" ones. This count was zero on March/15'th
I'd like to receive the full list. This was possible in previous system and is what I use to semi-automate setting up of peering sessions on our end. I get the full list when I am authenticated and use https://www.peeringdb.com/api/poc?since=0 directly, so the same should be possible using the 'peeringdb sync' tool when I have entered my username and password in the config file, no? ~paul
What version of peeringdb-py are you using? Anything < 0.4.3.2 has a bug with authentication credentials not being passed through to the request. (See https://github.com/peeringdb/peeringdb-py/issues/2) On 13/04/16 18:04, Paul Vlaar wrote:
P.S. in my ~/.peerindb/config.yaml I have:
peeringdb: password: '[password]' timeout: 0 url: https://www.peeringdb.com/api user: 'pvlaar'
Thanks.
On 13/4/16 4:57 PM, Paul Vlaar wrote:
Just did an initial "peeringdb sync" and noticed the number of POCs is not complete:
pvlaar@peering:~$ peeringdb sync [...] Starting new HTTPS connection (1): beta.peeringdb.com "GET /api/poc?since=0 HTTP/1.1" 302 160 Starting new HTTPS connection (1): www.peeringdb.com "GET /api/poc?since=0 HTTP/1.1" 200 None poc last update 0 225 changed data to be processed 225
225 seems way too low.
When I go via my browser (https://www.peeringdb.com/api/poc?since=0) I do seem to get the full list.
What may be the problem here?
~paul
pvlaar@peering:~/peeringdb-py$ peeringdb --version peeringdb, version 0.4.3 pvlaar@peering:~/peeringdb-py$ git describe --tags 0.4.3.2-1-g20a32bc On 13/4/16 5:18 PM, Stefan Pratter wrote:
What version of peeringdb-py are you using?
Anything < 0.4.3.2 has a bug with authentication credentials not being passed through to the request. (See https://github.com/peeringdb/peeringdb-py/issues/2)
Make sure to pip install from the git repo, as far as i am aware the fixes in 0.4.3.2 have not yet been released to pypi. ~/peeringdb$ peeringdb --version peeringdb, version 0.4.3.2 On 13/04/16 18:26, Paul Vlaar wrote:
pvlaar@peering:~/peeringdb-py$ peeringdb --version peeringdb, version 0.4.3
pvlaar@peering:~/peeringdb-py$ git describe --tags 0.4.3.2-1-g20a32bc
On 13/4/16 5:18 PM, Stefan Pratter wrote:
What version of peeringdb-py are you using?
Anything < 0.4.3.2 has a bug with authentication credentials not being passed through to the request. (See https://github.com/peeringdb/peeringdb-py/issues/2)
Pdb-tech mailing list Pdb-tech@lists.peeringdb.com http://lists.peeringdb.com/cgi-bin/mailman/listinfo/pdb-tech
Make sure to pip install from the git repo, as far as i am aware the fixes in 0.4.3.2 have not yet been released to pypi. ~/peeringdb$ peeringdb --version peeringdb, version 0.4.3.2 On 13/04/16 18:26, Paul Vlaar wrote:
pvlaar@peering:~/peeringdb-py$ peeringdb --version peeringdb, version 0.4.3
pvlaar@peering:~/peeringdb-py$ git describe --tags 0.4.3.2-1-g20a32bc
On 13/4/16 5:18 PM, Stefan Pratter wrote:
What version of peeringdb-py are you using?
Anything < 0.4.3.2 has a bug with authentication credentials not being passed through to the request. (See https://github.com/peeringdb/peeringdb-py/issues/2)
Pdb-tech mailing list Pdb-tech@lists.peeringdb.com http://lists.peeringdb.com/cgi-bin/mailman/listinfo/pdb-tech
My bad. Forgot I indeed installed from pypi instead of the git repo directly. Now fixed: pvlaar@peering:~/peeringdb-py$ peeringdb --version peeringdb, version 0.4.3.2 pvlaar@peering:~/peeringdb-py$ peeringdb sync [...] Starting new HTTPS connection (1): www.peeringdb.com "GET /api/poc?since=0 HTTP/1.1" 200 None poc last update 0 11912 changed data to be processed 11912 Thanks! ~paul
Yup - I stand corrected also. Grabbed it from github and now have lots of poc's. Martin On Wed, Apr 13, 2016 at 8:50 AM, Paul Vlaar <pvlaar@afilias.info> wrote:
My bad. Forgot I indeed installed from pypi instead of the git repo directly. Now fixed:
pvlaar@peering:~/peeringdb-py$ peeringdb --version peeringdb, version 0.4.3.2
pvlaar@peering:~/peeringdb-py$ peeringdb sync [...] Starting new HTTPS connection (1): www.peeringdb.com "GET /api/poc?since=0 HTTP/1.1" 200 None poc last update 0 11912 changed data to be processed 11912
Thanks!
~paul
_______________________________________________ Pdb-tech mailing list Pdb-tech@lists.peeringdb.com http://lists.peeringdb.com/cgi-bin/mailman/listinfo/pdb-tech
participants (4)
-
Martin J. Levy -
Paul Vlaar -
Stefan Pratter -
Stefan Pratter