Skip to content

could not fetch pivnet-stemcell resource #246

Closed

Description

@GarfieldIsAPhilosopher

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

- name: ***
     type: pivnet-stemcell
     source:
     api_url: "https://network.pivotal.io"

Activity

  1. concourse-bot commented on Dec 28, 2015

    @concourse-bot

    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:

    • #110777916 could not fetch pivnet-stemcell resource

    This comment, as well as the labels on the issue, will be automatically updated as the status in Tracker changes.

  2. GarfieldIsAPhilosopher commented on Dec 28, 2015

    @GarfieldIsAPhilosopher
    ContributorAuthor

    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":}}

  3. robdimsdale commented on Dec 28, 2015

    @robdimsdale
    Contributor

    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

  4. GarfieldIsAPhilosopher commented on Dec 28, 2015

    @GarfieldIsAPhilosopher
    ContributorAuthor

    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

  5. xoebus commented on Dec 28, 2015

    @xoebus
    Contributor

    Yep, sorry about that. We now strictly require a map of string to string as the version of a resource.

  6. GarfieldIsAPhilosopher commented on Dec 29, 2015

    @GarfieldIsAPhilosopher
    ContributorAuthor

    @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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions