hiqdev / asset-packagist

Asset Packagist
https://asset-packagist.org
BSD 3-Clause "New" or "Revised" License
247 stars 25 forks source link

Malformed JSON #102

Closed NickDickinsonWilde closed 5 years ago

NickDickinsonWilde commented 5 years ago

Please provide your composer.json if appropriate.

Composer is failing and if I open the relevant url "https://asset-packagist.org/p/provider-latest/76bb9c4859328409ef739e3588f85aa03d483532e391963f2b88455371142762.json" then Firefox says "SyntaxError: JSON.parse: unterminated string at line 1 column 130812 of the JSON data". Was working fine this morning.

patrickcate commented 5 years ago

Started getting what I think is a similar error yesterday:

[Seld\JsonLint\ParsingException] "/home/vagrant/.composer/cache/repo/https---asset-packagist.org/p/provider-latest/.json" does not contain valid JSON Parse error on line 1: ...t/moment-timezone":{"sha2 ----------------------^ Invalid string, it appears you forgot to terminate a string, or attempted to write a multiline string which is invalid Clearing the composer cache didn't help.

SilverFire commented 5 years ago

Hello, @NickWilde1990!

#> curl https://asset-packagist.org/p/provider-latest/76bb9c4859328409ef739e3588f85aa03d483532e391963f2b88455371142762.json | jq type
"object"

It seems to work, at least now. Do you still experience a problem?

marcoliverteschke commented 5 years ago

Hello @SilverFire, I'm experiencing the same problem right now at this address:

https://asset-packagist.org/p/provider-latest/3605882fb141c001814ca5155dcd729e6a7a35feb459940fce937d914ae57329.json

hiqsol commented 5 years ago

Server-side problems. Should be ok now.

bkosborne commented 5 years ago

I'm getting these errors. See #105

SilverFire commented 5 years ago

Fixed, sorry for the inconveniences!