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
{{ message }}
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.
My new Starboard app is stuck in an endless setup() loop. The app is successfully able to authorize with Trello, download the guides from the doc repo on GitHub, but setup() repeatedly catches an error. Inspecting the error, it's actually the data.json from the JSON fetch, so I'n not sure what's triggering an error.
Also strange is that after repeated fails, the ultimate POST to guides to refresh the guides uses a newly generated starboard.token—it doesn't use the existing set one.
# Once we've authorized with trellosetup= (retry_count)->log.debug("setup")
retry_count||=3# Get the team map# the fetch triggers an error, strangely $.getJSONAsync('guides/data.json').then((data) ->$("section.loading").addClass("hidden")
root.starboard.information= data
prepareForm(data["teams"])
).catch((error) -># inspecting the error object shows that it's fetched data.json$("section.loading").removeClass("hidden")
# If we fails, refresh guides and retry$.post("/guides?t=#{starboard.token}", ->setup(retry_count -1)
)
)
The text was updated successfully, but these errors were encountered:
Thanks a lot for the feedback, it is using a self generated token that is cached in redis... it is a bit confusing. I will see what I can do to fix that really soon.
Hi,
My new Starboard app is stuck in an endless
setup()
loop. The app is successfully able to authorize with Trello, download the guides from the doc repo on GitHub, butsetup()
repeatedly catches an error. Inspecting the error, it's actually thedata.json
from the JSON fetch, so I'n not sure what's triggering an error.Also strange is that after repeated fails, the ultimate POST to guides to refresh the guides uses a newly generated
starboard.token
—it doesn't use the existing set one.The text was updated successfully, but these errors were encountered: