I have an erlang TCP server that works without a problem on everything but windows.
There it reports the error in the title of this question. I tries to disable the firewall in windows. Still I get the same error. What could the issue be?
Thanks
eacces is a posix message, it means that the code attempts to access to a file or a directory without the necessary rights. In the error message, you should have the line of code responsible for this error, and the call stack.
Related
I am using a Shiny web server within a virtual machine and it is throwing a strange error since a few days. Other apps within the machine work fine.
The error messages within the specific loge files are
Listening on http://127.0.0.1:33017
terminate called after throwing an instance of 'std::length_error'
what(): basic_string::_M_create
or
Listening on http://127.0.0.1:36529
SEND {"busy":"busy"}
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
How can I approach this problem? I can not reproduce the problem on my local machine, since it is running normally. How can I debug something like this?
The Webinterface just greys out and ask to reload: https://butterlab.imb-mainz.de/flydev/
I have written several different scripts that utilize the RSelenium package's automated web browsing. However, on occasion, the window will spontaneously close while in the middle of running, and I will get this error :
Error in checkError(res) :
Undefined error in httr call. httr output: Failed to connect to localhost port 4567: Connection refused
When this happens, the web browser will close which forces me to restart the script. Then, once restarted, the script will work fine. I run these scripts often (maybe a dozen times a day, ignoring re-runs due to the error), and have had this error happen at different stages of the scripts. The error seems to happen randomly. Does anyone have an idea of what could be causing this?
I am inside a network where I need proxy settings to access the internet.
I have a weird problem.
The internet is working fine.
But it is one particular instance when i get this error:
Network Error (tcp_error)
A communication error occurred: "Operation timed out"
The Web Server may be down, too busy, or experiencing other problems preventing it from responding to requests. You may wish to try again at a later time.
For assistance, contact your network support team.
This happens when I use hadoop in local mode.
I can access the UI interface. I can see the jobs running. but when I try to see the logs of each task.. i am not able to access those logs.
UI--> job-->map--> task--> all <-- this is where the error is..
Any clues?
THanks
Not sure about exactly what your tcp action is, or about Hadoop or your proxy setup, but if you can reliably repeat the error, and the timeout error happens at approximately the same time each time you test, and that time is on the order of minutes, my guess would be that you've got a true processing delay (perhaps caused by blocking somewhere) at the server, but not necessarily.
When I use my QT application to download this page: https://service.oneaccount.com/onlineV2_B/OSV2?event=login&pt=3 with QNetworkAccessManager->get(url), I got a network error (QNetworkReply::NetworkError) in the reply object. The error string is SSL handshake failed. However, the sslErrors signal is not fired so I don't even get the chance to ignore this error. I got the same problem on Mac and Windows version.
If I do the same thing with QT 4.74. It works fine.
Using QSslSocket::setProtocol(QSsl:SslV3) fixes the problem.
So, I used the example on http://www.jcraft.com/jsch/examples/Sftp.java and I was trying to connect to ftp.secureftp-test.com.
That destination is a valid testing SFTP server (as mentioned in secureftp-test dot com/). I confirmed it by connecting to the server through nautilus. I also made sure that the password on my program was correct as well.
But, when I run the program and it hits session.connect(), it just says "INFO: Connection established" then it becomes quiet for a minute then it return:
"com.jcraft.jsch.JSchException: connection is closed by foreign host"
I am pretty sure that it got stuck in the while loop of the library but I do not know why. I tried it against my local ftp server and it also had the same problem.
During the quiet moment, I can type. But pressing enter does not send anything to the server.
Has anyone heard or seen the same problem?
Okay, it seems that secureftp-test.com is NOT an sftp server. That is ftps server.
What I did instead was creating my own sftp:
http://wiki.vpslink.com/Configuring_vsftpd_for_secure_connections_(TLS/SSL/SFTP)
Then run the example code but making sure that I have these lines before doing session.connect:
String knownHostsFilename = "/home/yourname/.ssh/known_hosts";
jsch.setKnownHosts(knownHostsFilename);