You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we have a pivnet-stemcell resource, recently it returns error "failed to fetch resource" on our pipeline, and when we click on job that depend on this resource, it will return a total blank page, message from JS console "Failed to load resource: the server responded with a status of 500 (Internal Server Error)", we are using version 70
{"timestamp":,"source":"atc","message":"atc.syncer.nessus:radar.scan.tick.failed-to-get-current-version","log_level":2,"data":{"error":"json: cannot unmarshal array into Go value of type string","pipeline:resource":"nessus:pivnet-stemcells","session":}}
Whatever resource that is, it's incompatible with the contract laid down by concourse. Concourse started enforcing this contract more tightly recently. You'll need to return a string instead of an array
@xoebus One more thing: is there a way to get some better error messaging when this happens? The biggest issue is that the job, which can no longer even run, still shows up as green on our board. Even the resource, which is the cause of the problem, shows up as a normal resource (it isn't red or orange). We'd never have known this wasn't working except that we clicked on the job and saw a blank page (which is also not very helpful).
Activity
concourse-bot commentedon Dec 28, 2015
Hi there!
We use Pivotal Tracker to provide visibility into what our team is working on. A story for this issue has been automatically created.
The current status is as follows:
This comment, as well as the labels on the issue, will be automatically updated as the status in Tracker changes.
GarfieldIsAPhilosopher commentedon Dec 28, 2015
log from atc:
{"timestamp":,"source":"atc","message":"atc.syncer.nessus:radar.scan.tick.failed-to-get-current-version","log_level":2,"data":{"error":"json: cannot unmarshal array into Go value of type string","pipeline:resource":"nessus:pivnet-stemcells","session":}}
robdimsdale commentedon Dec 28, 2015
Whatever resource that is, it's incompatible with the contract laid down by concourse. Concourse started enforcing this contract more tightly recently. You'll need to return a string instead of an array
GarfieldIsAPhilosopher commentedon Dec 28, 2015
this is a resource implemented by our team, I guess that means I will close the issue here and drop a bug in our own backlog, thanks
xoebus commentedon Dec 28, 2015
Yep, sorry about that. We now strictly require a map of string to string as the version of a resource.
GarfieldIsAPhilosopher commentedon Dec 29, 2015
@xoebus One more thing: is there a way to get some better error messaging when this happens? The biggest issue is that the job, which can no longer even run, still shows up as green on our board. Even the resource, which is the cause of the problem, shows up as a normal resource (it isn't red or orange). We'd never have known this wasn't working except that we clicked on the job and saw a blank page (which is also not very helpful).