Closed silveur closed 7 years ago
Does https://api.discogs.com/ resolve in the browser for you?
Edit: I also seem to be having trouble authenticating through OAuth which used to work fine. Could be related...
It does resolve for me yeah... no idea about oAuth but that doesnt sound good neither. Will post on the discogs forum and see whats up
Quick fix: On line 161 replace Host': this.config.host,
with 'Host': urlParts.host || this.config.host,
I hope to be able to release this to npm soon. Not much time at the moment.
Managed to squeeze a release in. Should be fixed now.
Getting images through the getImage function doesn't work anymore and returns the following:
{ DiscogsError at IncomingMessage.passData (/Users/silvereletellier/dev/ChezEmile/node_modules/disconnect/lib/client.js:212:23) at emitNone (events.js:91:20) at IncomingMessage.emit (events.js:188:7) at endReadableNT (_stream_readable.js:974:12) at _combinedTickCallback (internal/process/next_tick.js:80:11) at process._tickDomainCallback (internal/process/next_tick.js:128:9) statusCode: 500, message: 'Unknown error.' }
'\n\n
\nFastly error: unknown domain: api.discogs.com. Please check that this domain has been added to a service.'
Furthermore when I try and download an image with the request module I get the following http response:
503 - Service Unavailable
Any idea?