How to automatically recover from Bluemix Secure Gateway EPIPE error? - ibm-cloud

After running a bluemix secure gateway for a couple hours, I eventually start getting EPIPE errors. The only way I've found to resolve these is to delete and recreate the Secure Gateway Service (and then reconfigure things which depended on the gateway). Is there a way to automatically recover from EPIPE errors? I've tried stopping and restarting the docker container, but the only thing that fixed was to actually delete the service.

An EPIPE condition can no longer arise on our current level of server code. Please re-try your operation.

Related

asp.net 5 kestrel : sometime, unable to bind socket on a free port

While trying to start an asp.net 5 kestrel website, I sometime got this error :
Failed to bind to address http://localhost:5000
"An attempt was made to access a socket in a way forbidden by its access permissions."
The only way to solve the issue is to reboot the computer.
The port (5000) is not in use in TCPView or NETSTAT.
I tried to explicitly allow the app in the windows firewall, but no luck either. Same with fully deactivating the firewall.
I got this issue with a published website (kestrel) without any visual studio, and also in debug from VS2019.
My customers also have the issue around 1 day in a month, without any apparent reason.
Do you have any idea to help me track down this issue ?
Thanks.

500 Error: Failed to establish a backside connection on bluemix java liberty app

I deployed my java web application on Bluemix Dedicated environment and use it with Cloudant Dedicated NoSql DB. In this DB i tried to return 60k documents and server returned
500 Error: Failed to establish a backside connection
to me. So i'm wondering about connection timeout in Bluemix, there're posts where people claim that Bluemix resets a network connection in 120 if there's no response received. Is it possible to change this setting, or maybe someone knows how to solve such problem.
P.S. When I deploy it on my computer then it works fine, but of course it takes some time. Particularly this case may be solved using cloudant pagination, but i develop service for scheduling REST-calls and if bluemix reset all connections after 2 minutes i'll have a big problems with it.
Not sure which Bluemix Dedicated you are using, but the timeout is typically global. Paging would work and I thinking a websocket based approach would work as well.
-r

CA SCM Harvest Workbench E0306003e: Could not connect to Broker

In CA SCM Harvest Workbench, Version 12. 1..1.141 We face below error while check our or promoted. Not always but frequently. What should be done to overcome this issue? I tried to reinstall PEC in user matching, but it didn't fix it. Any solutions?
E0306003e: Could not connect to Broker: /pt_HBroker://r62dp10/0/haprd5 (Error Code = -307)
Error Code = -307 usually means that your SCM client cannot connect to your server. Look for network connectivity issues, e.g. try pinging server machine from client machine, try connecting to server:port via telnet. If you are an SCM administrator, ensure bkrd and rtserver are up and running. Otherwise, ask them.
If this happens just occasionally and stops happening by itself, there is probably some kind of problem in your network infrastructure, be it micro-cuts, noise, irregular latency...

load balancing wcf service with basichttp binding

I am having a wcf service which is hosted on iis, when 10 to 15 users accessing the service at a time, it is ends with an exception stating httprequesttimedoutwithoutdetails. I have increased the send, receive, open, closed timeout configuration but still in getting the issue. Can anyone please suggest any idea.

Problems with configuration of Bluemix server

I'm trying to increase timeouts in Bluemix. I've set all the timeout settings to 5 min. But after 2 min of a request I got an error:
500 Error: Failed to establish a backside connection
How do I solve this problem?
"This particular message probably comes from the L1 load balancer in Bluemix when it fails to get a timely response from the application it tries to route to. One of the possible cause here is because your application does not send any response back before the load balancer times out, which is 2 minutes if my memory serves me well."
https://developer.ibm.com/answers/questions/25439/bluemix-500-error-failed-to-establish-a-backside-connection-on-web-service-call.html
I would open up a support ticket if you need any additional help.