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

dotnet eb deploy-environment command timeout #59

Open
burakiskender opened this issue Feb 2, 2019 · 16 comments
Open

dotnet eb deploy-environment command timeout #59

burakiskender opened this issue Feb 2, 2019 · 16 comments
Labels
feature-request A feature should be added or improved. module/cli-ext p2 This is a standard priority issue queued

Comments

@burakiskender
Copy link

Getting a timeout issue when deploying my netcore app to EB. Here are the details :

Uploading to S3. (Bucket: elasticbeanstalk-ap-southeast-2-043897850050 Key: Pavoni/AWSDeploymentArchive_636847158216790790.zip)
... Progress: 10%
... Progress: 20%
... Progress: 30%
... Progress: 40%
... Progress: 50%
... Progress: 60%
... Progress: 70%
Error uploading application bundle to S3: Error uploading to App/AWSDeploymentArchive_App_636847158216790790.zip in bucket elasticbeanstalk-ap-southeast-2-043897850050: A task was canceled.

@klaytaybai
Copy link

Do you happen to be using a VPC for EB? That could explain it. You might not have access to your S3 bucket from your VPC, in which case you would need to set up a VPC endpoint (bucket policy examples)

@klaytaybai klaytaybai added closing-soon This issue will automatically close in 4 days unless further comments are made. guidance Question that needs advice or information. investigating This issue is being investigated and/or work is in progress to resolve the issue. response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. labels Feb 4, 2019
@burakiskender
Copy link
Author

Do you happen to be using a VPC for EB? That could explain it. You might not have access to your S3 bucket from your VPC, in which case you would need to set up a VPC endpoint (bucket policy examples)

Thanks klaytaybai. I confirmed that the EB account has full access to S3 bucket. Still no luck

@klaytaybai klaytaybai removed closing-soon This issue will automatically close in 4 days unless further comments are made. guidance Question that needs advice or information. response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. labels Feb 4, 2019
@klaytaybai
Copy link

klaytaybai commented Feb 4, 2019

@burakiskender, I don't think should be the limiting factor, but how large is your file? Is your connection typically reliable?

@burakiskender
Copy link
Author

@burakiskender, I don't think should be the limiting factor, but how large is your file? Is your connection typically reliable?

Nothing special my friend. 15 MB dotnetcore application. Upload via Ethernet . Cheers

@klaytaybai klaytaybai added guidance Question that needs advice or information. and removed investigating This issue is being investigated and/or work is in progress to resolve the issue. labels Feb 24, 2020
@ashishdhingra
Copy link
Contributor

Hi @burakiskender,

Good afternoon.

I was going through the backlog issues and came across this one. Please advise if this is still an issue or could be closed.

Thanks,
Ashish

@ashishdhingra ashishdhingra added the response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. label Sep 14, 2020
@github-actions
Copy link

This issue has not recieved a response in 2 weeks. If you want to keep this issue open, please just leave a comment below and auto-close will be canceled.

@github-actions github-actions bot added the closing-soon This issue will automatically close in 4 days unless further comments are made. label Sep 29, 2020
@augustoproiete
Copy link

Do not close. We experience this timeout at least a couple of times a month.

@burakiskender
Copy link
Author

@ashishdhingra
Hi Ashish, a bit odd but this issue happens on certain networks. If I switch to my phone hotspot , works fine. Corporate networks, other wifis fail time to time. Other commands works however.

@github-actions github-actions bot removed closing-soon This issue will automatically close in 4 days unless further comments are made. response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. labels Sep 30, 2020
@ashishdhingra
Copy link
Contributor

Hi @augustoproiete @burakiskender,

As @burakiskender pointed out, the issue happens on certain networks. Not sure if this has something to do with the network configuration, corporate security policies, etc. and how we could troubleshoot the issue given this scenario. Not sure if you would want to do network monitoring and work with network team to do some kind of tracing for failed responses.

Thanks,
Ashish

@ashishdhingra ashishdhingra added the response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. label Sep 30, 2020
@augustoproiete
Copy link

Hi @ashishdhingra, that has not been my experience so far. When dotnet eb deploy-environment fails for me, I cannot get it to work regardless of the network I'm using, for several minutes... Eventually it starts working again by itself.

Can we get dotnet eb deploy-environment to give us a detailed log of the URL(s) that it cannot reach (and payload being sent) when it happens?

@github-actions github-actions bot removed the response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. label Oct 1, 2020
@ashishdhingra
Copy link
Contributor

@augustoproiete I don't see any command switch to turn on the verbose logging. You may try using Fiddler to monitor network traffic when you execute dotnet eb deploy-environment command and see which URL(s) are timing out. Hope this helps.

Thanks,
Ashish

@ashishdhingra ashishdhingra added the response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. label Oct 1, 2020
@github-actions
Copy link

This issue has not recieved a response in 2 weeks. If you want to keep this issue open, please just leave a comment below and auto-close will be canceled.

@github-actions github-actions bot added the closing-soon This issue will automatically close in 4 days unless further comments are made. label Oct 16, 2020
@augustoproiete
Copy link

Hey @ashishdhingra, given that this timout only happens a couple of times a month it's not really possible to "predict" when it will happen (and then turn on Fiddler)... It's also not reasonable to have Fiddler (or similar tool) running 24/7 for several weeks on end.

Instead, can we use this issue as a feature request for dotnet eb deploy-environment to implement a more detailed diagnostic of any failures of the URL(s) that it cannot reach (and payload being sent) when an exception happens?

@ashishdhingra
Copy link
Contributor

@augustoproiete Thanks got your reply. I have added feature-request label.

@ashishdhingra ashishdhingra added feature-request A feature should be added or improved. and removed closing-soon This issue will automatically close in 4 days unless further comments are made. guidance Question that needs advice or information. response-requested Waiting on additional info and feedback. Will move to "closing-soon" in 7 days. labels Oct 22, 2020
@github-actions
Copy link

We have noticed this issue has not received attention in 1 year. We will close this issue for now. If you think this is in error, please feel free to comment and reopen the issue.

@github-actions github-actions bot added the closing-soon This issue will automatically close in 4 days unless further comments are made. label Oct 23, 2021
@augustoproiete
Copy link

Feature request remains valid. Please keep it open.

@github-actions github-actions bot removed the closing-soon This issue will automatically close in 4 days unless further comments are made. label Oct 25, 2021
@hunanniu hunanniu added the B label Mar 31, 2022
@ashishdhingra ashishdhingra added queued p2 This is a standard priority issue and removed B labels Nov 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request A feature should be added or improved. module/cli-ext p2 This is a standard priority issue queued
Projects
None yet
Development

No branches or pull requests

5 participants