(gcloud.compute.ssh) Required 'compute.instances.get' permission - google-app-engine

I am getting below error when trying to run build using triggers.
ERROR: (gcloud.compute.ssh) Could not fetch resource: Info 2022-09-01T13:15:09.853777215Z - Required 'compute.instances.get' permission for 'projects/[]/zones/[]/instances/[]

Adding anyone of the following role to the user/SA trying to ssh should fix your issue. There are more if you scroll down I just could not fit all the roles in screenshot. Check Logging to see which user/SA is trying to SSH.

Related

SnowSQL - Getting permission denied error

I'm kinda new to SnowFlake. I've installed SnowSQL but when I'm trying to launch it's throwing the below error: I guess some issue in the config which I'm unable to figure out. Please advise!
PermissionError: [WinError 5] Access is denied: '%USERPROFILE%'
[27056] Failed to execute script bootstrap
It looks like the configuration​ options log_file and log_bootstrap_file also point to the %userprofile% directory by default. Maybe set those to the network location too? You can do this by putting the options in the config file or using the -o flag when calling the CLI as described here: https://docs.snowflake.net/manuals/user-guide/snowsql-config.html#snowsql-config-file

Uiautomatorviewer Error while obtaining UI hierarchy XML file: com.android.ddmlib.SyncException: Remote object doesn't exist

i can launch Uiautomatorviewer sucessfully, inspect any page/app at personal profile.
Once phone at work profile/launching any app installed under work profile then Uiautomatorviewer throws error:
Error while obtaining UI hierarchy XML file: com.android.ddmlib.SyncException: Remote object doesn't exist!
i am not sure why it behave like this suddenly, it used to work regardless personal / work profile last week.
i don't remember i change any configuration...
please help to give me clues why? i have followed many previous post suggestion to restart adb server, kill appium server, restart phone/laptop, disable enable developer options...etc. none works....
I tried to inspect personal profile now, the same error occurred:
Error while obtaining UI hierarchy XML file: com.android.ddmlib.SyncException: Remote object doesn't exist!
updated: i used appium studio inspector and it works. I still not sure what happened to adb or uiautomator via command line? how do i debug it?
found an answer
com.android.ddmlib.SyncException: Is a directory
try doing adb shell rm -rf /data/local/tmp and rebooting the phone first. it's ok if you get rm: /data/local/tmp: Permission denied. ignore it - it's for the tmp folder itself after its content was already removed (that's what you need anyway)

Failed to start tomcat.service: Unit tomcat.service is not loaded properly: Invalid argument

Failed to start tomcat.service: Unit tomcat.service is not loaded properly: Invalid argument.
See system logs and 'systemctl status tomcat.service' for details.
I have checked many times it is not working.
I don't know exact comands but for me it was a permission issue.
I gave permissions to user tomcat but tried to run service as default user.
Look for read/write permission and make sure you have them correctly.

Codename one uwp sumbission fail

I'm trying to submit an app to the windows store, but submission failed with the following error:
Invalid package publisher name: CN=Steve (expected: CN= ... )
, which make me realized that the AppxBundleManifest generated from server contains this line
<Identity Name="42415WefeelPharm.HttpRequestor" Publisher="CN=Steve" Version="1.0.1.0"/>
I've confirmed that the correct package publisher id is used to generate the certificate. Please advice on how to proceed. Any help is appreciated.
Edit:
The setting UI for Windows
Edit edit:
I used Windows 10, jdk1.8.0_131, Eclipse 4.7 for the build...
Go to your account settings -> https://dev.windows.com/en-us/Account/Management
In the page you will see your "Windows publisher ID" copy the value "CN=xXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX60"
Go to VS, open the Package.appxmanifest, go to the line:
Change "CN=Steve" to the value you copied, "CN=xXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX60", and that's it. Compile it and try again

AMQ119099: Unable to authenticate cluster user: ACTIVEMQ.CLUSTER.ADMIN.USER

When I was starting Wildfly 10 with full-ha profile, I was getting below error in the log file.
AMQ119099: Unable to authenticate cluster user: ACTIVEMQ.CLUSTER.ADMIN.USER
Even after this error, server was in running state.
I was getting this error because I have not changed the default password of subsystem messaging-activemq.
This error is gone after changing below line of domain.xml
<cluster password="${jboss.messaging.cluster.password:CHANGE ME!!}"/>
to
<cluster password="${jboss.messaging.cluster.password:mypass}"/>
It's required to specify a password for the cluster of messaging-activemq subsystem. It can be set using the following system property when starting the wildfly server:
... -Djboss.messaging.cluster.password=Abcd1234

Resources