Webclient SslHandshakeTimeoutException: handshake timed out after 10000ms - spring-boot

I've recently made a component using webflux and webclient.
There are a few requests that uses an external resource to retrieve some data.
In local works everything fine, retrieving data from the external resource and correctly displays to the user.
When i do a deploy on remote server it doesn't work anymore and it shows me these error:
i.n.r.DefaultHostsFileEntriesResolver : -Dio.netty.hostsFileRefreshInterval: 0
Jan 08 23:59:31 dlv-izac-user app/web.1 2023-01-09 07:59:30.715 DEBUG 4 --- [or-http-epoll-7] i.n.util.ResourceLeakDetectorFactory : Loaded default ResourceLeakDetector: io.netty.util.ResourceLeakDetector#5abf28c7
Jan 08 23:59:31 dlv-izac-user app/web.1 2023-01-09 07:59:30.717 DEBUG 4 --- [or-http-epoll-7] io.netty.resolver.dns.DnsQueryContext : [id: 0x477cca20] WRITE: UDP, [45834: /10.1.0.2:53], DefaultDnsQuestion(izac-dlv.herokuapp.com. IN A)
Jan 08 23:59:31 dlv-izac-user app/web.1 2023-01-09 07:59:30.722 WARN 4 --- [or-http-epoll-7] io.netty.channel.epoll.EpollEventLoop : Unexpected exception in the selector loop.
Jan 08 23:59:31 dlv-izac-user app/web.1 io.netty.channel.unix.Errors$NativeIoException: epoll_wait(..) failed: Function not implemented
Jan 08 23:59:32 dlv-izac-user app/web.1 2023-01-09 07:59:31.722 WARN 4 --- [or-http-epoll-7] io.netty.channel.epoll.EpollEventLoop : Unexpected exception in the selector loop.
Jan 08 23:59:32 dlv-izac-user app/web.1 io.netty.channel.unix.Errors$NativeIoException: epoll_wait(..) failed: Function not implemented
Jan 08 23:59:33 dlv-izac-user app/web.1 2023-01-09 07:59:32.723 WARN 4 --- [or-http-epoll-7] io.netty.channel.epoll.EpollEventLoop : Unexpected exception in the selector loop.
Jan 08 23:59:33 dlv-izac-user app/web.1 io.netty.channel.unix.Errors$NativeIoException: epoll_wait(..) failed: Function not implemented
Jan 08 23:59:34 dlv-izac-user app/web.1 2023-01-09 07:59:33.723 WARN 4 --- [or-http-epoll-7] io.netty.channel.epoll.EpollEventLoop : Unexpected exception in the selector loop.
Jan 08 23:59:34 dlv-izac-user app/web.1 io.netty.channel.unix.Errors$NativeIoException: epoll_wait(..) failed: Function not implemented
Jan 08 23:59:35 dlv-izac-user app/web.1 2023-01-09 07:59:34.724 WARN 4 --- [or-http-epoll-7] io.netty.channel.epoll.EpollEventLoop : Unexpected exception in the selector loop.
Jan 08 23:59:35 dlv-izac-user app/web.1 io.netty.channel.unix.Errors$NativeIoException: epoll_wait(..) failed: Function not implemented
Jan 08 23:59:36 dlv-izac-user app/web.1 2023-01-09 07:59:35.734 DEBUG 4 --- [or-http-epoll-7] io.netty.resolver.dns.DnsNameResolver : [id: 0x477cca20] RECEIVED: UDP [45834: /10.1.0.2:53], DatagramDnsResponse(from: /10.1.0.2:53, 45834, QUERY(0), NoError(0), RD RA)
Jan 08 23:59:36 dlv-izac-user app/web.1 DefaultDnsQuestion(izac-dlv.herokuapp.com. IN A)
Jan 08 23:59:36 dlv-izac-user app/web.1 DefaultDnsRawRecord(izac-dlv.herokuapp.com. 9 IN A 4B)
Jan 08 23:59:36 dlv-izac-user app/web.1 DefaultDnsRawRecord(izac-dlv.herokuapp.com. 9 IN A 4B)
Jan 08 23:59:36 dlv-izac-user app/web.1 DefaultDnsRawRecord(izac-dlv.herokuapp.com. 9 IN A 4B)
Jan 08 23:59:36 dlv-izac-user app/web.1 DefaultDnsRawRecord(OPT flags:0 udp:4096 0B)
Jan 09 00:00:16 dlv-izac-user app/web.1 2023-01-09 08:00:15.814 WARN 4 --- [or-http-epoll-8] r.netty.http.client.HttpClientConnect : [fc253c96, L:/172.19.105.50:34258 - R:izac-dlv.herokuapp.com/46.137.15.86:443] The connection observed an error
Jan 09 00:00:16 dlv-izac-user app/web.1 io.netty.handler.ssl.SslHandshakeTimeoutException: handshake timed out after 10000ms
Jan 09 00:00:16 dlv-izac-user app/web.1 at io.netty.handler.ssl.SslHandler$7.run(SslHandler.java:2113) ~[netty-handler-4.1.76.Final.jar!/:4.1.76.Final]
Jan 09 00:00:16 dlv-izac-user app/web.1 at io.netty.util.concurrent.PromiseTask.runTask(PromiseTask.java:98) ~[netty-common-4.1.76.Final.jar!/:4.1.76.Final]
Jan 09 00:00:16 dlv-izac-user app/web.1 at io.netty.util.concurrent.ScheduledFutureTask.run(ScheduledFutureTask.java:170) ~[netty-common-4.1.76.Final.jar!/:4.1.76.Final]
Jan 09 00:00:16 dlv-izac-user app/web.1 at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164) ~[netty-common-4.1.76.Final.jar!/:4.1.76.Final]
Jan 09 00:00:16 dlv-izac-user app/web.1 at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:469) ~[netty-common-4.1.76.Final.jar!/:4.1.76.Final]
Jan 09 00:00:16 dlv-izac-user app/web.1 at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:391) ~[netty-transport-classes-epoll-4.1.76.Final.jar!/:4.1.76.Final]
Jan 09 00:00:16 dlv-izac-user app/web.1 at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:986) ~[netty-common-4.1.76.Final.jar!/:4.1.76.Final]
Jan 09 00:00:16 dlv-izac-user app/web.1 at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[netty-common-4.1.76.Final.jar!/:4.1.76.Final]
Jan 09 00:00:16 dlv-izac-user app/web.1 at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) ~[netty-common-4.1.76.Final.jar!/:4.1.76.Final]
Jan 09 00:00:16 dlv-izac-user app/web.1 at java.base/java.lang.Thread.run(Thread.java:829) ~[na:na]
This is my call using webClient
URI uri = UriComponentsBuilder.fromHttpUrl(izacComponentUrl)
.queryParam("request", request)
.build().toUri();
WebClient client = WebClient.builder()
.defaultHeader(HttpHeaders.CONTENT_TYPE, MediaType.APPLICATION_JSON_VALUE)
.build();
return client.get()
.uri(uri)
.retrieve()
.bodyToFlux(RestaurantInfoResponseBody.class)
.onErrorContinue(RuntimeException.class, (ex, o) -> log.error("Errore durante il recupero dei dati tramite il servizio esterno!"));
}

You have a timeout.
Have you checked if the network flow is open between the 2 servers ?

Related

Native image using GraalVM, Maven, GluonFX plugin - problem with resource bundle com.sun.glass.ui.win

GraalVM version: 21.2.0
JavaFX version: 17.0.0.1
Maven version: 3.6.3
I'm very close to be able to run my native image, I added classes to my reflectionlist in the pom.xml etc. but now I'm grinding to a halt because of a resourcebundle not found error. If anyone could give me a hint, that would be much appreciated.
Here's my pom.xml:
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>MyProject-fxml.main</groupId>
<artifactId>MyProject-fxml</artifactId>
<version>1.0-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-base</artifactId>
<version>17.0.0.1</version>
<classifier>win</classifier>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-controls</artifactId>
<version>17.0.0.1</version>
<classifier>win</classifier>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-graphics</artifactId>
<version>17.0.0.1</version>
<classifier>win</classifier>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-fxml</artifactId>
<version>17.0.0.1</version>
<classifier>win</classifier>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.jetbrains</groupId>
<artifactId>annotations</artifactId>
<version>22.0.0</version>
<scope>runtime</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>com.gluonhq</groupId>
<artifactId>gluonfx-maven-plugin</artifactId>
<version>1.0.6</version>
<configuration>
<mainClass>com.MyProject.Main</mainClass>
<reflectionList>
<list>com.MyProject.MyProject</list>
<list>com.MyProject.controllers.MainViewController</list>
<list>com.MyProject.controllers.stagecontrollers.SimpleStageController</list>
<list>com.MyProject.model.helpers.AppPreferences</list>
<list>com.MyProject.model.helpers.ScreenResolution</list>
<list>javafx.scene.control.SplitPane</list>
<list>javafx.scene.layout.AnchorPane</list>
</reflectionList>
<resourcesList>com.sun.glass.ui.win</resourcesList>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>11</source>
<target>11</target>
</configuration>
</plugin>
<plugin>
<groupId>org.openjfx</groupId>
<artifactId>javafx-maven-plugin</artifactId>
<version>0.0.7</version>
<configuration>
<mainClass>com.MyProject.Main</mainClass>
</configuration>
</plugin>
<!-- TODO: Figure out how to make an executable jar with Maven -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.2.0</version>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<classpathPrefix></classpathPrefix>
<mainClass>com.MyProject.Main</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<id>run-java</id>
<phase>package</phase>
<goals>
<goal>java</goal>
</goals>
</execution>
</executions>
<configuration>
<mainClass>com.MyProject.Main</mainClass>
</configuration>
</plugin>
</plugins>
</build>
</project>
Followed by the error output:
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] Oct 09, 2021 11:19:12 AM com.sun.javafx.application.PlatformImpl startup
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] WARNING: Unsupported JavaFX configuration: classes were loaded from 'unnamed module #2715644a'
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] Exception in Application start method
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] Oct 09, 2021 11:19:12 AM com.MyProject.APP show
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] SEVERE: There is an error launching the JavaFX runtime, or the application class cannot be constructed (e.g., if the class is not public or is not in an exported package), or an Exception or Error is thrown by the Application constructor, init method, start method, or stop method.java.lang.RuntimeException: Exception in Application start method
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] java.lang.RuntimeException: Exception in Application start method
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:901)
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:196)
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] at java.lang.Thread.run(Thread.java:829)
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] at com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:567)
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] at com.oracle.svm.core.windows.WindowsJavaThreads.osThreadStartRoutine(WindowsJavaThreads.java:138)
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] Caused by: java.lang.ExceptionInInitializerError
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] at com.oracle.svm.core.classinitialization.ClassInitializationInfo.initialize(ClassInitializationInfo.java:315)
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] at java.lang.Class.ensureInitialized(DynamicHub.java:548)
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] at com.oracle.svm.core.classinitialization.ClassInitializationInfo.initialize(ClassInitializationInfo.java:260)
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] at java.lang.reflect.Constructor.newInstance(Constructor.java:490)
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] at javafx.fxml.FXMLLoader$InstanceDeclarationElement.constructValue(FXMLLoader.java:1020)
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] at javafx.fxml.FXMLLoader$ValueElement.processStartElement(FXMLLoader.java:757)
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] at javafx.fxml.FXMLLoader.processStartElement(FXMLLoader.java:2808)
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2634)
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2548)
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2516)
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] at com.MyProject.MyProject.loadMainViewParent(APP.java:88)
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] at com.MyProject.MyProject.start(APP.java:55)
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:847)
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(PlatformImpl.java:484)
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:457)
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] at java.security.AccessController.doPrivileged(AccessController.java:105)
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:456)
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] at com.oracle.svm.jni.JNIJavaCallWrappers.jniInvoke_VA_LIST:Ljava_lang_Runnable_2_0002erun_00028_00029V(JNIJavaCallWrappers.java:0)
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] at com.sun.glass.ui.win.WinApplication._runLoop(WinApplication.java)
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] at com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:184)
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] ... 3 more
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] Caused by: java.util.MissingResourceException: Can't find bundle for base name com/sun/glass/ui/win/themes, locale en_US
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:2055)
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1689)
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1593)
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1556)
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] at java.util.ResourceBundle.getBundle(ResourceBundle.java:857)
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] at com.sun.glass.ui.win.WinApplication.getHighContrastScheme(WinApplication.java:344)
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] at com.sun.glass.ui.win.WinApplication.getHighContrastTheme(WinApplication.java:350)
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] at com.sun.javafx.tk.quantum.QuantumToolkit.getThemeName(QuantumToolkit.java:1809)
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] at com.sun.javafx.application.PlatformImpl._setPlatformUserAgentStylesheet(PlatformImpl.java:924)
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] at com.sun.javafx.application.PlatformImpl.setPlatformUserAgentStylesheet(PlatformImpl.java:723)
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] at com.sun.javafx.application.PlatformImpl.setDefaultPlatformUserAgentStylesheet(PlatformImpl.java:687)
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] at javafx.scene.control.Control.<clinit>(Control.java:99)
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] at com.oracle.svm.core.classinitialization.ClassInitializationInfo.invokeClassInitializer(ClassInitializationInfo.java:375)
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] at com.oracle.svm.core.classinitialization.ClassInitializationInfo.initialize(ClassInitializationInfo.java:295)
[Sat Oct 09 11:19:12 CEST 2021][INFO] [SUB] ... 23 more
[Sat Oct 09 11:19:12 CEST 2021][SEVERE] Process run until end failed with result: 1
So, the resource "com/sun/glass/ui/win/themes" is missing. I can't find however how to correct for this one.
Thanks to Jose Pereda, adding the above bundle to <bundleslist/> to the gluonfx-maven-plugin worked, even though IntelliJ didn't show this path as having a bundle with that name.

Caused by: javax.net.ssl.SSLHandshakeException: PKIX path building [Spring boot project] [duplicate]

This question already has answers here:
"PKIX path building failed" and "unable to find valid certification path to requested target"
(53 answers)
Resolving javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed Error?
(33 answers)
Closed 1 year ago.
I have a problem. I got SSL exception constantly. I did configure these things:
Already added cert file into java cacerts
Already added SSL config on my Spring boot project
but I got SSL exception when I attempt to call external API from spring boot project.
Caused by: javax.net.ssl.SSLHandshakeException: PKIX path building
failed: sun.security.provider.certpath.SunCertPathBuilderException:
unable to find valid certification path to requested target Apr 02
10:04:44 java[13294]: at
sun.security.ssl.Alert.createSSLException(Alert.java:131) Apr 02
10:04:44 java[13294]: at
sun.security.ssl.TransportContext.fatal(TransportContext.java:324) Apr
02 10:04:44 java[13294]: at
sun.security.ssl.TransportContext.fatal(TransportContext.java:267) Apr
02 10:04:44 java[13294]: at
sun.security.ssl.TransportContext.fatal(TransportContext.java:262) Apr
02 10:04:44 java[13294]: at
sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(CertificateMessage.java:654)
Apr 02 10:04:44 java[13294]: at
sun.security.ssl.CertificateMessage$T12CertificateConsumer.onCertificate(CertificateMessage.java:473)
Apr 02 10:04:44 java[13294]: at
sun.security.ssl.CertificateMessage$T12CertificateConsumer.consume(CertificateMessage.java:369)
Apr 02 10:04:44 java[13294]: at
sun.security.ssl.SSLHandshake.consume(SSLHandshake.java:377) Apr 02
10:04:44 java[13294]: at
sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:444)
Apr 02 10:04:44 java[13294]: at
sun.security.ssl.HandshakeContext.dispatch(HandshakeContext.java:422)
Apr 02 10:04:44 java[13294]: at
sun.security.ssl.TransportContext.dispatch(TransportContext.java:182)
Apr 02 10:04:44 java[13294]: at
sun.security.ssl.SSLTransport.decode(SSLTransport.java:149) Apr 02
10:04:44 java[13294]: at
sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1143) Apr 02
10:04:44 java[13294]: at
sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1054)
Apr 02 10:04:44 java[13294]: at
sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:394)
Apr 02 10:04:44 java[13294]: at
sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
Apr 02 10:04:44 java[13294]: at
sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
Apr 02 10:04:44 java[13294]: at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1340)
Apr 02 10:04:44 java[13294]: at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1315)
Apr 02 10:04:44 java[13294]: at
sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:264)
Apr 02 10:04:44 java[13294]: at
com.sun.xml.internal.ws.transport.http.client.HttpClientTransport.getOutput(HttpClientTransport.java:104)
Apr 02 10:04:44 dbx-gauli java[13294]: ... 124 more Apr 02 10:04:44
java[13294]: Caused by:
sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to
find valid certification path to requested target Apr 02 10:04:44
java[13294]: at
sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:456)
Apr 02 10:04:44 java[13294]: at
sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:323)
Apr 02 10:04:44 java[13294]: at
sun.security.validator.Validator.validate(Validator.java:271) Apr 02
10:04:44 java[13294]: at
sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:315)
Apr 02 10:04:44 java[13294]: at
sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:223)
Apr 02 10:04:44 java[13294]: at
sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:129)
Apr 02 10:04:44 java[13294]: at
sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(CertificateMessage.java:638)
Apr 02 10:04:44 java[13294]: ... 140 more Apr 02 10:04:44
java[13294]: Caused by:
sun.security.provider.certpath.SunCertPathBuilderException: unable to
find valid certification path to requested target Apr 02 10:04:44
java[13294]: at
sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:141)
Apr 02 10:04:44 java[13294]: at
sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:126)
Apr 02 10:04:44 java[13294]: at
java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280) Apr
02 10:04:44 java[13294]: at
sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:451)
My Java config looks like that:
SSLContext sslContext = SSLContext.getInstance("SSL");
// set up a TrustManager that trusts everything
sslContext.init(null, new TrustManager[] { new X509TrustManager() {
public X509Certificate[] getAcceptedIssuers() {
System.out.println("getAcceptedIssuers =============");
return null;
}
public void checkClientTrusted(X509Certificate[] certs,
String authType) {
System.out.println("checkClientTrusted =============");
}
public void checkServerTrusted(X509Certificate[] certs,
String authType) {
System.out.println("checkServerTrusted =============");
}
} }, new SecureRandom());
SSLSocketFactory sf = new SSLSocketFactory(sslContext);
Scheme httpsScheme = new Scheme("https", 443, sf);
SchemeRegistry schemeRegistry = new SchemeRegistry();
schemeRegistry.register(httpsScheme);

Can't start elasticsearch service on centos 7

I just install the elasticsearch but when I try to start is not work. Anyone have any idea what I can do?
sudo journalctl --unit elasticsearch
-- Logs begin at Sat 2020-08-29 09:54:58 UTC, end at Sat 2020-08-29 13:15:35 UTC. --
Aug 29 10:10:28 meriadoc.dallas-idc.com systemd[1]: Starting Elasticsearch...
Aug 29 10:10:35 meriadoc.dallas-idc.com systemd-entrypoint[3579]: fatal error in thread [main], exiting
Aug 29 10:10:35 meriadoc.dallas-idc.com systemd-entrypoint[3579]: java.lang.NoClassDefFoundError: Could not initialize class com.sun.jna.Native
Aug 29 10:10:35 meriadoc.dallas-idc.com systemd-entrypoint[3579]: at org.elasticsearch.systemd.Libsystemd.lambda$static$0(Libsystemd.java:34)
Aug 29 10:10:35 meriadoc.dallas-idc.com systemd-entrypoint[3579]: at java.base/java.security.AccessController.doPrivileged(AccessController.java:312)
Aug 29 10:10:35 meriadoc.dallas-idc.com systemd-entrypoint[3579]: at org.elasticsearch.systemd.Libsystemd.<clinit>(Libsystemd.java:33)
Aug 29 10:10:35 meriadoc.dallas-idc.com systemd-entrypoint[3579]: at org.elasticsearch.systemd.SystemdPlugin.sd_notify(SystemdPlugin.java:126)
Aug 29 10:10:35 meriadoc.dallas-idc.com systemd-entrypoint[3579]: at org.elasticsearch.systemd.SystemdPlugin.onNodeStarted(SystemdPlugin.java:137)
Aug 29 10:10:35 meriadoc.dallas-idc.com systemd-entrypoint[3579]: at java.base/java.util.ArrayList.forEach(ArrayList.java:1510)
Aug 29 10:10:35 meriadoc.dallas-idc.com systemd-entrypoint[3579]: at org.elasticsearch.node.Node.start(Node.java:868)
Aug 29 10:10:35 meriadoc.dallas-idc.com systemd-entrypoint[3579]: at org.elasticsearch.bootstrap.Bootstrap.start(Bootstrap.java:317)
Aug 29 10:10:35 meriadoc.dallas-idc.com systemd-entrypoint[3579]: at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:402)
Aug 29 10:10:35 meriadoc.dallas-idc.com systemd-entrypoint[3579]: at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:170)
Aug 29 10:10:35 meriadoc.dallas-idc.com systemd-entrypoint[3579]: at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:161)
Aug 29 10:10:35 meriadoc.dallas-idc.com systemd-entrypoint[3579]: at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
Aug 29 10:10:35 meriadoc.dallas-idc.com systemd-entrypoint[3579]: at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:127)
Aug 29 10:10:35 meriadoc.dallas-idc.com systemd-entrypoint[3579]: at org.elasticsearch.cli.Command.main(Command.java:90)
Aug 29 10:10:35 meriadoc.dallas-idc.com systemd-entrypoint[3579]: at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:126)
Aug 29 10:10:35 meriadoc.dallas-idc.com systemd-entrypoint[3579]: at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92)
Aug 29 10:10:35 meriadoc.dallas-idc.com systemd[1]: elasticsearch.service: main process exited, code=exited, status=1/FAILURE
Aug 29 10:10:35 meriadoc.dallas-idc.com systemd[1]: Failed to start Elasticsearch.
Aug 29 10:10:35 meriadoc.dallas-idc.com systemd[1]: Unit elasticsearch.service entered failed state.
Thank you so much
If you notice carefully the error message in startup logs, which seems to cause the startup failure.
Aug 29 10:10:35 meriadoc.dallas-idc.com systemd-entrypoint[3579]:
java.lang.NoClassDefFoundError: Could not initialize class
com.sun.jna.Native
Please follow the https://www.jetbrains.com/help/upsource/error-could-not-initialize-class-com-sun-jna-native.html#8182b, which explained in detail the cause of the error and 2 ways to resolve that.

Logstash BeatsParser$InvalidFrameProtocolException

i have filebeat version 1.3.1 (amd64)
and logstash 6.3.2
Ok so i was getting ssl error at filebeat host ,
Feb 14 17:26:49 dca-cos1-v-ap002 /usr/bin/filebeat[21994]: transport.go:125: SSL client failed to connect with: dial tcp i/o timeout
So i delete tls section from filebeat.yml and in logstash.yml i set ssl => false
Now im geeting this error:
Error below:
Feb 14 17:38:03 PLEUDTLOG01 logstash[8099]: [2020-02-14T17:38:03,066][INFO ][org.logstash.beats.BeatsHandler] [local: 10.48.1.216:5044, remote: 10.48.1.218:45104] Handling exception: org.logstash.beats.BeatsParser$InvalidFrameProtocolException: Invalid Frame Type, received: 1
Feb 14 17:38:03 PLEUDTLOG01 logstash[8099]: [2020-02-14T17:38:03,066][WARN ][io.netty.channel.DefaultChannelPipeline] An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception.
Feb 14 17:38:03 PLEUDTLOG01 logstash[8099]: io.netty.handler.codec.DecoderException: org.logstash.beats.BeatsParser$InvalidFrameProtocolException: Invalid Frame Type, received: 1
Feb 14 17:38:03 PLEUDTLOG01 logstash[8099]: at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:459) ~[netty-all-4.1.18.Final.jar:4.1.18.Final]
Feb 14 17:38:03 PLEUDTLOG01 logstash[8099]: at io.netty.handler.codec.ByteToMessageDecoder.channelInputClosed(ByteToMessageDecoder.java:392) ~[netty-all-4.1.18.Final.jar:4.1.18.Final]
Feb 14 17:38:03 PLEUDTLOG01 logstash[8099]: at io.netty.handler.codec.ByteToMessageDecoder.channelInputClosed(ByteToMessageDecoder.java:359) ~[netty-all-4.1.18.Final.jar:4.1.18.Final]
Feb 14 17:38:03 PLEUDTLOG01 logstash[8099]: at io.netty.handler.codec.ByteToMessageDecoder.channelInactive(ByteToMessageDecoder.java:342) ~[netty-all-4.1.18.Final.jar:4.1.18.Final]
Feb 14 17:38:03 PLEUDTLOG01 logstash[8099]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelInactive(AbstractChannelHandlerContext.java:245) ~[netty-all-4.1.18.Final.jar:4.1.18.Final]
Feb 14 17:38:03 PLEUDTLOG01 logstash[8099]: at io.netty.channel.AbstractChannelHandlerContext.access$300(AbstractChannelHandlerContext.java:38) ~[netty-all-4.1.18.Final.jar:4.1.18.Final]
Feb 14 17:38:03 PLEUDTLOG01 logstash[8099]: at io.netty.channel.AbstractChannelHandlerContext$4.run(AbstractChannelHandlerContext.java:236) ~[netty-all-4.1.18.Final.jar:4.1.18.Final]
Feb 14 17:38:03 PLEUDTLOG01 logstash[8099]: at io.netty.util.concurrent.DefaultEventExecutor.run(DefaultEventExecutor.java:66) ~[netty-all-4.1.18.Final.jar:4.1.18.Final]
Feb 14 17:38:03 PLEUDTLOG01 logstash[8099]: at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858) [netty-all-4.1.18.Final.jar:4.1.18.Final]
Feb 14 17:38:03 PLEUDTLOG01 logstash[8099]: at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30) [netty-all-4.1.18.Final.jar:4.1.18.Final]
Feb 14 17:38:03 PLEUDTLOG01 logstash[8099]: at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181]
Feb 14 17:38:03 PLEUDTLOG01 logstash[8099]: Caused by: org.logstash.beats.BeatsParser$InvalidFrameProtocolException: Invalid Frame Type, received: 1
Feb 14 17:38:03 PLEUDTLOG01 logstash[8099]: at org.logstash.beats.BeatsParser.decode(BeatsParser.java:92) ~[logstash-input-beats-5.0.16.jar:?]
Feb 14 17:38:03 PLEUDTLOG01 logstash[8099]: at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:489) ~[netty-all-4.1.18.Final.jar:4.1.18.Final]
Feb 14 17:38:03 PLEUDTLOG01 logstash[8099]: at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:428) ~[netty-all-4.1.18.Final.jar:4.1.18.Final]
Feb 14 17:38:03 PLEUDTLOG01 logstash[8099]: ... 10 more
Feb 14 17:39:03 PLEUDTLOG01 logstash[8099]: [2020-02-14T17:39:03,066][INFO ][org.logstash.beats.BeatsHandler] [local: 10.48.1.216:5044, remote: 10.48.1.218:45106] Handling exception: org.logstash.beats.BeatsParser$InvalidFrameProtocolException: Invalid Frame Type, received: 3
Feb 14 17:39:03 PLEUDTLOG01 logstash[8099]: [2020-02-14T17:39:03,067][WARN ][io.netty.channel.DefaultChannelPipeline] An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception.
Feb 14 17:39:03 PLEUDTLOG01 logstash[8099]: io.netty.handler.codec.DecoderException: org.logstash.beats.BeatsParser$InvalidFrameProtocolException: Invalid Frame Type, received: 3
Feb 14 17:39:03 PLEUDTLOG01 logstash[8099]: at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:459) ~[netty-all-4.1.18.Final.jar:4.1.18.Final]
Feb 14 17:39:03 PLEUDTLOG01 logstash[8099]: at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:265) ~[netty-all-4.1.18.Final.jar:4.1.18.Final]
Feb 14 17:39:03 PLEUDTLOG01 logstash[8099]: at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362) ~[netty-all-4.1.18.Final.jar:4.1.18.Final]
Feb 14 17:39:03 PLEUDTLOG01 logstash[8099]: at io.netty.channel.AbstractChannelHandlerContext.access$600(AbstractChannelHandlerContext.java:38) ~[netty-all-4.1.18.Final.jar:4.1.18.Final]
Feb 14 17:39:03 PLEUDTLOG01 logstash[8099]: at io.netty.channel.AbstractChannelHandlerContext$7.run(AbstractChannelHandlerContext.java:353) ~[netty-all-4.1.18.Final.jar:4.1.18.Final]
Any idea what im doing wrong?
this logstash and filebeat was working some time ago
This I have also faced and here is solution.
You need to specify the right input in the Logstash pipleline.
for example if you are using filebeat then use following:
input {
beats {
port => 5044
}
}
If you are using the TCP for the springboot or any live feed then use
input {
tcp {
port => 5043
codec => "json_lines"
}
}
if you are sending both then configure both.
input {
tcp {
port => 5043
codec => "json_lines"
}
beats {
port => 5044
}
}

magento upgradation -1.4 to 1.8

I tried upgrading where I successfully upgraded to 1.4.2 from 1.4.1
but the frontend stopped working. Also, phpmyadmin completely stopped.
Below is my error log in /opt/lamp/logs.
Does anyone know where exactly to look for what's causing the error in this big log?
[Fri Jan 24 17:16:44.072704 2014] [ssl:warn] [pid 1180] AH01906: RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Jan 24 17:16:44.072796 2014] [ssl:warn] [pid 1180] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Fri Jan 24 17:16:44.072825 2014] [suexec:notice] [pid 1180] AH01232: suEXEC mechanism enabled (wrapper: /opt/lampp/bin/suexec)
[Fri Jan 24 17:16:44.218834 2014] [auth_digest:notice] [pid 1335] AH01757: generating secret for digest authentication ...
[Fri Jan 24 17:16:45.030837 2014] [ssl:warn] [pid 1335] AH01906: RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Jan 24 17:16:45.030929 2014] [ssl:warn] [pid 1335] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Fri Jan 24 17:16:45.030997 2014] [lbmethod_heartbeat:notice] [pid 1335] AH02282: No slotmem from mod_heartmonitor
[Fri Jan 24 17:16:45.039496 2014] [mpm_prefork:notice] [pid 1335] AH00163: Apache/2.4.3 (Unix) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
[Fri Jan 24 17:16:45.039531 2014] [core:notice] [pid 1335] AH00094: Command line: '/opt/lampp/bin/httpd -D SSL -D PHP5 -E /opt/lampp/logs/error_log'
[Fri Jan 24 17:17:41.073939 2014] [authz_core:error] [pid 1890] [client 127.0.0.1:56956] AH01630: client denied by server configuration: /opt/lampp/phpmyadmin/
[Fri Jan 24 17:17:50.020021 2014] [authz_core:error] [pid 1891] [client 127.0.0.1:56983] AH01630: client denied by server configuration: /opt/lampp/phpmyadmin/
[Fri Jan 24 17:17:51.154603 2014] [authz_core:error] [pid 1891] [client 127.0.0.1:56983] AH01630: client denied by server configuration: /opt/lampp/phpmyadmin/
[Fri Jan 24 17:17:51.602371 2014] [authz_core:error] [pid 1891] [client 127.0.0.1:56983] AH01630: client denied by server configuration: /opt/lampp/phpmyadmin/
[Fri Jan 24 17:17:51.901841 2014] [authz_core:error] [pid 1891] [client 127.0.0.1:56983] AH01630: client denied by server configuration: /opt/lampp/phpmyadmin/
[Fri Jan 24 17:20:01.327548 2014] [authz_core:error] [pid 1892] [client 127.0.0.1:56987] AH01630: client denied by server configuration: /opt/lampp/phpmyadmin/
[Fri Jan 24 17:20:02.489854 2014] [authz_core:error] [pid 1892] [client 127.0.0.1:56987] AH01630: client denied by server configuration: /opt/lampp/phpmyadmin/
[Fri Jan 24 17:20:42.243495 2014] [mpm_prefork:notice] [pid 1335] AH00169: caught SIGTERM, shutting down
[Fri Jan 24 17:20:51.085988 2014] [ssl:warn] [pid 2967] AH01906: RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Jan 24 17:20:51.086085 2014] [ssl:warn] [pid 2967] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Fri Jan 24 17:20:51.086113 2014] [suexec:notice] [pid 2967] AH01232: suEXEC mechanism enabled (wrapper: /opt/lampp/bin/suexec)
[Fri Jan 24 17:20:51.216881 2014] [auth_digest:notice] [pid 2968] AH01757: generating secret for digest authentication ...
[Fri Jan 24 17:20:52.074917 2014] [ssl:warn] [pid 2968] AH01906: RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Jan 24 17:20:52.074967 2014] [ssl:warn] [pid 2968] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Fri Jan 24 17:20:52.075005 2014] [lbmethod_heartbeat:notice] [pid 2968] AH02282: No slotmem from mod_heartmonitor
[Fri Jan 24 17:20:52.081177 2014] [mpm_prefork:notice] [pid 2968] AH00163: Apache/2.4.3 (Unix) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
[Fri Jan 24 17:20:52.081213 2014] [core:notice] [pid 2968] AH00094: Command line: '/opt/lampp/bin/httpd -D SSL -D PHP5 -E /opt/lampp/logs/error_log'
[Fri Jan 24 17:40:47.075100 2014] [ssl:warn] [pid 1188] AH01906: RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Jan 24 17:40:47.086940 2014] [ssl:warn] [pid 1188] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Fri Jan 24 17:40:47.086998 2014] [suexec:notice] [pid 1188] AH01232: suEXEC mechanism enabled (wrapper: /opt/lampp/bin/suexec)
[Fri Jan 24 17:40:47.242800 2014] [auth_digest:notice] [pid 1502] AH01757: generating secret for digest authentication ...
[Fri Jan 24 17:40:48.050110 2014] [ssl:warn] [pid 1502] AH01906: RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Jan 24 17:40:48.050170 2014] [ssl:warn] [pid 1502] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Fri Jan 24 17:40:48.050214 2014] [lbmethod_heartbeat:notice] [pid 1502] AH02282: No slotmem from mod_heartmonitor
[Fri Jan 24 17:40:48.055872 2014] [mpm_prefork:notice] [pid 1502] AH00163: Apache/2.4.3 (Unix) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
[Fri Jan 24 17:40:48.055913 2014] [core:notice] [pid 1502] AH00094: Command line: '/opt/lampp/bin/httpd -D SSL -D PHP5 -E /opt/lampp/logs/error_log'
[Fri Jan 24 17:50:03.664870 2014] [access_compat:error] [pid 2506] [client 127.0.0.1:44824] AH01797: client denied by server configuration: /opt/lampp/htdocs/pedicure/app/etc/local.xml
[Fri Jan 24 17:58:43.173383 2014] [access_compat:error] [pid 2512] [client 127.0.0.1:44945] AH01797: client denied by server configuration: /opt/lampp/htdocs/pedicure/app/etc/local.xml
[Fri Jan 24 18:02:47.290956 2014] [core:notice] [pid 1502] AH00051: child pid 2915 exit signal Segmentation fault (11), possible coredump in /opt/lampp
[Fri Jan 24 18:05:48.701079 2014] [:error] [pid 2506] [client 127.0.0.1:45082] PHP Fatal error: Call to a member function toHtml() on a non-object in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/Model/Layout.php on line 529
[Fri Jan 24 18:05:59.281046 2014] [:error] [pid 2932] [client 127.0.0.1:45083] PHP Fatal error: Call to a member function toHtml() on a non-object in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/Model/Layout.php on line 529
[Fri Jan 24 18:06:18.870329 2014] [access_compat:error] [pid 2001] [client 127.0.0.1:45088] AH01797: client denied by server configuration: /opt/lampp/htdocs/pedicure/app/etc/local.xml
[Fri Jan 24 18:09:28.481096 2014] [:error] [pid 2001] [client 127.0.0.1:45098] PHP Fatal error: Call to a member function toHtml() on a non-object in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/Model/Layout.php on line 529
[Fri Jan 24 18:10:05.300624 2014] [:error] [pid 2946] [client 127.0.0.1:45114] PHP Fatal error: Call to a member function toHtml() on a non-object in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/Model/Layout.php on line 529
[Fri Jan 24 18:10:05.691793 2014] [core:notice] [pid 1502] AH00051: child pid 3781 exit signal Segmentation fault (11), possible coredump in /opt/lampp
[Fri Jan 24 18:10:12.901312 2014] [access_compat:error] [pid 1998] [client 127.0.0.1:45116] AH01797: client denied by server configuration: /opt/lampp/htdocs/pedicure/app/etc/local.xml
[Fri Jan 24 18:10:19.200353 2014] [access_compat:error] [pid 2510] [client 127.0.0.1:45122] AH01797: client denied by server configuration: /opt/lampp/htdocs/pedicure/app/etc/local.xml
[Fri Jan 24 18:21:01.813878 2014] [:error] [pid 2494] [client 127.0.0.1:45350] PHP Fatal error: Call to a member function toHtml() on a non-object in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/Model/Layout.php on line 529
[Fri Jan 24 18:21:03.603027 2014] [:error] [pid 2494] [client 127.0.0.1:45350] PHP Fatal error: Call to a member function toHtml() on a non-object in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/Model/Layout.php on line 529
[Fri Jan 24 18:21:04.886698 2014] [:error] [pid 2494] [client 127.0.0.1:45350] PHP Fatal error: Call to a member function toHtml() on a non-object in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/Model/Layout.php on line 529
[Fri Jan 24 18:21:05.105651 2014] [:error] [pid 2494] [client 127.0.0.1:45350] PHP Fatal error: Call to a member function toHtml() on a non-object in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/Model/Layout.php on line 529
[Fri Jan 24 18:21:05.278352 2014] [:error] [pid 1998] [client 127.0.0.1:45351] PHP Fatal error: Call to a member function toHtml() on a non-object in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/Model/Layout.php on line 529
[Fri Jan 24 18:22:00.454583 2014] [:error] [pid 2946] [client 127.0.0.1:45403] PHP Fatal error: Call to a member function toHtml() on a non-object in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/Model/Layout.php on line 529
[Fri Jan 24 18:22:57.866575 2014] [:error] [pid 3752] [client 127.0.0.1:45434] PHP Fatal error: Call to a member function toHtml() on a non-object in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/Model/Layout.php on line 529
[Fri Jan 24 18:22:58.061249 2014] [:error] [pid 3752] [client 127.0.0.1:45434] PHP Fatal error: Call to a member function toHtml() on a non-object in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/Model/Layout.php on line 529
[Fri Jan 24 18:23:24.403970 2014] [access_compat:error] [pid 2001] [client 127.0.0.1:45443] AH01797: client denied by server configuration: /opt/lampp/htdocs/pedicure/app/etc/local.xml
[Fri Jan 24 18:23:47.017177 2014] [access_compat:error] [pid 3754] [client 127.0.0.1:45452] AH01797: client denied by server configuration: /opt/lampp/htdocs/pedicure/app/etc/local.xml
[Fri Jan 24 18:23:53.612522 2014] [access_compat:error] [pid 2946] [client 127.0.0.1:45463] AH01797: client denied by server configuration: /opt/lampp/htdocs/pedicure/app/etc/local.xml
[Fri Jan 24 18:23:56.602871 2014] [access_compat:error] [pid 2001] [client 127.0.0.1:45466] AH01797: client denied by server configuration: /opt/lampp/htdocs/pedicure/app/etc/local.xml
[Fri Jan 24 18:24:02.936633 2014] [access_compat:error] [pid 2510] [client 127.0.0.1:45472] AH01797: client denied by server configuration: /opt/lampp/htdocs/pedicure/app/etc/local.xml
[Fri Jan 24 18:27:07.836253 2014] [:error] [pid 3753] [client 127.0.0.1:45605] PHP Fatal error: Call to a member function toHtml() on a non-object in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/Model/Layout.php on line 529
[Fri Jan 24 18:27:09.725328 2014] [:error] [pid 3753] [client 127.0.0.1:45605] PHP Fatal error: Call to a member function toHtml() on a non-object in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/Model/Layout.php on line 529
[Fri Jan 24 18:27:11.510547 2014] [:error] [pid 3753] [client 127.0.0.1:45605] PHP Fatal error: Call to a member function toHtml() on a non-object in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/Model/Layout.php on line 529
[Fri Jan 24 18:27:13.086073 2014] [:error] [pid 3753] [client 127.0.0.1:45605] PHP Fatal error: Call to a member function toHtml() on a non-object in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/Model/Layout.php on line 529
[Fri Jan 24 18:27:13.252462 2014] [:error] [pid 2506] [client 127.0.0.1:45606] PHP Fatal error: Call to a member function toHtml() on a non-object in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/Model/Layout.php on line 529
[Fri Jan 24 18:27:13.403045 2014] [:error] [pid 2494] [client 127.0.0.1:45607] PHP Fatal error: Call to a member function toHtml() on a non-object in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/Model/Layout.php on line 529
[Fri Jan 24 18:27:13.503701 2014] [:error] [pid 2946] [client 127.0.0.1:45608] PHP Fatal error: Call to a member function toHtml() on a non-object in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/Model/Layout.php on line 529
[Fri Jan 24 18:29:54.146949 2014] [:error] [pid 2510] [client 127.0.0.1:45873] PHP Fatal error: Call to a member function toHtml() on a non-object in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/Model/Layout.php on line 529
[Fri Jan 24 18:30:39.799300 2014] [:error] [pid 3753] [client 127.0.0.1:45991] PHP Fatal error: Call to a member function toHtml() on a non-object in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/Model/Layout.php on line 529
[Fri Jan 24 18:30:39.897294 2014] [:error] [pid 3753] [client 127.0.0.1:45991] PHP Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 2006 MySQL server has gone away' in /opt/lampp/htdocs/pedicure/lib/Zend/Db/Statement/Pdo.php:228\nStack trace:\n#0 /opt/lampp/htdocs/pedicure/lib/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array)\n#1 /opt/lampp/htdocs/pedicure/lib/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array)\n#2 /opt/lampp/htdocs/pedicure/lib/Zend/Db/Adapter/Abstract.php(468): Zend_Db_Statement->execute(Array)\n#3 /opt/lampp/htdocs/pedicure/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('UPDATE `core_se...', Array)\n#4 /opt/lampp/htdocs/pedicure/lib/Varien/Db/Adapter/Pdo/Mysql.php(333): Zend_Db_Adapter_Pdo_Abstract->query('UPDATE `core_se...', Array)\n#5 /opt/lampp/htdocs/pedicure/lib/Zend/Db/Adapter/Abstract.php(604): Varien_Db_Adapter_Pdo_Mysql->query('UPDATE `core_se...', Array)\n#6 /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/Model/Mysql4/Session.php(199): Zend_Db_Adapter_Abstract->update('core_session in /opt/lampp/htdocs/pedicure/lib/Zend/Db/Statement/Pdo.php on line 234
[Fri Jan 24 18:40:57.681009 2014] [:error] [pid 2494] [client 127.0.0.1:46634] PHP Warning: include(Zend/Log.php): failed to open stream: No such file or directory in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:40:57.681057 2014] [:error] [pid 2494] [client 127.0.0.1:46634] PHP Warning: include(): Failed opening 'Zend/Log.php' for inclusion (include_path='/opt/lampp/htdocs/pedicure/app/code/local:/opt/lampp/htdocs/pedicure/app/code/community:/opt/lampp/htdocs/pedicure/app/code/core:/opt/lampp/htdocs/pedicure/lib:.:/opt/lampp/lib/php') in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:40:57.681071 2014] [:error] [pid 2494] [client 127.0.0.1:46634] PHP Fatal error: Class 'Zend_Log' not found in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/functions.php on line 247
[Fri Jan 24 18:41:02.823272 2014] [:error] [pid 2510] [client 127.0.0.1:46643] PHP Warning: include(Zend/Log.php): failed to open stream: No such file or directory in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:41:02.823324 2014] [:error] [pid 2510] [client 127.0.0.1:46643] PHP Warning: include(): Failed opening 'Zend/Log.php' for inclusion (include_path='/opt/lampp/htdocs/pedicure/app/code/local:/opt/lampp/htdocs/pedicure/app/code/community:/opt/lampp/htdocs/pedicure/app/code/core:/opt/lampp/htdocs/pedicure/lib:.:/opt/lampp/lib/php') in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:41:02.823339 2014] [:error] [pid 2510] [client 127.0.0.1:46643] PHP Fatal error: Class 'Zend_Log' not found in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/functions.php on line 247
[Fri Jan 24 18:41:06.232257 2014] [:error] [pid 2510] [client 127.0.0.1:46643] PHP Warning: include(Zend/Log.php): failed to open stream: No such file or directory in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:41:06.232316 2014] [:error] [pid 2510] [client 127.0.0.1:46643] PHP Warning: include(): Failed opening 'Zend/Log.php' for inclusion (include_path='/opt/lampp/htdocs/pedicure/app/code/local:/opt/lampp/htdocs/pedicure/app/code/community:/opt/lampp/htdocs/pedicure/app/code/core:/opt/lampp/htdocs/pedicure/lib:.:/opt/lampp/lib/php') in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:41:06.232331 2014] [:error] [pid 2510] [client 127.0.0.1:46643] PHP Fatal error: Class 'Zend_Log' not found in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/functions.php on line 247
[Fri Jan 24 18:41:08.058339 2014] [:error] [pid 2510] [client 127.0.0.1:46643] PHP Warning: include(Zend/Log.php): failed to open stream: No such file or directory in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:41:08.058388 2014] [:error] [pid 2510] [client 127.0.0.1:46643] PHP Warning: include(): Failed opening 'Zend/Log.php' for inclusion (include_path='/opt/lampp/htdocs/pedicure/app/code/local:/opt/lampp/htdocs/pedicure/app/code/community:/opt/lampp/htdocs/pedicure/app/code/core:/opt/lampp/htdocs/pedicure/lib:.:/opt/lampp/lib/php') in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:41:08.058411 2014] [:error] [pid 2510] [client 127.0.0.1:46643] PHP Fatal error: Class 'Zend_Log' not found in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/functions.php on line 247
[Fri Jan 24 18:41:10.021820 2014] [:error] [pid 2510] [client 127.0.0.1:46643] PHP Warning: include(Zend/Log.php): failed to open stream: No such file or directory in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:41:10.021866 2014] [:error] [pid 2510] [client 127.0.0.1:46643] PHP Warning: include(): Failed opening 'Zend/Log.php' for inclusion (include_path='/opt/lampp/htdocs/pedicure/app/code/local:/opt/lampp/htdocs/pedicure/app/code/community:/opt/lampp/htdocs/pedicure/app/code/core:/opt/lampp/htdocs/pedicure/lib:.:/opt/lampp/lib/php') in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:41:10.021880 2014] [:error] [pid 2510] [client 127.0.0.1:46643] PHP Fatal error: Class 'Zend_Log' not found in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/functions.php on line 247
[Fri Jan 24 18:41:18.703821 2014] [:error] [pid 2506] [client 127.0.0.1:46684] PHP Warning: include(Zend/Log.php): failed to open stream: No such file or directory in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:41:18.703868 2014] [:error] [pid 2506] [client 127.0.0.1:46684] PHP Warning: include(): Failed opening 'Zend/Log.php' for inclusion (include_path='/opt/lampp/htdocs/pedicure/app/code/local:/opt/lampp/htdocs/pedicure/app/code/community:/opt/lampp/htdocs/pedicure/app/code/core:/opt/lampp/htdocs/pedicure/lib:.:/opt/lampp/lib/php') in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:41:18.703882 2014] [:error] [pid 2506] [client 127.0.0.1:46684] PHP Fatal error: Class 'Zend_Log' not found in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/functions.php on line 247
[Fri Jan 24 18:41:41.511820 2014] [:error] [pid 4590] [client 127.0.0.1:46704] PHP Warning: include(Zend/Log.php): failed to open stream: No such file or directory in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:41:41.511972 2014] [:error] [pid 4590] [client 127.0.0.1:46704] PHP Warning: include(): Failed opening 'Zend/Log.php' for inclusion (include_path='/opt/lampp/htdocs/pedicure/app/code/local:/opt/lampp/htdocs/pedicure/app/code/community:/opt/lampp/htdocs/pedicure/app/code/core:/opt/lampp/htdocs/pedicure/lib:.:/opt/lampp/lib/php') in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:41:41.511997 2014] [:error] [pid 4590] [client 127.0.0.1:46704] PHP Fatal error: Class 'Zend_Log' not found in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/functions.php on line 247
[Fri Jan 24 18:41:43.294737 2014] [:error] [pid 4590] [client 127.0.0.1:46704] PHP Warning: include(Zend/Log.php): failed to open stream: No such file or directory in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:41:43.294842 2014] [:error] [pid 4590] [client 127.0.0.1:46704] PHP Warning: include(): Failed opening 'Zend/Log.php' for inclusion (include_path='/opt/lampp/htdocs/pedicure/app/code/local:/opt/lampp/htdocs/pedicure/app/code/community:/opt/lampp/htdocs/pedicure/app/code/core:/opt/lampp/htdocs/pedicure/lib:.:/opt/lampp/lib/php') in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:41:43.294862 2014] [:error] [pid 4590] [client 127.0.0.1:46704] PHP Fatal error: Class 'Zend_Log' not found in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/functions.php on line 247
[Fri Jan 24 18:41:44.154850 2014] [:error] [pid 4590] [client 127.0.0.1:46704] PHP Warning: include(Zend/Log.php): failed to open stream: No such file or directory in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:41:44.154905 2014] [:error] [pid 4590] [client 127.0.0.1:46704] PHP Warning: include(): Failed opening 'Zend/Log.php' for inclusion (include_path='/opt/lampp/htdocs/pedicure/app/code/local:/opt/lampp/htdocs/pedicure/app/code/community:/opt/lampp/htdocs/pedicure/app/code/core:/opt/lampp/htdocs/pedicure/lib:.:/opt/lampp/lib/php') in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:41:44.154928 2014] [:error] [pid 4590] [client 127.0.0.1:46704] PHP Fatal error: Class 'Zend_Log' not found in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/functions.php on line 247
[Fri Jan 24 18:43:34.357140 2014] [:error] [pid 2494] [client 127.0.0.1:46818] PHP Warning: include(Zend/Log.php): failed to open stream: No such file or directory in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:43:34.357197 2014] [:error] [pid 2494] [client 127.0.0.1:46818] PHP Warning: include(): Failed opening 'Zend/Log.php' for inclusion (include_path='/opt/lampp/htdocs/pedicure/app/code/local:/opt/lampp/htdocs/pedicure/app/code/community:/opt/lampp/htdocs/pedicure/app/code/core:/opt/lampp/htdocs/pedicure/lib:.:/opt/lampp/lib/php') in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:43:34.357211 2014] [:error] [pid 2494] [client 127.0.0.1:46818] PHP Fatal error: Class 'Zend_Log' not found in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/functions.php on line 247
[Fri Jan 24 18:43:35.823166 2014] [:error] [pid 2494] [client 127.0.0.1:46818] PHP Warning: include(Zend/Log.php): failed to open stream: No such file or directory in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:43:35.823211 2014] [:error] [pid 2494] [client 127.0.0.1:46818] PHP Warning: include(): Failed opening 'Zend/Log.php' for inclusion (include_path='/opt/lampp/htdocs/pedicure/app/code/local:/opt/lampp/htdocs/pedicure/app/code/community:/opt/lampp/htdocs/pedicure/app/code/core:/opt/lampp/htdocs/pedicure/lib:.:/opt/lampp/lib/php') in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:43:35.823225 2014] [:error] [pid 2494] [client 127.0.0.1:46818] PHP Fatal error: Class 'Zend_Log' not found in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/functions.php on line 247
[Fri Jan 24 18:43:40.071212 2014] [:error] [pid 2494] [client 127.0.0.1:46818] PHP Warning: include(Zend/Log.php): failed to open stream: No such file or directory in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:43:40.071260 2014] [:error] [pid 2494] [client 127.0.0.1:46818] PHP Warning: include(): Failed opening 'Zend/Log.php' for inclusion (include_path='/opt/lampp/htdocs/pedicure/app/code/local:/opt/lampp/htdocs/pedicure/app/code/community:/opt/lampp/htdocs/pedicure/app/code/core:/opt/lampp/htdocs/pedicure/lib:.:/opt/lampp/lib/php') in /opt/lampp/htdocs/pedicure/lib/Varien/Autoload.php on line 93
[Fri Jan 24 18:43:40.071273 2014] [:error] [pid 2494] [client 127.0.0.1:46818] PHP Fatal error: Class 'Zend_Log' not found in /opt/lampp/htdocs/pedicure/app/code/core/Mage/Core/functions.php on line 247
*** glibc detected *** /opt/lampp/bin/httpd: double free or corruption (!prev): 0x08332630 ***
[Fri Jan 24 18:45:26.599938 2014] [core:notice] [pid 1502] AH00051: child pid 4245 exit signal Aborted (6), possible coredump in /opt/lampp
[Fri Jan 24 18:45:26.600073 2014] [mpm_prefork:notice] [pid 1502] AH00169: caught SIGTERM, shutting down
[Fri Jan 24 18:45:33.065084 2014] [ssl:warn] [pid 4991] AH01906: RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Jan 24 18:45:33.065195 2014] [ssl:warn] [pid 4991] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Fri Jan 24 18:45:33.065229 2014] [suexec:notice] [pid 4991] AH01232: suEXEC mechanism enabled (wrapper: /opt/lampp/bin/suexec)
[Fri Jan 24 18:45:33.199857 2014] [auth_digest:notice] [pid 4992] AH01757: generating secret for digest authentication ...
[Fri Jan 24 18:45:34.051094 2014] [ssl:warn] [pid 4992] AH01906: RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Fri Jan 24 18:45:34.051151 2014] [ssl:warn] [pid 4992] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Fri Jan 24 18:45:34.051205 2014] [lbmethod_heartbeat:notice] [pid 4992] AH02282: No slotmem from mod_heartmonitor
[Fri Jan 24 18:45:34.058057 2014] [mpm_prefork:notice] [pid 4992] AH00163: Apache/2.4.3 (Unix) OpenSSL/1.0.1c PHP/5.4.7 configured -- resuming normal operations
[Fri Jan 24 18:45:34.058118 2014] [core:notice] [pid 4992] AH00094: Command line: '/opt/lampp/bin/httpd -D SSL -D PHP5 -E /opt/lampp/logs/error_log'
first of all, there is a mysql error, server has gone away... you should first check, if the webserver can access the db server.
second thing is when you perform an update, especially a majorversion upgrade, make sure that you switch your themes and packages back to the default magento ones, as layoutchanges can cause strange error messages or blank pages. hopefully this was not done on a productive website ;)
Then I would clear the whole cache. If you do not have access to backend, simply remove any files and folders below /docroot/var/cache/ and reload the page after clearing browsercache as well.
If that did not help see if there any frontend errors displayed. If not and only a blank page is displayed or just parts of page with the rest of it blank, it is very hekpful to enable error reporting on frontend in php and magento.
Then you should always take a look on your magentolog found in /docroot/var/log... especially exception.log and system.log can contain a bunch of helpful things...
If you need more help, send over some more info.
Cheers
Ben

Resources