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

pixie agent serve fails without a clear error message #152

Open
yvesjunqueira opened this issue Apr 13, 2023 · 1 comment
Open

pixie agent serve fails without a clear error message #152

yvesjunqueira opened this issue Apr 13, 2023 · 1 comment
Assignees

Comments

@yvesjunqueira
Copy link

$ fixie agent serve
Opening tunnel to 0.0.0.0:8181 via localhost.run.
This replaces any existing deployment, run fixie deploy to redeploy to prod.

Traceback (most recent call last):
  File "/Users/yves/opt/anaconda3/envs/gpt/bin/fixie", line 8, in <module>
    sys.exit(fixie())
  File "/Users/yves/opt/anaconda3/envs/gpt/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "/Users/yves/opt/anaconda3/envs/gpt/lib/python3.10/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "/Users/yves/opt/anaconda3/envs/gpt/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Users/yves/opt/anaconda3/envs/gpt/lib/python3.10/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Users/yves/opt/anaconda3/envs/gpt/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/yves/opt/anaconda3/envs/gpt/lib/python3.10/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "/Users/yves/opt/anaconda3/envs/gpt/lib/python3.10/site-packages/click/decorators.py", line 26, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/Users/yves/opt/anaconda3/envs/gpt/lib/python3.10/site-packages/fixieai/cli/agent/commands.py", line 424, in serve
    config.deployment_url = next(deployment_urls_iter)
StopIteration

Perhaps the tunnel creation is failing because it's getting blocked by my corp firewall. It would be nice if the error message was clearer.

@petersalas
Copy link
Contributor

Thank you @yvesjunqueira! You're correct -- the tunnel is failing to connect. I'll make the error message more clear.

@petersalas petersalas self-assigned this Apr 20, 2023
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

2 participants