LambdaTest / CSharp-Selenium-Sample

MIT License
0 stars 3 forks source link

Testing Locally Hosted Or Privately Hosted Projects #1

Open eliassal opened 4 months ago

eliassal commented 4 months ago

Hi, It is indicated that to establish a tunnel, we need to run

LT -user {username} -key {user’s access key} So if your user name is lambdatest@example.com and key is 123456, the command would be:

LT -user lambdatest-username -key 123456

my username is salam, I tried LT -user salam -key mykey and LT -user lambdatest-salam -key mykey and LT -user myemail -key mykey whatever I use I get

No configuration file found. Proceeding with defaults INFO LambdaTest Tunnel version: 3.1.31 WARN Tunnel Name was not specified, using: 48aa03e4-cdf6-4636-8ece-df9d01b873c0 INFO Tunnel binary started on port :9090 INFO Using ssh(over_22) :: connection mode INFO Launching tunnel ERROR There was an error while starting tunnel: ERR::LUNCH::TUNN : Launch tunnel failed Request failed(401): {"message":"Unable to authenticate user, please try again"} ERROR Invalid Credentials, Please try again!

eliassal commented 4 months ago

Also, you notice in the error message LT looks for "configuration file", it is not indicated in the procedure what or which or how we should have this config file. Thanks for your help

eliassal commented 4 months ago

I have just discovered that the statement you mentioned LT -user {username} -key {user’s access key} is not correct as it should be double dash , and it is not username that we should use but it is the email with which we log to the lambdatest platform, so I successfuly created the session with LT --user myemail --key 00000000000000000000000gHV2DQaxY9

So now if you can please respond to my query about the config file LT is looking for, thanks