Comments (2)
A few clarifying questions:
- By "crash" do you mean some kind of operating system process crash, like a segmentation fault or something? (Sorry, I'm unfamiliar with what those look like in Windows.)
- Is the difference between the succeeding standalone script and the crashing Rails app only the fact that Rails is running in the latter? i.e. are you running on the same Windows workstation in both cases? How are you launching Rails? Do you have some kind of Windows-based Rails launcher, or are you starting it with
rails server
? Do you have any fancy auto-reloading or process caching system like bootsnap running in your Rails setup, and if so can you try turning those off? - I assume you have googleauth 1.11.0 in your bundle. As an experiment, can you try downgrading the googleauth gem to version 1.8.1 and retry?
from google-cloud-ruby.
- Sorry I could have been clearer. The Puma server shuts down immediately, without warning or logging anything. So just the app server that is responsible for executing the rails controller code halts, there is not an OS crash. The web server and other processes do not go down with it.
- Yes both running on the same Windows workstation. My development setup uses PowerShell 7.4.2, so I'll have usually a handful of PowerShell windows open, running processes. The core stack is nginx as https, Puma 6.4.2 (ruby 3.3.3-p89) as the Rails 7.1.3 server, and Sidekiq 7.2.2 that runs a few worker tasks on startup or for mail processing (none of which are proc'ing when I do these tests). All of the processes are started manually via various bat scripts, but ultimately they boil down to the simple commands of
rails server
,bundle exec sidekiq
etc. so there is nothing fancy or automated in my development environment.
When I execute the successful standalone script, it's also done through a PowerShell window - There are two Google gems installed from my Gemfile currently:
gem 'googleauth', '~> 1.11'
andgem 'google-cloud-vision'
(and of course all their dependencies). I will try the downgrade at next opportunity and report back!
As a bit of further info re: all other pieces of the auth chain working, I have been working around this by not using the gem features and instead doing direct https calls to the Google Cloud Vision API successfully and seeing it tracked on Cloud Console. So all the auth info seems to be correct, fwiw.
from google-cloud-ruby.
Related Issues (20)
- [Nightly CI Failures] Failures detected for google-cloud-datastore-admin HOT 1
- [Nightly CI Failures] Failures detected for google-cloud-datastore-v1 HOT 1
- Warning: a recent release failed
- (bigquery) add configuration "column_name_character_map" to dataset load_job HOT 3
- [Nightly CI Failures] Failures detected for google-cloud-recaptcha_enterprise HOT 1
- [Nightly CI Failures] Failures detected for google-cloud-recaptcha_enterprise-v1 HOT 1
- [Nightly CI Failures] Failures detected for google-cloud-recaptcha_enterprise-v1beta1 HOT 1
- Warning: a recent release failed
- [Nightly CI Failures] Failures detected for google-cloud-bigtable HOT 8
- [Nightly CI Failures] Failures detected for google-cloud-bigquery HOT 1
- [Nightly CI Failures] Failures detected for google-cloud-recaptcha_enterprise-v1beta1 HOT 2
- [Nightly CI Failures] Failures detected for google-cloud-recaptcha_enterprise HOT 2
- [Nightly CI Failures] Failures detected for google-cloud-recaptcha_enterprise-v1 HOT 3
- [Nightly CI Failures] Failures detected for google-cloud-recommendation_engine-v1beta1 HOT 3
- [Nightly CI Failures] Failures detected for google-cloud-recommendation_engine HOT 3
- Unable to run text_detection with image arguments HOT 3
- Warning: a recent release failed
- Warning: a recent release failed HOT 1
- Warning: a recent release failed
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from google-cloud-ruby.