-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
context deadline exceeded (Client.Timeout exceeded while awaiting headers) #22
Comments
Hi, |
The actions logs this:
Then the post action logs look like this:
|
From the error looks like your local server not started, and Turborepo fails on timeout, is you setup similar to this example? |
Yes, I had a look at that example. Here is part of the workflow:
|
Try to run it without npx (as a script)... |
I actually started with env vars, but switched to arguments to see if it would help with the issue. Unfortunately not different using Is there a way to add more verbosity to the action to understand what is going wrong? It seems to me the server is running as it yields a PID |
There are logs on each request... From your logs (they should apear in the post action part), looks like there are no requests... What version of Turborepo / node are u using? |
node: v16.19.0 |
No luck with turbo 1.7.0 as well. Btw, I see that there are a few newer releases of the action that are not shown in the marketplace. Perhaps there is a problem with it? |
Let's try to debug it locally,
This should start the proxy server... Enter to your projects build, and run the turborepo command with yarn build --api="http://172.0.0.1:9080" --token="test" --team=magna Let's see if it connects to the server + if it saves to the artifacts to local cache folder. |
Wow, this is weird, I've missed it, can you check with |
Is upgrading to v2 solved your issue? |
Not really, but I am double checking if there is any difference |
For some reason turbo stopped showing me verbose logging, but there seems to be no big difference. The warning about the action using save-state is gone, but the output seems similar. Should I do anything for the cache dir? Perhaps tell turbo to use that dir for caching?
|
No, it is using a temp dir. |
Sorry, I have missed that comment. It still yields no logs and fails with the same error:
And then all of a sudden it did work after re-running the server and not changing anything. Still not working in GH actions though. I am thinking there might be an issue on the first run in a clean environment.. |
Weird, it should make api calls... |
Locally without remote cache it's working. I haven't tested on github actions. Here is my turbo config:
|
What is the value of |
Hello,
I am having trouble making this action work. After enabling turbo trace logs, I saw these errors:
Any clue what the issue might be?
The text was updated successfully, but these errors were encountered: