Errors When Running Titanium-Connection-Test - appcelerator

Video documentation on the Appcelerator website explains that if I'm running into errors during the titanium-connection-test that we should ask for support.
Currently I am getting two errors:
Testing logging in against api.appcelerator.net using cURL
Failed: Unexpected end of input
Testing logging in against dashboard.appcelerator.com using cURL
Failed: Unexpected end of input
All other tests passed green. Any idea how I can fix these issues?
Video Source: http://videos.appcelerator.com/video/XmWEDgSP/Installing-Appcelerator-Studio/bSvBEOmi/Get-Started

Related

Error response from daemon: No such image: localstack/localstack:0.14.0

Recently I had this error
Error response from daemon: No such image: localstack/localstack:0.14.0
when setting up gnomock.
I was getting the error on this line
gmock, err = gnomock.Start(preset, gnomock.WithDebugMode(), gnomock.WithUseLocalImagesFirst())
The test is passing when I test on my machine, but when ran on gitlab's runners it was throwing the error I mention above.
The solution was to clear the cache of the runners.
The internet do not say much about this error. My theory is that because the mock was used in a sub package of the project (wrapped around), labstack got an update, and somehow that did not prop the docker images correctly.

Cypress test ran with browser vs head-lessly

How can I debug a test that is failing when ran headlessly but passing
when ran with a opened browser ?
below is the error I'm getting when running the test without opened browser:
AssertionError: Timed out retrying: Expected to find content: 'Logout' within the element: [ <a.navbar-item>, 2 more... ] but never did.
Meaning ... the test passes locally but fails within CI tool.
Please ask if you need to know any details.
I would suggest recording a video and using console.log statements in your test. https://docs.cypress.io/guides/guides/screenshots-and-videos.html#Screenshots

Not able to generate extracted_queries.json using persistgraphql

I am trying to generate extracted_queries.json file using persistgraphql cli utility but when I am running the following command
persistgraphql src/app/ --add_typename
it results in this error
Unable to process input path src/app/. Error message:
Syntax Error GraphQL request (1:1) Unexpected <EOF>
1:
^
How can I fix this?
After looking for answers for a while I am able to make it work.
In my case, we have queries and mutations written in js files so below command worked for me
persistgraphql src/app --js --extension=js --add_typename

Error: command "bash" failed with no error message?

I am using terraform on my Mac system, and terraform apply results with below error
Error: command "bash" failed with no error message
on ssm.tf line 7, in data "external" "ssm-dynamic-general":
7: data "external" "ssm-dynamic-general" {
However there is nothing wrong in ssm.tf file, same runs perfectly fine in my another system.
Can some one please let me know what i am missing here?
You might have done what I accidentally did: not follow the external program protocol:
https://www.terraform.io/docs/providers/external/data_source.html#external-program-protocol
In my particular case, I failed to send the errors that were coming from my program to standard error. Instead, those errors were going to standard out.
That's why Terraform wasn't able to report on those errors.
So if you send any and all errors from your program to standard error using > &2, you should be able to see those errors when you run terraform plan.

How to read grpc command line tool error messages from the responses?

I am using the grpc command line tool to test response for my grpc request. This is the official link to the grpc command line tool: https://github.com/grpc/grpc/blob/master/doc/command_line_tool.md (The usage guide is not updated. Kindly read ~/workspace/src/github.com/grpc/bins/opt/grpc_cli help)
I am running the command from the location where my protocol file resides. I am sending a request like this, (FYI: I am also sending the metadata. Irrespective of inclusion of the metadata or not I am getting the same error message) :
$ ~/my_workspace/src/github.com/grpc/bins/opt/grpc_cli call 0.0.0.0:50051 \
MyGrpcMethod <name_of_my_proto_file.proto> "abc : '12-34-56-78', xyz: '1234'" \
--metadata "auth:<auth_token>:space:xxx:org:xxx" --enable_ssl=false
In the response I am getting it says that there are some errors however, it does not show what the errors are. Here is the response I got from my client request:
connecting to 0.0.0.0:50051
Failed to read response.
Rpc failed with status code 12 error message unknown service my_agent.MyServiceAPI
Right now, I am not able to figure out from the documentation or otherwise on how to read the response. Did anyone face an issue like this?

Resources