Comments (17)
from loaner.
Check the following:
-
In the APP_DOMAINS variable in constants.py, the primary GSuite domain should be listed first and any secondary domains listed after. If that is not the case, fix, redeploy, migrate traffic.
-
Double check the deployment files to ensure you are using the correct Client ID. The Chrome App ITEM ID from the Chrome Web Store App may be incorrectly placed where Chrome App OAUTH client ID should have been. The Chrome App ITEM ID should not be added to any of the deployment files. If that is the case, fix, redeploy, migrate traffic.
-
Check that the OAuth Consent Screen is set to "Public". GCP > API > Credentials > OAuth Consent Screen.
If all those look good, check the output from the following:
(On the Chromebook) Chrome://extensions ---> Dev Mode on > background page > Reproduce > Check Console Section in background.html / index.html
or
(On the Chromebook) Chrome://extensions ---> Dev Mode on > Details > Toggle on Error Reporting > Reproduce > Check Error Section
from loaner.
I have the same issue. Went through everything multiple times and now am having the "This device is not enrolled in the Grab N Go program. Please contact your administrator." error as well.
Device is enterprise enrolled and is in the Org > Grab n Go > Prod > Default OU
from loaner.
from loaner.
@templesnr yeah that's exactly what I have setup. I checked the BigQuery table and it's showing that the devices have been enrolled in to GnG.
It gives me the error instantly which is odd. It's like it's not even going outbound to check if it's actually enrolled.
from loaner.
Have you checked the debug view CTRL + SHIFT + 9? If so, please share a screenshot so we can attempt to troubleshoot further. Additionally, is there any logs in GCP for the heartbeat from this device?
from loaner.
I'm seeing NULL in the heartbeat column on BigQuery...
When I add a device through the GnG console > Devices it gets moved from the top level OU where I enterprise enrolled to the Grab and Go > Prod > Default OU so it's certainly communicating with Chrome Management.
from loaner.
I would recommend against using BigQuery for debugging issues such as these. StackDriver logging (Logging option on Google Cloud Platform) will provide fairly in-depth info about what is happening when requests are made. Additionally, any luck in grabbing a screenshot from the debug view (CTRL+SHIFT+9 on the Chromebook you're having issues with)?
from loaner.
Pardon my ignorance... Where am I launching debug mode? The application just fires off a notification when I launch it. I've enabled error logging on the extension and here's what I see.
Also FWIW here's the stack driver output. seems to be checking in every half-hour with no errors.
from loaner.
Do you see any heartbeat requests on StackDriver? It's possible you've misconfigured the loaner/shared/config.ts if there are no heartbeats making it to the backend. Additionally, which version of the application are you running? This one looks like it's out-of-date considering that the notification doesn't include a "DEBUG" button.
My recommendation would be to pull the latest version from HEAD (latest commit to the master branch). Once you do this, make sure all your configured values are properly set once again and then update the web app and Chrome App.
If you're still hitting this issue after updating, you can launch the debug view doing CTRL+SHIFT+9 from the Chrome OS device with the Grab and Go application installed.
from loaner.
@helfrichmichael Figured I'd let you know I got this working. I think my issue was more of a timing thing and wasn't being patient with things propagating on the chrome dev dashboard side.
from loaner.
Similar issue here. Some devices do not detect enrollment status. These devices are in the Default OU (ChromeOS -> Grab n Go -> Prod -> Default) and are enrolled in the program as well.
One thing I noticed is that they do not have a heartbeat (last_heartbeat is null). There are several devices that work just fine.
One thing to note here is - The version running is 0.7.1. I will be updating this to latest master to check.
Do we have any insight on what might be the issue?
from loaner.
Okay. So I went ahead and deployed the master version of the app. I think I have a handle on the error now. The Chrome app is requesting the URL https://chrome-dot-dev-app-engine-project.appspot.com and this is resulting in a null heartbeat.
I used bash to deploy the web app using deploy.sh for prod (deployments/deploy.sh web prod) and used bash deployments/deploy.sh chrome prod to deploy the chrome app.
Any pointers here?
from loaner.
@akshitbaunthy this means you haven't configured the shared/config.ts file.
Please see: https://github.com/google/loaner/blob/master/docs/setup_guide.md#sharedconfigts and https://github.com/google/loaner/blob/master/docs/deploy_chrome_app.md#step-3-keying-the-chrome-app specifically step #5.
This means that in your config.ts, you haven't defined your endpoints (it's pointing to the default dev instance). If you are expecting it to be pointing at PROD right now, that additionally means that you likely haven't configured the CHROME_PUBLIC_KEYS for each environment. This is how the application figures out which release track it is on.
As for deploying, I typically build the chrome app using NPM, zip up the directory, and upload it as a new version of the existing app to the Chrome Web Store.
from loaner.
@helfrichmichael - Thank you for your response.
I checked and you were right. The CHROME_PUBLIC_KEY was incorrect. I screwed up line breaks. Fixed it, compiled both the web and chrome apps. Awaiting propagation.
Just wondering though, is that the only thing that can cause this? Since the error actually points to chrome-dev and I haven't put in ANY details for any of the other instances.
from loaner.
Yup. Thanks a tonne, @helfrichmichael.
from loaner.
Great to hear @akshitbaunthy. I'll mark this as closed, but don't hesitate to let us know if you're having any further issues.
from loaner.
Related Issues (20)
- [Question] How's the notifications/reminder email works? HOT 5
- [QUESTION] Where in the code are stored the devices when enrolled in Grab and Go HOT 1
- Is there a simple way to update a Datastore entity HOT 3
- Please incorporate Alan's version of GnG HOT 2
- Precondition Failed when unenrolling a device HOT 2
- Completely reset Loaner data/Downgrading issues HOT 3
- Exploring options where Chromebooks and Chromebase used in an organisation. Dont want to pin grabngo app to all users. HOT 3
- [QUESTION] Chrome app deprectiation HOT 2
- Loaner: 8719G03U8X HOT 3
- Newbie trying to get this to work ~ FAILED: Build did NOT complete successfully (0 packages loaded) HOT 1
- Another Newbie having problems - Error occurred during the fetch of repository 'io_bazel_rules_appengine
- Grab and Go issues: Multi domain option. HOT 1
- Device not found using device_identifier HOT 2
- 02368551_Chromebook extension needed until Jan 15th HOT 1
- 02346073_Chrome book extension needed until 18th Feb HOT 1
- Unable to enroll new devices to GnG loaner portal
- Cannot access to the web app locally HOT 9
- Could not find public key information in Chome Web Store Dashboard HOT 3
- Web app internal server error, DirectoryRPCError: Forbidden, initial Bootstrapping HOT 7
- Multiple Domain, first bootstrap login error unauthorized HOT 4
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 loaner.