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