Fabric plugin not working with proxy - google-fabric

I'm currently facing an issue with Fabric plugin(4.1.1) in Android Studio 2.3 where Fabric doesn't seem to work well with a proxy.
To configure the proxy I searched through Fabric documentation's and found this : https://docs.fabric.io/android/crashlytics/advanced-setup.html#proxy-setup
I created idea.vmoptions and filled it with proxy configuration, but I still can't connect to my account or even fetch Fabric's dependencies.
So I checked the logs in idea.log and it says :
com.crashlytics - Crashlytics could not retrieve proxy settings from IntelliJ
java.lang.NoSuchFieldError: PROXY_LOGIN
Since the proxy that I use doesn't needed identification, I added this field in idea.vmoptions and leaved it empty but I still get this error.
I don't know what else to try.

Related

"handshake_failure" error trying to connect IDEA to Jira

I am trying to set up jira as a task server in IDEA IntelliJ.
I am getting handshake_failure error when I try to test my connection.
Reading about it in SO and Atlassion forums, I tried several things but none worked:
downloading the certificate from jira server and installing it in intellij
adding -Dhttps.protocols="TLSv1" to my .vmoptions IDEA startup config file
It happens both to my corporate jira instance and to external public jira servers.
In addition, it also happened with IntelliJ 2016.
Has anyone managed to get this working?
The problem was that the server used a cipher that was disabled in my jvm.
In order to fix, I uncommented
crypto.policy=unlimited
in my jre <jre-home>\lib\security\java.security
see this SO question or this one for more details about security policies

IntelliJ "Initialization failed for 'https://start.spring.io' Please check URL, network and proxy settings"

Today when using IntelliJ (MacOS) & Spring Boot to create a new project, I started seeing this error:
"
Initialization failed for 'https://start.spring.io' Please check URL, network and proxy settings
Error Message:
Error parsing JSON response
"
My home network has no HTTP proxy settings, just plain vanilla Internet.
IntelliJ / Preferences / System Settings / HTTP Proxy / Check Network Settings: says network connection is ok. And this same setup worked here 2 days ago.
Browser connection to https://start.spring.io also works.
I tried Googling this issue, but mostly found HTTP Proxy setting issues that I don't have (I am typing this w/o HTTP Proxy settings in browser :-)).
Maybe this is just a transient issue with start.spring.io? or ... ?
Anyways confusing.
If your r able to open the same url in your browser then the issue is with the proxy settings on the IDE.
In that case, we can define the existing browser proxy settings to the intelliJ as below-
On the IDE, Open --> File -> Settings -> Appearance and Behavior ->System Settings -> HTTP Proxy --> Select Auto-detect proxy settings and set the Automatic proxy configuration URL.
Then we can able to connect to spring initializer through intelliJ IDE
try to use 'http://start.spring.io' instead of 'https://start.spring.io'.
it works for me.
It looks like Spring Initializr is broken for both IntelliJ IDEA and Spring Tools Suite, I reported this to the initialzr project:
https://github.com/spring-io/initializr/issues/267
If you use VPN this can cause trouble with the connection.
Switching VPN off can help.

Unable to access glassfish served content when using localhost

I created this simple dynamic web project (glassfish 4.1.1 latest atm) using eclipse java ee Mars.2 that I installed 2 days ago.
Checking on the admin, the app is deployed and running fine. I could not access the web app using the localhost:8080 url but it works when I use <computername>:8080.
I could access the admin using localhost:4848.
I tried disabling the firewall but the problem persists. What could be the problem?
The error is:
404 Not Found
No context found for request
In eclipse I see the log int he console that says: Automatic timeout occurred
As I pointed out in comments, you can configure listeners in Configuration -> needed configuration -> Network Config -> Network Listeners. However, it is still rather strange that your localhost doesn't work with 0.0.0.0 IP address, since it is a special address which means "listen on all available IPs on given port". Perhaps your network is somehow misconfigured.

IBM MobileFirst Platform 6.3 Operational Analytics Failed installation for Tomcat

I have installed MobileFirst 6.3 appcenter console, worklight console successfully, they are operating fine on Tomcat/7.0.57. However when I try to install Operational Analytics, the documentation has the following
http://www-01.ibm.com/support/knowledgecenter/SSHS8R_6.3.0/com.ibm.worklight.installconfig.doc/monitor/c_op_analytics_installation_tomcat.html
I am using tomcat manager http://localhost:8080/html to deploy the war files. logging in as manager, with the manager-gui role.
worklight-analytics.war - deployed with no issues
when I select the worklight-analytics-service.war file and deploy in the GUI, it throws a blank page first, indicating "connection error", and when I refresh the page, on the status bar in Tomcat manager GUI, I get this message - "FAIL - Tried to use command /upload via a GET request but POST is required";
Please provide some direction on what I need to do get this fixed. I am not sure If I have provided all required information - please bear with me and ask, if anything relevant (obviously I can't figure out what is relevant yet) is required to debug.
So I was able to reproduce your error and I saw this in the logs:
java.lang.IllegalStateException:
org.apache.tomcat.util.http.fileupload.FileUploadBase$SizeLimitExceededException:
the request was rejected because its size (57353297) exceeds the
configured maximum (52428800)
It looks like by default, the web UI will only upload WARs of size 50MB or smaller. The analytics service WAR file is larger than this, so that is why this is failing. I was able to increase the limit by modifying the following lines in
/webapps/manager/WEB-INF/web.xml
<max-file-size>100000000</max-file-size>
<max-request-size>100000000</max-request-size>
This will increase the limit to 100MB. After I did this, I was able to successfully deploy the service WAR.
Just as a heads up, once you get the WAR deployed, you'll be presented with the login page. You'll need a tomcat user with the 'worklightadmin' role in order to get past the login screen.
The worklight-analytics-service WAR file does not have a user interface. It is simply referenced by the worklight-analytics WAR file. When both WARs have been deployed, can you see the analytics console? And does data load just fine? If so, then everything is fine. There is only an issue if you are unable to use the user interface provided by the worklight-analytics WAR file.

Deployment in WebLogic Issue

I am a newbie.I am using Weblogic 10.0.0.0..I am getting an validation error in first page(Login Page wit user name and pwd) as "logger is not initialized",while deploying. I do the same thing with tomcat, and the .war is imported and deployed is success. What is the reason? and also ,in weblogic 10.0.0.0 we have two jdk's(jdk 1.6 and Jrockit)...in my system i m having 1.6.0_17..so which one it takes.i forgot which i choose while installing..whether it takes from wblogic jdk or which one?..wher i m going wrong..its a small one i notice..but could not figure out..plz lemme kno??
This is either because you haven't configured your WLS installation correctly. When you first setup your console there is a parameter you have to change in your auth file that if not set with cause this issue.
Or you are selecting logging during deployment from the admin console and you haven't configured log4j in your application.