When starting session in appium recieving error: - android-studio

An unknown server-side error occurred while processing the command. Original error: Cannot verify the signature of '/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-uiautomator2-server/apks/appium-uiautomator2-server-v4.21.1.apk'. Original error: The JAVA_HOME location '/Library/Java/JavaVirtualMachines/jdk-17.0.1.jdk/Contents/Home ' must exist

Can you please check if JAVA_HOME is being configured on your local machine?

Related

Git push error: "unable to read askpass response from '', fatal: could not read Username for '': Device not configured"

I'm using MacBook andAndroid Studio.
When I tried to push to the remote repo I came across on this error:
Invocation failed Unexpected end of file from server
java.lang.RuntimeException: Invocation failed Unexpected end of file from server
at git4idea.GitAppUtil.sendXmlRequest(GitAppUtil.java:30)
at git4idea.http.GitAskPassApp.main(GitAskPassApp.java:58)
Caused by: java.net.SocketException: Unexpected end of file from server
at java.base/sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:866)
at java.base/sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:689)
at java.base/sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:863)
at java.base/sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:689)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1615)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520)
at org.apache.xmlrpc.DefaultXmlRpcTransport.sendXmlRpc(DefaultXmlRpcTransport.java:87)
at org.apache.xmlrpc.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:72)
at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:194)
at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:185)
at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:178)
at git4idea.GitAppUtil.sendXmlRequest(GitAppUtil.java:27)
... 1 more
error: unable to read askpass response from '/.../.../Library/Caches/Google/AndroidStudio2021.2/tmp/intellij-git-askpass-local.sh'
fatal: could not read Username for 'https://gitlab-sfo.xxx.net': Device not configured
I tried:
Confirm Use credential helper in the Android Studio settings
Invalidate caches and restart.
It didn't help. Any suggestions?
I was changing my password few weeks ago, maybe this causes issue?

Check Sum Errors on Checkout

On a virtual host server, I have 1 repository that I can no longer checkout from a remote computer. Checkout works fine if I'm checking out on the server itself. All other repositories on the same virtual host server work without a problem, though none of them have as many files as this one.
When I check out on a remote computer, checkout goes a certain number of files, then starts displaying checksum errors, usually between 2 and 6 at a time. If I delete the checked out folder and try again with a new folder, it will stop after about the same number of files, and the collection of files with checksum errors is different from the previous checkout. Checking out on a different remote computer gets the same random results.
First try:
Error: Checksum mismatch for
Error: 'C:\Users\jkorc\Documents\Projects\VHost\RoyalProvincial\Genealogy\Settle\settle.shtml':
Error:
Error: expected: b450dbef2a3ceb9542a4e22b4b3e50fe
Error: actual: 9454a4eb5afdbc215bffcc619f537fa3
Error: Additional errors:
Error: Checksum mismatch for
Error: 'C:\Users\jkorc\Documents\Projects\VHost\RoyalProvincial\Genealogy\Settle\lndnjv1.shtml':
Error:
Error: expected: e187d974743d0129a6c72413f205458c
Error: actual: 73c0b6aba9a9a42409e2cf7e6d043049
Error: Additional errors:
Error: Checksum mismatch for
Error: 'C:\Users\jkorc\Documents\Projects\VHost\RoyalProvincial\Genealogy\Settle\lndfraser.shtml':
Error:
Error: expected: 151444dc294357ba42a640333c94b6f7
Error: actual: 900ffa360acd460773acbe1759578533
Error: Additional errors:
Error: Checksum mismatch for
Error: 'C:\Users\jkorc\Documents\Projects\VHost\RoyalProvincial\Genealogy\Settle\lndretn1.shtml':
Error:
Error: expected: 6b8791dc78b0af936d6d7e70e11b69ee
Error: actual: dd7af732663345c6401861c89331adea
Error: Additional errors:
Error: Checksum mismatch for
Error: 'C:\Users\jkorc\Documents\Projects\VHost\RoyalProvincial\Genealogy\Settle\lndrfa2.shtml':
Error:
Error: expected: 7451fedd09e1f99adf4c4af2668c4942
Error: actual: 548f947ce54c697957daa4efa4192786
Error: Additional errors:
Error: Checksum mismatch for
Error: 'C:\Users\jkorc\Documents\Projects\VHost\RoyalProvincial\Genealogy\Settle\lndpwar3.shtml':
Error:
Error: expected: f7fba4f2a3a468df6c4948eaa034e119
Error: actual: 0f3c2da13e55a7c0271743e7d145cfca
Error: Additional errors:
Error: Checksum mismatch for
Error: 'C:\Users\jkorc\Documents\Projects\VHost\RoyalProvincial\Genealogy\Settle\lndrhe1.shtml':
Error:
Error: expected: 32cc673b06be5806bc6bc66000d5ec75
Error: actual: 5356175235c395577793e9fa9f0b9bb7
Second try:
Error: Checksum mismatch for
Error: 'C:\Users\jkorc\Documents\Projects\VHost\RoyalProvincial\Genealogy\Settle\Petition_Teder_M_1795.shtml':
Error:
Error: expected: c29978209a203cd254c641bd931739e5
Error: actual: e4042c36b5ff42a01eb890044d64b131
Error: Additional errors:
Error: Checksum mismatch for
Error: 'C:\Users\jkorc\Documents\Projects\VHost\RoyalProvincial\Genealogy\Settle\lndbrng1.shtml':
Error:
Error: expected: 6daeec06c6290557ca6b0de0d551fc43
Error: actual: 598d6bad86117e4cf8f384ed523800aa
I created a new repository of the same files on the same server. Same problem, except I start getting checksum errors after downloading only about a dozen files instead of a few hundred. The server is on Subversion 1.13.0, Tortoise is 1.13.1.
Any ideas what kind of problem I should be looking for?
My assumption would be that a certain folder has a corrupt checksum (for whatever reason).
Fist of all I'd check integrity of the SVN. Some instyructions can be found here:
https://www.darklaunch.com/fix-svnadmin-checksum-mismatch-while-reading-representation.html
There's quite some people experiencing this issue. The easy work around normally mentioned is to recreate the repo:
Copy the content to a temporary directory
Add the folder as new one to SVN
As the new content will get new checksums, those should be ok for all folders afterwards
If you want to do some direct editing, here's a post that corrected the SVN files successfully (use at own risk, make backups!)
https://maymay.net/blog/2008/06/17/fix-subversion-checksum-mismatch-error-by-editing-svnentries-file/
I once had strange behaviour when content on net packages had been capped as well. That was caused by the MTU (Maximum Transfer Unit). SVN seem to struggle here as well, so adjust the setting in your network infrastructure. Here's a link to a similar issue with SVN involved.
https://serverfault.com/questions/392881/tortoise-svn-repo-browser-checkout-over-vpn
As summary: To isolate the issue I would do the following steps:
A) See if the repo's SVN metadata is cause:
log to server
copy the repo as filesystem (without SVN data)
create a new repo with the files
connect svn client from other host. If all goes well the SVN metadata is corrupt
b) Check if it's host/network specific
Do the same as A but from other host (= create the repo from there)
List item
c) Check if network MTU is ok
do check up to which size packets will be transferred ok (will not go into details as this is very OS/infrastructure related, but you'll find lot's of infos)
note hops/VPNs/multiple routers/IPv4-IPv6 can all play into this
Having written all that: Did you crosscheck behaviour with a second SVN client in the first place? Might be the first thing to do.

Chef-server-ctl reconfigure/ Creating Admin User on chef server

I am fairly new to Linux (and brand new to chef) and I have ran into an issue when setting up my chef server. I am trying to create an admin user with the command
sudo chef-server-ctl user-create admin Admin Ladmin admin#example.com
examplepass -f admin.pem
but after I keep getting this error:
ERROR: Connection refused connecting...
ERROR: Connection refused connecting to https://127.0.0.1/users/, retry 5/5
ERROR: Network Error: Connection refused - Connection refused
connecting to https://..., giving up
Check your knife configuration and network settings
I also noticed that when I ran chef-server-ctl I got this output:
[2016-12-21T13:24:59-05:00] ERROR: Running exception handlers Running
handlers complete
[2016-12-21T13:24:59-05:00] ERROR: Exception
handlers complete Chef Client failed. 0 resources updated in 01 seconds
[2016-12-21T13:24:59-05:00] FATAL: Stacktrace dumped to
/var/opt/opscode/local-mode-cache/chef-stacktrace.out
[2016-12-21T13:24:59-05:00] FATAL: Please provide the contents of the
stacktrace.out file if you file a bug report
[2016-12-21T13:24:59-05:00] FATAL:
Chef::Exceptions::CannotDetermineNodeName: Unable to determine node
name: configure node_name or configure the system's hostname and fqdn
I read that this error is due to a prerequisite mistake but I'm uncertain as to what it means or how to fix it. So any input would be greatly appreciated.
Your server does not have a valid FQDN (aka full host name). You'll have to fix this before installing Chef server.

banquo/phantom nodejs error - Cannot read property 'createPage' of undefined

im trying to run https://github.com/ajam/banquo-server and receiving and error
Cannot read property 'createPage' of undefined
Express server listening on port 3000
Requesting http://america.aljazeera.com
/root/banquo-server/node_modules/banquo/src/banquo.js:36
ph.createPage(openPage);
^
TypeError: Cannot read property 'createPage' of undefined
at createPage (/root/banquo-server/node_modules/banquo/src/banquo.js:36:7)
at /root/banquo-server/node_modules/node-phantom/node-phantom.js:65:6
at null._onTimeout (/root/banquo-server/node_modules/node-phantom/node-phantom.js:43:5)
at Timer.listOnTimeout (timers.js:110:15)
error: Forever detected script exited with code: 1
error: Script restart attempt #7
connect.multipart() will be removed in connect 3.0
visit https://github.com/senchalabs/connect/wiki/Connect-3.0 for alternatives
connect.limit() will be removed in connect 3.0
I have checked and an error is being returned from node-phantom.js:36 but does not specify what.
any ideas?
regards
I've had the same issue and fixed it adding the phantomjs binary to PATH.
You can test if it is already set running the command:
$ phantomjs
The following error means that it isn't:
'phantomjs' is not recognized as an internal or external command, operable program or batch file
As you said in a comment:
not a bug as this works on my local mac, not on external server
So, that's not a problem with your code. That's a problem with your environment so I guess that you also missed to set the PATH variable.

rlm_eap error running freeradius in openwrt

I am running openwrt on beagle bone black board. I am getting following error while running freeradius.
radiusd -X
rlm_eap: SSL error error:02001002:lib(2):func(1):reason(2)
rlm_eap_tls: Error reading certificate file /etc/freeradius2/certs/server.pem
rlm_eap: Failed to initialize type tls
/etc/freeradius2/eap.conf[17]: Instantiation failed for module "eap"
/etc/freeradius2/sites/default[312]: Failed to find "eap" in the "modules" section.
/etc/freeradius2/sites/default[254]: Errors parsing authenticate section.
when i checked there is no "cert" directory present in /etc/freeradius2/. Plz help
Problem was solved after installing freeradius2-democerts_2.2.7-1_omap.ipk
after installing following error might trouble:
Debug: Module: Checking authorize {...} for more modules to load
Error: /etc/freeradius2/sites/default[160]: Failed to find "reject" in the "modules" section.
Error: /etc/freeradius2/sites/default[69]: Errors parsing authorize section.
to resolve this go to /etc/freeradius2/sites/default line no. 160. comment the line which has reject word.

Resources