wso2 msf4j microservice is timeout - wso2

I am using wso2 msf4j to implement micro services in my project. I have the following issue,
Microservice is sometimes timeout.
Microservice is sometimes turned off.
I didn’t see anything in logging despite the logging mode is debug, and I logged many places in my code. I don’t have any starting points to debug and address those issues.
Could anyone help me to address those issues.
Thank you very much.

Related

Stuck on complying with domain verification requirements

Recently I have been trying to re-boot my app. This includes adding google play services to my app.
I setup a google cloud platform account and then linked it with the developer console for my app.
Next I setup the OAuth consent screen. After completing everything it asked me to verify my website and domain; I completed this step with the google search API.
Despite all of these efforts I still got the error, Pending developer action.
Here is my verified domain (blurred out for obvious reasons):
After observing the documentation a little bit more, it tells me that I must continue/reply to the email thread with their Trust and Safety team, but I have not received any emails from them with my developer email -
Thanks in advance
-James
I have actually found the solution to this problem, and I think I can safely say that this is due to human error every single time.
When linking your google play app in the developer console to google cloud it might automatically create one for you, but if you reload the page it will make a second one. You have to make sure you select the right google cloud app to link because it might not properly connect if you use the wrong one.
Once you have done this you need to create a website or link a website that has been verified (you can verify it yourself) with google. You should then be able to setup your app easily! Not every step will be instant you might sometimes have to wait a day or two for it to work.

Informatica Administrator: Domain site refuse to connect

I have successfully completed the installation of informatica, and I am able to login domain Administrator http://ssingh:6008/administrator but the session get timed out after some time of inactivity.
The issue I am facing is It shows error to reconnect i.e. ERR_CONNECTION_REFUSED. Although this issue does not occur everytime, but frequently seen this issue.
Thanks in advance for the solution to resolve this issue.
It requires informatica service to be up and running. So go to System services and Start Informatica service. Wait for few minutes once service get started, and then will be able to view Administrator page.
P.S. I got this answer after self experimenting it. If any one knows better answer please do post it here. Thanks!
I have the same issue and as you suggested, all what we need to do is to check if the service is running under Control Panel > Administrative Tools > Services (for Windows users) and be patient. My browser connects to the tool automatically after 3 or 4 minutes. Thank you!

How to make Django pass cookies when communicating with Node.js server using socket.io?

I am currently developing an instant messaging feature for my apps (ideally cross platform mobile app/web app), and I am out of ideas to fix my issue.
So far, I have been able to make everything work locally, using a Node.js server with socket.io, django, and redis, following what most tutorials online suggest.
The step I am now at consists in putting all that in the cloud using amazon AWS. My Django server is up and running, I created a new separate Node.js server, and I am using Elasticache to handle the Redis part. I launch the different parts, and no error shows up.
However, whenever I try using my messaging feature on the web, I keep getting an error 500:
handshake error
I then used the console to check the request header, and I observed that the cookies are not in there, contrary to when I am on localhost. I know it is necessary to authorize the handshake, so I guess that's where my error is coming from..
Furthermore, I have also checked that the cookies do exist, they are just not set in the request header.
My question is then: How can I make sure Django or socket client (not sure who's responsible here..) puts the cookies in the header??
One of my ideas was that maybe I am supposed to put everything on the same server, with different ports, instead of 2 separate servers? Documentation on that specific architecture problem is surprisingly scarce, compared to the number of tutorials describing how to make it work on local.
I hope I described the problem accurately enough! :)
Important note: I am using socket.io v0.9.1-1, only one compatible with a titanium mobile app.
Thank you for any help!
All right, so I've made some progress.
The cookie problem came from the fact I was making cross-domain request, adding a few lines enabled CORS, which didn't solve the cookie issue, but allowed me to communicate between servers (basically I set the headers of the response using express. I then passed necessary data in the query, even if not the most secure way to do it, I'm just building an MVP, and it's enough for now.
I haven't been able to make the chat work from my Titanium mobile app, but since I can use a webview to handle it, I will be fine.
Hopefully that will help someone.. If anyone needs me to post some code snippets I will gladly do so upon request!
Cheers

Does anyone have detailed and accurate travelocity.com sample app instructions that work?

The WSO2IS sample app instructions are less than accurate and there are some key details to the instructions are missing. Does anyone have a complete set of instructions that will actually produce a working example?
Also, it seems like localhost is coded everywhere, some guidance on how to add and update the service provider and identity provider that are on different hosts is important.
also, is the patch or service pack needed for this to run correctly? That info is not in the documentation or blogs I've been reading from WSO2
I've written a post on configuring the sample for a tenant scenario1. You should be able to configure using this. Change the hostname of SAML.IdPUrl in WEB-INF/classes/travelocity.property to that of IS. Change Assertion Consumer URL at SP registration and on WEB-INF/classes/travelocity.property to that of SP(travelocit app).
1 - how-to-configure-identity-server-sso

How to Stop Elmah from Logging Errors using Configuration.?

I have used Elmah for many of my web applications till date Thanks to Atif Aziz.
Now I am trying to use Elmah in one of my windows based application. Before implementing
I m trying out some Examples and so far everything works Good.
But Do we have any configuration which can help me stopping Elmah at once ?
My Client doesnt want to have Elmah enabled for few of his Environment. I didnt come across
such kind of settings in Elmah except I have heard once about ErrorEmail configuration.
DO any one knows how to stop Elmah using configuration from logging emails ?
Thanks in advance.