Unable to connect to a NATed peer - jxta

I've successfully started RendezVous_Hans_A_Multicast_Participant on one PC and on another I've started Edge_Teyacapan_Another_Multicast_Participant but the connection between them is not getting established. Both the PCs are behind the same Wifi router NAT.
Is this the correct way to connect peers behind a Wifi router using JXTA 2.6 ? Am I missing something?
Thank you.

Holly,
Please do use JXTA version 2.7 instead of 2.6. Also, can you post the log messages that JXTA spits out. The messages are very helpful in finding out the problem.
Thanks
DD

Related

Sending email with camel

I'm having issues sending an email out through camel with the java dsl.
I've been using the camel mail guide but I receive the following error.
Caused by: [com.sun.mail.util.MailConnectException - Couldn't connect to host, port: smtp.google.com, 25; timeout 30000]
Here is what I have in my route
from("timer://foo?period=5000") // Create a message every 5 seconds
.setHeader("subject", simple("hello from camel"))
.setBody(simple("camel"))
.log("sending?")
.to("smtps://smtp.google.com?password=mypass123&username=user#custom.com&From=user#custom.com&To=testuser#gmx.com");
The email service is actually provided by gmail. Now I did see a gmail plugin, but its pretty tough to find an example, so I thought I would use the standard method for now. But if someone knows the solution using it, I welcome it!
PS. I have camel-mail dependency and thecamel-google-mail which I'm not using.
Versions 2.20.2
It was due to less secure apps not fully being turned off.
Use this link here https://www.google.com/settings/security/lesssecureapps
Also some of the silly mistakes pointed out in the comments.
Thanks!

Error 502 Bad Gateway on Ngrok when i try connect with alexa

when i try connect amazon develper with raspberry pi, using ngrok, only output 502 Bad Gateway.
I tried all, and i saw a lot fórums like this, but anything worked. I'm trying https://developer.amazon.com/blogs/post/Tx14R0IYYGH3SKT/flask-ask-a-new-python-framework-for-rapid-alexa-skills-kit-development.
Can you help me? Thanks
try using ./ngrok http 127.0.0.1:YOUR_PORT
Make sure your program is running on the Pi. Check localhost:"Your port number" and see if your default page shows up. ngrok simply tunnels whatever is on your localhost onto a web endpoint. Make sure your port number is correct. I know Flask-Ask uses port 5000.

Cannot access Apache Zeppelin server from browser

I have a virtual machine running Ubuntu 16.04 and I have downloaded Apache Zeppelin 0.7.0. The problem that I am facing is that when I try to start the Zeppelin server using bin/zeppelin-daemon.sh start it says ok but I cannot access it from the browser(using the default localhost:8080). If I run bin/zeppelin-daemon.sh status it says that the server is already running.
Also, I tried to start the server using bin/zeppelin.sh and this time some information is displayed in the terminal but with no effect.
Any idea will be highly appreciated.
Thank you!
I had the same issue. I was getting errors in my browser console like the screenshot below.
After cleaning the cache, it works.
Following the tutorial from their website (link) I managed to run it. This implies building it from sources. Also, I had to wait a couple of minutes before the zeppelin was available at localhost:8080 (even though in the terminal "server started [OK]" was displayed
[Icant able to connect to the server using zeppelin notebook Can any tell me the solution

Issue with getting started with beagle bone, cant access 192.168.7.2

I just started with the beaglebone and I have no prior knowledge of
programming. I tried to follow this link" http://beagleboard.org/Getting%20Started". In the initial steps after installing the drivers, i fail in the STEP 3 : when i try to connect to 192.168.7.2( i typed the same in the url) , I get the following error The following error was encountered while trying to retrieve the URL: "http ://192.168.7.2/ " Access Denied. Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect. Your cache administrator is .......
I read that this step is important to get access to the browser on the board ? if so what should i do? kindly help!!
regards
Try cleaning your browser cache. By the message you've received, it can be a problem with your firewall also, you should disable it and try to reconnect to the bbb.
Regards,

Error when connecting to a CYC KB

I am using openCyc and I am trying to connect to an image of a Cyc KB. I can browse this image on my browser (using chrome) and can successfully ping the address from the command line.
Now, when I try to create a new CycAccess("server", "port) the correct server and port of the image I am browsing on the browser I get an error saying connection refused which is printed out to the terminal.
For the server, it is simply xxxxx.yyyyy.com and the port is just for example 6622. Am I formatting this wrong or something?
Why would this happen?
Thank you,
Rich
I found out the answer to my question. IDK if this well help anyone else so I am going to post it.
Answer:
The port that you typically access a CYC Image through the browser is not necessarily the port that you will access it through the OpenCyc API. When I changed the port, it solved my problem.
Rich

Resources