Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unexpected error: &{<nil>} (*models.Error) is not supported by the TextConsumer, can be resolved by supporting TextUnmarshaler interface #634

Closed
prologic opened this issue Aug 17, 2017 · 1 comment

Comments

@prologic
Copy link

After finally getting around #633 and successfully pushing an image with the fn CLI I'm now running into issue with other invocations of fn that require talking to the API that I've deploed.

$ API_URL=https://f.mydomain.com/ fn apps create myapp
unexpected error: &{<nil>} (*models.Error) is not supported by the TextConsumer, can be resolved by supporting TextUnmarshaler interface

I suspect this has something to do with some failure to startup the container as seen in #632 -- But I'm not quite sure yet; I have traefik in front of this as a LB / Reverse Proxy so I'll keep poking...

@prologic
Copy link
Author

It helps if you have a non-broken LB; restarting Traefik fixed things (separate issue why Traefik was playing up): Now I get a working API:

$ curl -s -q -o - https://f.mydomain.com/ | jq '.'
{
  "goto": "https://github.com/iron-io/functions",
  "hello": "world!"
}

@c0ze c0ze mentioned this issue Aug 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant