When I run the test suite https://smarthome-test-suite.withgoogle.com/
I get about 30% tests failed because of the error " AssertionError: State 'on' is in reported states but not in queried states: expected false to be true"
Do you know what could be the reason?
Thanks
Your Query and ReportState should be in Sync they should show same behaviour, whatever the data you are sending in Query send the Same in ReportState.
Cheers.
Related
I am trying to execute Test Suite to certify, but I receive an error when executing the action. I can't find anything in the Google Cloud log. Everything works fine using Google Assistant on my phone and Nest.
enter image description here
A 503 error code means that the requested service is temporarily unavailable at the moment. You can wait for some time before trying again & make sure that your Smart Home Actions are linked with an account & testing is enabled for your actions. For instructions on how to set up your account for testing, check this link.
If the issue still persists, open up a ticket on our Public Issue Tracker.
I'm using Google App Engine Standard with Python 3. When i click on an error in Google Error Reporting and then click "View Logs", I get taken to Google Logs Viewer/Explorer with something like this error_group("CObpg_HTfjskb6GA") as a search filter.
I see the individual log line with the stacktrace but not any logs for the parent request for which this occurred.
In the docs, they have a screenshot where it does look like we should be able to see the parent http request in which the error occurred: https://cloud.google.com/error-reporting/docs/viewing-errors#view_associated_log_entries
Right now when I need to look into an error, I have to do a separate search in logs explorer with part of the error message (in the case of the above example I'd search for "KeyError: 'c'") to find a duplicate log that has a trace id set. Then I'd be able to 'show all logs for trace' and be able to finally see all the logs that lead up to this error.
This feels related to this other issue from before, where logs in general in python3 were not getting correlated like they were in python2: How to group related request log entries GAE python 3.7 standard env
Logs now get grouped together via trace, but as far as I can tell, I cannot set trace on error report logs.
I have my logging setup by doing:
client = google.cloud.logging.Client()
client.setup_logging()
For error reporting I was just getting error reports from google.cloud.logging's integration with the python logger:
try:
# code where an error occurs
except Exception as exc:
logging.exception(exc)
raise
I've now started trying to use google-cloud-error-reporting to see if maybe there are some options in there that I can set to get it to correlate, but I seem to only be able to set a HttpContext & ReportingLocation. There isnt a spot for me to set trace or anything like that.
We are developing boot using Actions on google SDK, we migrated our dev project UAT and all of sudden its stoped working. Previously we are using same approach and its working every time. Bot respond once for initial phrase after that it stop responding. it say Sorry, [Bot name] is not responding. Please try again later. After tracing the logs we found its sending below error. Please guide us what is wrong with our approach.
{
labels: {3}
type: "assistant_action"
}
severity: "ERROR"
textPayload: "No trained NLU model found."
timestamp: "2022-02-17T12:00:35.499117218Z"
trace: ""
}
This issue resolved now, Google resolved this issue we need to follow these steps. Open your project-> Go to Main invocation-> Edit it by adding prompt message->Save the changes-> Now NLU model trining in progress will show up at bottom, wait until its execution end. -> After that try testing your action, it will work Please see this for more
I'm running test cases in protractor and observing error message from point to point as "ERROR:service_manager.cc(425)] InterfaceProviderSpec prevented connection from: content_utility to: content_browser" which in return failing some of my test cases. I have not observed this error message before and observing it now after updates in chrome browser.
Find attached imageRun Sql server browser under services.
I published a silverlight application with wcf ria service to my local host on windows 7 (IIS7).but when i run application in browser ,my silverlight application can not connect to wcf ria service and i receive the following error:
load operation failed for query x. the remote server returned an
error: notfound
how can i fix this problem?!!!
The 'Not Found' error returned by IIS is something of a misnomer. Many times it masks over something else that happened and thus hides the true error.
One such instance of this is when the amount of information returned by the query exceeds IIS's limit of how much information it can return (the default for IIS 7 is something like 4 meg). This will result in the 'Not Found' error. To diagnose this condition, change your service so that it returns only a single record guaranteed to be less than 4 meg in size. If this is the case, you can change the IIS default, or change your data load strategy (the latter is preferable).
Other conditions can be diagnosed similarly.
I'd try attaching a debugger to the method you're calling in the service. There is probably some error happening which comes back as NotFound. Also, make sure you've enabled Silverlight debugging in the properties of the website project.
Please enter This URL in Browser
"http://Your Site Address/FolderName(s)/MyApp-Web-DishViewDomainService.svc
Service name is full name of service replace dot with dash
for example if your domainclass is mynamespace.mydomainclass
service address is mynamespace-mydomainclass.svc
the browser return error causes your problem
if error is not found check web.config setting
otherwise pls write your problem
a problem is possible to be a number of record and change maxItemsInObjectGraph