I just installed WSO2 iotserver 3.1.0 .
When i try to enroll a device (Android) i get :
Enrollment failed
Please contact administrator. Code : 500
Error : java.io.EOFException
I have yet to figure out the issue.
Does anyone know how to fix this?
Thanks
This could happen due to multiple issues.
If you are using HTTPS instead of HTTP without installing the certificates to the android agent (For this you will have to compile the Android agent. More information). When you are enrolling, give the server address as {IP}:8280 and username/password as admin/admin.
If the server is not accessible by the device. Please make sure that device is in a network which has access to the server.
Ports not being opened.(8243, 8280, 9443, 9763)
Due to a configuration error.
The best solution is to run the change-ip.sh script to set up the server. More information
Do it like below :
do not give your server ip address (112.234.34.888) or the IP address with 9443 port like (112.234.34.888:9443).
STEP 1 : Tap on Continue
STEP 2 : tap on skip and go to enrollment
STEP 3 : enter your server IP address with the port 8280. make sure port 8280 is opened in your server.
FINAL STEP : Enter the credentials like below. then your are good to go.
Related
I have a problem on my EMM virtual machine.
When I go to my console an error appears, as the screen shows
I think I have done all the previous tasks correctly, but only the people who do not work are not mistaken, so the error can come from the previous steps.
I'm running Windows Server 2008 64-bit
I have Java JDK 8 update 121
I have the latest version of WSO2 EMM
I'm logged in admin
This is due to the SSL certificate available in wso2carbon.jks in set to localhost not to the ip address. You can simply navigate to the emm server by clicking on the WSO2 logo.
and you can create a self singed SSL certificate to the ip address and replace the current cert in order to prevent this screen.
I have a weblogic folder, From this - How can i find the adminurl that I can use with the below command
java weblogic.Deployer –adminurl t3://server:7001 –username system –password weblogic –listapps
I tried looking into setupinfo.txt, portlist.ini - but somehow this did not help/work. How can get this working?
I get errors/exceptions like these (after few attempts)
The loading of the trusted certificate list raised a certificate parsing exception PKIX: Unsupported OID in the AlgorithmIdentifier object
Unable to connect to 'http://server:7001': Destination unreachable; java.net.ConnectException: Tried all: 1 addresses, but could not connect over HTTPS to server: localhost port: 7102; No available router to destination
based on setupinfo.txt, I am able to login to the web console - but I need to know how to get this command working with adminurl !!!
Thanks,
Got it, thanks Alex.
Steps
Find startscript.xml under your weblogic domain , search this file for "ADMIN_URL"
The same can be done by web console UI ..... Admin Console Login to AdminConsole->Server->Configuration->ListenPort (enable and note down the port)
Bingo.
I want to check if a server or ip has ftp service running before connect to it. I have the next code, however if the ftp service is not active I get: "Error: failed to connect to localhost...NNREFUSED (connection refused)"
I want to capture this error to show message if service is offline or continue if is online.
ftpClient.connect(localhost, 21);
Boolean temp = FTPReply.isPositiveCompletion(ftpClient.getReplyCode());
Log.d(TAG,"respuesta server: " + Boolean.toString(temp));
The main problem is that in line 1, logcat shows the error and the lines after it are not executed.
I don't know if with FTPClient is possible, if not, something similar to make a "telnet localhost 21" manually for example.
Note: the error is not a exception.
I want to check if a server or IP has FTP service running before [trying to] connect to it
No you don't. The best way to tell whether it's running is to try to connect to it. If you get a connect exception, it isn't running. No other scheme you can devise will work as well.
I have a Java app that sends email via Apache Commons Email. The app works just find on my development environment, but when I deploy it to the server, I'm getting an error that Commons couldn't connect to the email server.
org.apache.commons.mail.EmailException: Sending the email to the following failed : 255.255.255.255 :587
...Error authenticating with server.
Just to be sure this wasn't my configuration, I've tried on 2 different email providers, 1) Our email company email provider 2) Gmail. Both work on my dev and both fail with the same message on the server.
I've tried several ports and IP combinations. I've turned SSL on and off. I've checked with our email provider. I'm left with a configuration of either the server or the network.
I work remotely so I'm not on the same network as our servers, but I the app works for me even if I am on VPN.
I've used telnet from within the server and I can connect to the email provider on the proper port.
Does anyone have anything else I can try?
Thanks.
Edit
The error I'm getting is an authentication error. Could there be a security setting to prevent the credentials from being passed?
Still sounds like a permission problem. Ports below 1024 are restricted. Start your app with sudo permission.
It appears I was missing 1 line of code.
Assume "email" is my mail object...
email.setSSL(true);
All is working now. I'm not sure why it wasn't working before.
Please help;
Am trying to deploy a web application.
The build is returning successful,and am not getting any errors on the sever.log
however am getting a http 503 error:the requested service() is not currently available
and also my
Java DB Database Process has this message
Warning: UnknkownHostException: intracare: intracare.
Could not listen on port 1527 on host localhost.
am using glassfish v3 prelude
Possibly you already have another application (perhaps another JavaDB instance?) listening on port 1527 - that could explain the "could not listen" message. Use netstat to check.
I think that UnknownHostException is related that intracare can't be resolved to an IP.
I would:
Ping that host.
Check C:\WINDOWS\system32\drivers\etc\hosts or /etc/hosts files.
Regards.
Check the DNS settings on the host. Your short names do not resolve correctly.
Mayby string you are typing as a host name is wrong? Maybe it is firewall problem?