I've just installed moodle-docker in my computer and I'm trying to run some behat tests. The tests are running and passing. I'm trying now to actually see those test through VNC, following the Using VNC to view behat tests section. However, when I try to connect from VNC I get an error:
connect: the requested direction is not valid in this context (10049)
How can I fix this?
I was able to fix it by setting port to 127.0.0.1:PI instead of 0.0.0.0:PI as the guide suggests.
Related
I'm attempting to get cypress working with rails in a single docker container. I'm using the Simplest possible Rails 6 + docker-compose project (at https://github.com/bdavidxyz/simplest-rails-docker), with cypress/included:3.8.1 (at https://github.com/cypress-io/cypress-docker-images/tree/master/included), based on the End-to-End Testing Web Apps: The Painless Way blog (at https://mtlynch.io/painless-web-app-testing/).
After building, I run docker-compose up and cypress tries to start. Then the rails server starts, cypress succeeds and tests run.
Cypress baseurl http://web-srv:3000/ gets 403
"landing" http://host.docker.internal:3000/ ECONNREFUSED 192.168.65.2:3000
google https://google.com works
localhost http://localhost:3000/hello/say_hello ECONNREFUSED 127.0.0.1:3000
---but I do see the rails welcome on a browser at localhost:3000.
Does anyone know a way to get Cypress to see the Rails output?
For clarity, I made a gitub repository with code and steps to reproduce: https://github.com/Sambalero/docker-cypress-rails (I'm on windows 10)
Thank you!
I am learning ethical hacking via an online course. During my practice, I am cracking the wifi password of my own router, but I am getting the following error:
WARNING: Failed to associate with XXXXXXXX (ESSID: XXX)
Can anyone guide me how I fix this issue? The device is in monitor mode and the command I am using is:
reaver -i wlan0mon -b XXXXXXX -vv
After -b you should insert the mac address of your router. You may be able to find it if you run "airodump-ng wlan0mon"; make sure your device is in monitor mode. Airodump-ng comes with Kali, so if you're using Kali Linux you'll not have trouble using this command.
Remember, do not try this if you're not allowed to access the network you're trying to.
I have just started to get myself familiar with Orleans for a project. I have some questions regarding that. I am currently using the Step by Step Tutorial. Unfortunately when I try to run the example with "Running in a Stand-Alone Silo" in my laptop, the Grains collection fails with lots of exceptions. I am not sure how to troubleshoot that?
The document mentions "OrleansHost.exe is a ready-made host executable intended for running Orleans code on Windows Server (Azure has a different host)". I am not sure what this means? Is this the reason why it does not work on my laptop which has Windows 10 running?
From your logs, it looks like you're still connecting to the gateway by port 4000, the default one. Have you tried specifying your client to use the same port as your server? The example uses port 3000:
var config = Orleans.Runtime.Configuration.ClientConfiguration.LocalhostSilo(30000);
I'm using the simulator (iOS 9.0).
I’m running the command: device_target=UDID cucumber
The simulator starts and the app is loading, but then the console hang for few min until time out.
I have the same issue when I run it manually in the console:
calabash-ios console
start_test_server_in_background
The error that I get is:
#<RuntimeError: Timed out connecting to Calabash server after 10 retries. Make sure it is linked and App isn't crashing>
RuntimeError: Unable to make connection to Calabash Server at http://localhost:37265/`
Make sure you don't have a firewall blocking traffic to http://localhost:37265/.
running the command curl http://localhost:37265 and get the error - curl: (7) Failed to connect to localhost port 37265: Connection refused
what I’m missing?
(the app developed in Xamarin)
device_target=UDID cucumber
This is not doing what you expect. Calabash responds to DEVICE_TARGET not device_target.
My best guess is that you need to check whether your .app is linked with Calabash.
Please see these two pages:
https://github.com/calabash/calabash-ios/wiki#reporting-problems
https://github.com/calabash/calabash-ios/wiki/Updating-your-Calabash-iOS-version#what-version-of-the-server-is-embedded-in-my-app
My application is unable to connect to my local Oracle 10g database (Windows 7) but I cannot figure out which aspect of the configuration is wrong. I can simulate the connection problem using sqlplus.
The following works:
sqlplus <username>/<password>
If I append the TNS alias, however, it does not work:
sqlplus <username>/<password>#XE
It appears to connect but then hangs, never giving me a command prompt. If I execute a "tnsping xe", it appears that the TNS information is all configured properly. How does one diagnose what the problem is? I have poked around in logs, event viewer, etc, but still have no clear picture.
try this:
sqlplus user/password#//IP:port/sid
port is usually 1521 depending on your installation.
e.g sqlplus user/password#//127.0.0.1:1521/XE