Closed Ashraf407 closed 5 years ago
@Ashraf407 Could you give us more information like:
Also does this issue occur when you try to run the specification? Is this specific to running a scenario from IntelliJ?
-2018.3.4 and 2019.2(latest) both I have used.
I was getting executing any scenario of the spec and also executing the any spec file also.
Hi Apporva,
Could u please help me on that.
Thanks, Ashraf
Thanks Apoorva.. Waiting for good response from your your side. Kindly let me know if u got any information about this.
Thanks, Asharf
@Ashraf407 Can try looking at the log files, specifically the gauge.log
file for any errors reported there. This will help us better debug the issue.
Also, if you can (and don't find any errors), please try to install Gauge 1.0.6 version and also Gauge Java nightly version and see if there are any errors and share the log file if possible. You can find the installation instructions in https://github.com/getgauge/gauge-java#nightly-installation.
I can't able to share that there is some security arms.
I have seen which are failed in log. 1)java-install-json failed to download. 2) html-report-install.json
So I was exqeuting single by using scenario I am facing this issue. But when I was executing with mvn command it's working even it's failing which mentioned above . So I unable debug my code from past 1 month . My team members also facing same issue kindly do some help for that.
@Ashraf407 If I understand correctly, you are using Gauge Java with Maven. If you are doing so, you will have to use the mvn command to run the Gauge specs, otherwise it will not work. If you are using IntelliJ to run your specs, it should be handled automatically.
I have seen which are failed in log. 1)java-install-json failed to download. 2) html-report-install.json
These errors occur if java or html-report was not able to install due to lack of internet connection. Are you behind a proxy network? If you are please ensure that you have setup HTTP_PROXY. Please refer https://docs.gauge.org/configuration.html#http-proxy. If you are not able to setup these, please install gauge java and html-report manually. You can install the plugins offline like shown in https://docs.gauge.org/installation.html#offline-installation-of-plugins.
I can't able to share that there is some security arms.
You don't have to share the whole files. Please look at the files and just let us know of any errors/exceptions in them. You can past the error message(and stack traces if possible) only here.
Both I have done previously also . Gauge - maven - plugin is 1.3.0 I took updated version is not wrkng.
And other thing is I have tried 2 option also .zip files it got added in plugin of gauge folder while running the scenario again installing required plugins I thought it's not a offline downlaod. This is configure for gauge before we create a java project I think so.
Gauge-java-nightly , and maven gauge-java-nightly ,
Wt is the difference between them. Previously it was not there.
@Ashraf407 The gauge-java plugin is for java projects. But if you are using maven as your build tool, you need to use the gauge maven plugin as well.
If I understand you correctly, you don't see any errors in any of the log files mentioned above?
Still issue not got resolved . I have done offline plugin installation which u have sent before 2 nd link while using the .zip files.
I have done wt ever u guys are said but still in my gauge.log is failed some plugin I have download offline plugins.
Failed to download html-report-install.json. Java-install.json.
Gauge requires will require offline installation of the following plugins
Please follow the links above to download the right archive for your os and use the offline installation commands to install it.
Offline installation i have done but in log files it was showing same failed to download plugins which I mentioned above messages. U have given correct answers but something is wrong from my side only I will try my level best but finally failed to implement this framework in my project .
Hi Team,
In my gauge.log file it was showing. Plugin java already installed. Plugin html-report is already installed
But again it was showing installing required plugins Downloading https://downloads.gauge.org/plugins...
Failed to download screenshot-install.json Downloading https://downloads.gauge.org/plugins... Failed to download html-report-install.json
Same like as jav-install.json. Please help me I have reached near i thoght.
Thanks, Ashraf
@ zabil @Nehashri @Apoorva
Please help me.
Tagging the Apoorva that can help. @Apoorva-GA
@Appoorva-GA Waiting for Ur reply.
Plugin java already installed. Plugin html-report is already installed
@Ashraf407 what about screenshot plugin? I don't see any log regarding screenshot plugin has been installed like java and html-report. As screenshot is a mandatory plugin so please make sure you have installed screenshot plugin as @zabil mentioned earlier.
You are getting the below issue due to lack of internet connectivity.
installing required plugins
Downloading https://downloads.gauge.org/plugins...
Failed to download screenshot-install.json
Downloading https://downloads.gauge.org/plugins...
Failed to download html-report-install.json
I would suggest please check your internet connectivity. If you are under any secure network you can set up proxy setting by following HTTP_Proxy
Where I need to configure this proxy settings in intellj .
File > settings > Http Proxy . Correct?
@Ashraf407 As suggested by @Debashis9012, you need to set this variable in your system's environment variables. Please look at the documentation https://docs.gauge.org/configuration.html#http-proxy-setting-while-using-gauge
Please find this below image is correct for setting the proxy.
@Debashis9012 , please check whether if it is correct or not.
@Ashraf407 It should be fine.
Thanks Dharmendra.
Hi Team,
I was facing this issue when ever i am executing the scenario.
Connection to runner with PID 12044 lost. The runner probably quit unexpectedly. Inspect logs for potential reasons. Error : read tcp 127.0.0.154811 ->127.0.0.1:154815: use of closed network connection.
I have done increases the runner time in config.properties.
Kindly help this issue.
Gauge version: 1.0.5 Commit Hash: 562f036
Plugins
html-report (4.0.8) java (0.7.2)
Thanks, Ashraf