Getting std::bad_alloc error within Shiny server - r

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/

Related

Continuously running send pipeline instance

An instance of a BizTalk send pipeline has started to run continuously. On 09/12/2021 an attempt was made to send a file via SFTP, which retried several times but ultimately failed due to a network issue. The error from the event logs is:
The adapter failed to transmit message going to send port "Deliver Outgoing - SFTP" with URL "sftp://xxx.xxxxxx.co.nz:22/To_****/%SourceFileName%". It will be retransmitted after the retry interval specified for this Send Port. Details:"WinSCP.SessionRemoteException: Network error: Software caused connection abort.
For some reason BizTalk made another send attempt at 1:49pm on 10/12/2021 which succeeded as confirmed by the administrator of the SFTP site. Despite this, BizTalk continued making intermittent send attempts and the pipeline instance is still running. The same file has been sent 4 times to the SFTP server.
The pipeline instance in theory should have suspended at 9:47pm on 09/12/2021. I have been able to confirm definitively whether anybody resumed it, but it seems unlikely at this stage. In any case, after sending successfully the pipeline instance should have terminated and should not be re-executing intermittently.
Does anybody know what could account for this behaviour? This is occurring on BTS2020 with CU2 applied.
I've sent messages over SFTP where the WinSCP interpretation of the date-modified attribute doesn't work with a specific type of SFTP server.
With the WinSCP GUI a dialogue box appears and you can disregard this error, but this option isn't available with BizTalk's GUI. This error appears when a file with the same filename already exists on the server and is supposed to be overwritten.
My solution was to create a pipeline component that removed %SourceFileName% on the server. The pipeline component (just like WinSCP GUI) can disregard the modified-date.

Spontaneous "connection refused" error using Selenium in R

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?

exception exit: eaccess on windows 10

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.

How to reconnect and continue normaly on "Error: MySQL server has gone away" in nodesql and MariaDB

I get Error: MySQL server has gone away from time to time using MariaDB and mariasql. The application stops working logically. Now I wonder if there is a way to catch this error, reconnect and continue normal operation.
After some research, I found that mariasql reconnects automatically, but make sure you listen to the error event, or your application will stop due to uncaught exception error.

network error (Tcp error)

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.

Resources