Missing "Recent HTTP Errors" in Traefik UI on Kubernetes - traefik

I've followed the standard install guide for Traefik on Kubernetes and am on the most recent version (v1.7.6). The screenshots on the website show a section under Health called "Recent HTTP Errors", but that part is missing on my Web UI dashboard.
I can't find any settings to enable/disable this feature. Is there any way to enable it?

look at this
https://docs.traefik.io/configuration/api/#metrics
[api]
[api.statistics]
recentErrors = 10
Note that the dashboard GUI depends on the API to control how many recent errors to show. The default seems to be set to 0 so no errors are shown.

Related

Problem with installing spartacussampledataaddon for use with Spartacus 3.0

I've got a problem with setting my environment to work with Spartacus. I've started by following documentation and performed all operations step by step. Finally, I've obtained working local Commerce Cloud (2005.4) instance with -spa websites showing up in the Backoffice.
Content of Backoffice
Next, I've created fresh Spartacus 3.0 using these docs and connected it to my Commerce. What I get is a storefront with non-working PDP, Search Result Page (B2B), etc. I'm getting Translation key missing 'TabPanelContainer.tabs.TabPanelContainer' in the chunk 'product' error all over the site.
PDP error
I don't know what might be the source of the problem because I'm strictly following the official documentation. Any help will be appreciated!
The addon "spartacussampledataaddon" was changed to "spartacussampledata" extension. Please download the "spartacussampledata", and try again. (https://sap.github.io/spartacus-docs/installing-sap-commerce-cloud-2005/). Also please make sure the base-site configured in Spartacus is the "spa" site.

intellij : "search results are not loaded check the internet connection"

Using Intelliji for Java, I'm trying to get cucumber plugin, so i go to the file dropdown menu and go to settings menu and go to plugins. I type in cucumber in the plugins search bar. But nothing is found in the search results.
The message given is " search results are not loaded check the internet connection "
I also get " marketplace plugins are not loaded. Check the internet connection and >refresh< "
My internet connection is fine. I've already downloaded a load of dependancies using maven via intellij. the refresh button doesn't help. Why does intellij think the problem is no internet connection? How do I get intellij to find plugins?
I needed to set up a proxy under Appearance & Behavior Settings, System Settings, HTTP Proxy. I selected auto detect proxy settings. After this I was able to see plugins in the marketplace window.
For me I was able to get the marketplace working when I went to
Configure>Settings>HTTP Proxy Settings> Auto-detect proxy settings>Automatic Proxy configuration URL: https://plugins.jetbrains.com
Actually it seems to be working even without the Automatic Proxy configuration URL disabled
The changes of the settings work for me:
As mentioned in one of the comments on this link, I made the following changes:
Enabled Auto-detect proxy settings under Appearance & Behavior > System Settings > HTTP Proxy.
Removed the below flag under the Help > Custom VM Options.
-Djsse.enableSNIExtension=false
Restarted Intellij after making these changes. Made these changes on Intellij Ultimate 2019.3.3
There are a couple of things you can try.
I will start with what worked for me!
I felt my IP was blocking the plugins, I enabled the VPN and it worked!
for some version IntelliJ looks for plugins using HTTP protocol instead of
HTTPS, so add the following lines
IntelliJ bin folder-> idea.properties,
idea.plugins.host=https://plugins.jetbrains.com
try disabling the SNIExtension, Help->Edit Custom VM options
Djsse.enableSNIExtension=false
Such questions we should refer to the log of IDEA at first.
visit the menu Help ~> Show Log in Exporer, will open the directory of log,
For me,the log file is C:\Users\lawev\AppData\Local\JetBrains\IntelliJIdea2020.1\log\idea.log.
open the file we can find such contenet
2020-09-10 12:39:16,795 [ 158219] INFO - ateSettings.impl.UpdateChecker - failed to load plugin descriptions from https://plugins.jetbrains.com/idea: SSL error probably caused by disabled SNI
Now I see ,visit the menu Help ~> Edit Custom VM Options, check or add this line
-Djsse.enableSNIExtension=true
now it's ok!
my envirment is win10 1909,Intellij UI 2020.1
Starting IntelliJ (2019.2.1) on Windows 10 64-bit in Admin mode fixed this for me.
in my case, my goland settings somehow get corrputs, i delete the folder ~/.GoLand2019.2, and restart goland, then the marketplace works.
in my case, it happen because your internet service provider/ISP block https://plugins.jetbrains.com. There is 2 ways i solve it:
Before i use Sm'rtfren SIM Card Phone(from my country) provider which is can not load marketplace plugin. Then i switch to Tr'e SIM Card Phone provider and it works!
You can use UrbanVPN Desktop software, i use windows version. it will change ISP IP and then it works!
I encounter the similar problem in Android Studio when I want to install the Flutter& Dart plugins .
For me,I install Shadowsocks vpn proxy(https://github.com/shadowsocks/shadowsocks) in my computer.Then I change the Shadowsocks vpn proxy to global mode. After this I was able to see plugins in the marketplace window.Hope it can help you

Analytics tab empty in Worklight Console

I've added an analytics server (Linux, accessible from the http:///iwap/worklight/v1/index.html) to use with my Worklight 6 server, but, the "Analytics" tab is now displaying, but, is empty.
The changed the wl.analytics.url under the war configuration for "Environment entries for web modules" and restarted the app.
The Worklight V6 Information Center (under "Installing and configuring the IBM Websphere Analytics PLatform"|"Configuring Worklight Server for analytics") says to use the format "http://<>iwap/v1/events/_bulk, but, the description column in the "Environment entries for web modules" settings says to use "http:///iwap/v1/events/app_activities". I've tried both, both with same result, empty screen under the Analytics tab.
Not sure where to go at this point, any one set this up successfully?
The correct syntax is:
http://${iwap.server.path}/iwap/v1/events/_bulk
If the analytics tab is blank, its possible that your IWAP server is not currently running or is unreachable from your worklight server.
In truth, the analytics tab just acts as an iFrame. You can visit the analytics console using the URL:
http://${iwap.server.path}/iwap/worklight/v1/index.html
If you are unable to visit that link, then the issue is with your IWAP server. Make sure that the server is started using the command "service analytics start" on the IWAP machine.
The IP address you enter is the IP address of the analytics server you installed independently of the Worklight server. Have you done this?
Installing and Configuring the analytics platform
The analytics tab in the Worklight console simply shows an iframe, using a slightly modified URL from the one you entered in the configuration. If you entered
http://<>/iwap/v1/events/_bulk (this the correct URL)
The URL you can visit is
http://<>/iwap/worklight/v1/index.html
You said you can visit it directly. Can you view the network tab or console in Firebug or Chrome developer tools to see if the URL it is attempting to visit from the Worklight console is correct?

Sharepoint web feature show not activated in mange site feature page

I am activating the web feature through code
web.Features.Add(new Guid("e03a943d-9a68-48cf-9a42-cb65be8fc4fb"));
The feature code is completed the execution but in the manage site feature page the feature show like not activated.
What is reason for this?
I think the add feature method is known to be a bit buggy.
It does not report exceptions even when it fails.
Things to check for:
Are you running this as Site Collection Admin?
Does this feature require other features to be enabled?
Check the ULS logs for errors, if needed include a custom tracer to make it easy to locate problems

Make our own "Application unavailable" page

We need to completly stop our application during an upgrade because we have to execute a critical mysql script.
So our application will be turned off during several minute then Cloudbees will display a basic "Application unavailable" page. We would like to change this by our own page with our logo, like we did it when we have our own apache/tomcat server. Could it be possible ?
Btw, is there a page with active sessions like we have in the Tomcat manager ?
Thanks for your help,
You can use beta-featured blue-green support to switch your application to another instance running a "maintenance" page
with latest SDK (1.3.1), run bees app:proxy:update -a acme-maintenance -al www.acme.com to reconfigure the http router for www.acme.com to the maintenance app, then let your application run the mysql upgrade script, and restore the router configuration after completion.
Warning : this feature is in beta and subject to instabilities / API changes
At the moment there isn't an easy way to do that - but there is a feature which will be out there soon to make that easy (amongst other things).
The only way currently is to have an app (another app) - which is your simple page - you then remove the domain name from your current app and add it to that app (etc) - messy, but possible.
In terms of sessions, the operations tab of the web console shows information like that, there is also the newrelic console which provides other insights.