Status Update
Comments
ka...@google.com <ka...@google.com> #2
Further information:
So, I made a test project with a blank wordpress app and a new yaml file and deployed it. It did not stop immediately like it has been with the ascii error, but it did give me a timeout error, which I would get 4 out of 5 times when the app was deploying.
Since it didn't get an ascii error, I took the contents of the app.yaml file and pasted it in the new test instance. That also did not give me an ascii error on deploy, but did get the timeout error.
Since that did not hang on an ascii error, I thought it was not my original app.yaml file that was the issue, which made me think that it was an issue in the project file name or something, so I took the contents of the new yaml file and tried to deployed my original app with that, and that also did not hang on an ascii file but did get the timeout error.
So, I don't know what is causing the timeout error, but it appears that the ascii problem is not my original app.yaml file nor is it a file name in my project, but something is happening when they are deployed together. I'm quite confused.
So, I made a test project with a blank wordpress app and a new yaml file and deployed it. It did not stop immediately like it has been with the ascii error, but it did give me a timeout error, which I would get 4 out of 5 times when the app was deploying.
Since it didn't get an ascii error, I took the contents of the app.yaml file and pasted it in the new test instance. That also did not give me an ascii error on deploy, but did get the timeout error.
Since that did not hang on an ascii error, I thought it was not my original app.yaml file that was the issue, which made me think that it was an issue in the project file name or something, so I took the contents of the new yaml file and tried to deployed my original app with that, and that also did not hang on an ascii file but did get the timeout error.
So, I don't know what is causing the timeout error, but it appears that the ascii problem is not my original app.yaml file nor is it a file name in my project, but something is happening when they are deployed together. I'm quite confused.
ga...@googlemail.com <ga...@googlemail.com> #3
I have been able to make the ascii error go away by removing these lines...
```
skip_files:
- ^(.*/)?\.zip$
- ^(.*/)?\.bat$
- ^(.*/)?\.sh$
- ^(.*/)?\.md$
```
I am not sure why this would be causing the issue. None of those items showed up when I did a regex search across my project for non-ascii characters.
Also, I am not sure why I was able to start the deploy and not get the ascii error in the text project, as this text was in the app.yaml file at the time of testing.
```
skip_files:
- ^(.*/)?\.zip$
- ^(.*/)?\.bat$
- ^(.*/)?\.sh$
- ^(.*/)?\.md$
```
I am not sure why this would be causing the issue. None of those items showed up when I did a regex search across my project for non-ascii characters.
Also, I am not sure why I was able to start the deploy and not get the ascii error in the text project, as this text was in the app.yaml file at the time of testing.
rp...@google.com <rp...@google.com>
to...@yahoo.com <to...@yahoo.com> #4
This is happening every time now though...
Beginning deployment of service [default]...
Some files were skipped. Pass `--verbosity=info` to see which ones.
You may also view the gcloud log file, found at
[/Users/me/.config/gcloud/logs/2018.06.08/16.12.18.352564.log].
╔════════════════════════════════════════════════════════════╗
╠═ Uploading 1 file to Google Cloud Storage ═╣
╚════════════════════════════════════════════════════════════╝
ERROR: gcloud crashed (MultiError): One or more errors occurred:
MaxRetrialsException: last_result=(None, (<class 'socket.error'>, error(60, 'Operation timed out'), <traceback object at 0x10de05908>)), last_retrial=3, time_passed_ms=1188103,time_to_wait=0
Beginning deployment of service [default]...
Some files were skipped. Pass `--verbosity=info` to see which ones.
You may also view the gcloud log file, found at
[/Users/me/.config/gcloud/logs/2018.06.08/16.12.18.352564.log].
╔════════════════════════════════════════════════════════════╗
╠═ Uploading 1 file to Google Cloud Storage ═╣
╚════════════════════════════════════════════════════════════╝
ERROR: gcloud crashed (MultiError): One or more errors occurred:
MaxRetrialsException: last_result=(None, (<class 'socket.error'>, error(60, 'Operation timed out'), <traceback object at 0x10de05908>)), last_retrial=3, time_passed_ms=1188103,time_to_wait=0
to...@yahoo.com <to...@yahoo.com> #5
Thanks for the report and the clarification. I tried to use your “skip_files” element and reproduce the issue but I could deploy my app successfully. If the issue still persists, could you perform the 'gcloud app deploy' deployment again with the '--verbosity=debug' and '--no-user-output-enabled' options [1] and attach the full output here?
[1]https://cloud.google.com/sdk/gcloud/reference/
[1]
aa...@google.com <aa...@google.com> #6
Hi, thanks for your reply. So, I've taken out the items that were causing the ascii error and I'm just trying to get past this timeout error, but here's the the output from that command. I couldn't get to the top of the output.
```
DEBUG: Skipping upload of [wordpress/wp-admin/images/resize-2x.gif] (a line like this for every file is in the output. Leaving just this one for brevity.)
INFO: Incremental upload skipped 99.98% of data
DEBUG: Uploading 1 file to Google Cloud Storage
DEBUG: Using [16] threads
INFO: Uploading [/myapp-wp-dev/GAE/wordpress/wp-content/plugins/gcs/vendor/monolog/monolog/tests/Monolog/Handler/NewRelicHandlerTest.php] to [a140d66be3282a7a8510211b9167dc2a11f654fe]
DEBUG: Caught socket error, retrying: [Errno 60] Operation timed out
DEBUG: Retrying request to urlhttps://www.googleapis.com/upload/storage/v1/b/staging.myapp-wp-dev.appspot.com/o?uploadType=multipart&alt=json&name=a140d66be3282a7a8510211b9167dc2a11f654fe after exception [Errno 60] Operation timed out
DEBUG: Caught socket error, retrying: [Errno 60] Operation timed out
DEBUG: Retrying request to urlhttps://www.googleapis.com/upload/storage/v1/b/staging.myapp-wp-dev.appspot.com/o?uploadType=multipart&alt=json&name=a140d66be3282a7a8510211b9167dc2a11f654fe after exception [Errno 60] Operation timed out
DEBUG: Caught socket error, retrying: [Errno 60] Operation timed out
DEBUG: Retrying request to urlhttps://www.googleapis.com/upload/storage/v1/b/staging.myapp-wp-dev.appspot.com/o?uploadType=multipart&alt=json&name=a140d66be3282a7a8510211b9167dc2a11f654fe after exception [Errno 60] Operation timed out
DEBUG: Caught socket error, retrying: [Errno 60] Operation timed out
DEBUG: Retrying request to urlhttps://www.googleapis.com/upload/storage/v1/b/staging.myapp-wp-dev.appspot.com/o?uploadType=multipart&alt=json&name=a140d66be3282a7a8510211b9167dc2a11f654fe after exception [Errno 60] Operation timed out
INFO: Uploading [/myapp-wp-dev/GAE/wordpress/wp-content/plugins/gcs/vendor/monolog/monolog/tests/Monolog/Handler/NewRelicHandlerTest.php] to [a140d66be3282a7a8510211b9167dc2a11f654fe]
DEBUG: Caught socket error, retrying: [Errno 60] Operation timed out
DEBUG: Retrying request to urlhttps://www.googleapis.com/upload/storage/v1/b/staging.myapp-wp-dev.appspot.com/o?uploadType=multipart&alt=json&name=a140d66be3282a7a8510211b9167dc2a11f654fe after exception [Errno 60] Operation timed out`
```
```
DEBUG: Skipping upload of [wordpress/wp-admin/images/resize-2x.gif] (a line like this for every file is in the output. Leaving just this one for brevity.)
INFO: Incremental upload skipped 99.98% of data
DEBUG: Uploading 1 file to Google Cloud Storage
DEBUG: Using [16] threads
INFO: Uploading [/myapp-wp-dev/GAE/wordpress/wp-content/plugins/gcs/vendor/monolog/monolog/tests/Monolog/Handler/NewRelicHandlerTest.php] to [a140d66be3282a7a8510211b9167dc2a11f654fe]
DEBUG: Caught socket error, retrying: [Errno 60] Operation timed out
DEBUG: Retrying request to url
DEBUG: Caught socket error, retrying: [Errno 60] Operation timed out
DEBUG: Retrying request to url
DEBUG: Caught socket error, retrying: [Errno 60] Operation timed out
DEBUG: Retrying request to url
DEBUG: Caught socket error, retrying: [Errno 60] Operation timed out
DEBUG: Retrying request to url
INFO: Uploading [/myapp-wp-dev/GAE/wordpress/wp-content/plugins/gcs/vendor/monolog/monolog/tests/Monolog/Handler/NewRelicHandlerTest.php] to [a140d66be3282a7a8510211b9167dc2a11f654fe]
DEBUG: Caught socket error, retrying: [Errno 60] Operation timed out
DEBUG: Retrying request to url
```
Description
STEPS TO REPRODUCE:
1. Create a new Class
2. Within the body of the class
3. type logt followed by a Tab
ATTACH SCREENSHOTS/RECORDINGS OF THE ISSUE
ATTACH LOG FILES (Select Help > Show Log in Files, or Show Log in Finder on a Mac)
------------------
IMPORTANT: Please read
all required information.
------------------
Studio Build: Artic Fox
Version of Gradle Plugin:
Version of Gradle:
Version of Java:
OS: Windows