Comments (5)
Got hit by this as well. Any temporal workaround we can use in production? Thanks!
from intercom-rails.
@dgilperez Sorry for the late reply. This was our temporary work around https://github.com/shinydevelopment/intercom-rails/commit/d10a0c2e1321e0707691997b1448f7b6d52a4877
from intercom-rails.
Hey @gspiers - thanks for writing this up, and sorry it took us so long to get back to you.
I've checked the bulk create API endpoint used by the import rake task, and it doesn't look for secure mode or attempt to compare the user_hash value. I imported some users to an app with secure mode enabled as a test, and it worked fine.
Are you performing regular imports using this task? If so, could you try one without sending the user_hash? If it still fails, I can look into what's happening on our side.
from intercom-rails.
@eugeneius We used it as a one time import originally. On our staging server I just tried the rake task again and it worked without errors.
I can't remember if originally this rake task worked on our staging environment (the test Intercom environment) and failed on production. Unfortunately I can't run that rake task again on our real Intercom account. But I suspect if it's working for the test environment it is probably working for the real environment as well.
Thanks for your help, just let me know if you want to try some other testing. Maybe @dgilperez can confirm if it's still a problem when importing in production?
from intercom-rails.
I've looked over our historical metrics for the bulk import endpoint. The only errors we've seen in the last few months have been transient infrastructure-level errors, such as a database write being rejected. Importing a large batch of users is a heavy operation, so this can happen - it's why the task retries each batch up to three times. It's possible you were just unlucky and had three failed requests in a row, and by the time you tried again with your user_hash patch applied the problem had resolved itself.
@dgilperez if you're still having trouble importing your users, could you email [email protected] with the details so we can look into it? It's unlikely to be related to secure mode, but without more information I can't do much to help.
from intercom-rails.
Related Issues (20)
- Removing intercom HOT 1
- How should I set `unsubscribed_from_emails`?
- Messenger is not visible in Rails 6.0rc2 HOT 6
- Some action in Muster failing for ASGs with more than 100 hosts HOT 1
- Intercom preventing some users from signing in or signing up HOT 2
- How do I arbitrarily show/hide the intercom widget with js? HOT 3
- Invalid markup (script tags should be in head)
- Intercom, Sentry, and Turbolinks don't play nicely together HOT 5
- Turn off tracking for individual users HOT 1
- Shutdown not working properly
- api_base config key unsupported HOT 2
- Is there a way to listen for outgoing message events on the client-side? HOT 2
- Ability to hide chat for selected users/accounts HOT 1
- Compatibility with hotwired/turbo-rails HOT 11
- Error: invalid filter name app_id HOT 3
- Second user session (SuperAdmin User) being tracked by Intercom
- CDATA in intercom_script_tag results in the csp_sha256 mismatch and a failing CSP HOT 3
- Add At-risk-of-Breach categorisation
- Defer loading
- Firefox is triggering NS_ERROR_NOT_INITIALIZED causing intercom to stop working between page turbo page loads
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 intercom-rails.