SERP Hacker support forum - serposcope

Support forum for open-source softwares built by serphacker.com : serposcope the rank checker.

You are not logged in.

#1 2019-03-07 20:11:42

ZenImagine
Member
Registered: 2017-04-10
Posts: 10

How to make SERPOSCOPE work on a subdomain with Nginx ?

I installed SERPOSCOPE in a subdomain with Nginx and HTTPS.

https://serposcope.serphacker.com/fr/do … nstall-deb

This program is used to scan the positions of my pages in Google.

When I scan keywords, SERPOSCOPE displays "DONE_WITH_ERROR". I just installed SERPOSCOPE and I have one keyword.

If I go to the log, I see that there are errors. How to correct them ? Maybe my Nginx server is misconfigured.

Here is what appears in the log serposcope :

    [2019-03-07 20:20:48,276] [qtp99347477-11] DEBUG c.s.s.d.g.GoogleSerpRescanDB - SERP rescan (bulk) : starting
    [2019-03-07 20:20:48,280] [qtp99347477-11] DEBUG c.s.s.d.g.GoogleSerpRescanDB - SERP rescan : done, duration = 00:00:00.003
    [2019-03-07 20:20:59,434] [qtp99347477-30] ERROR n.AssetsController - error streaming file
    org.eclipse.jetty.io.EofException: null
    	at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:192) ~[serposcope.jar:na]
    	at org.eclipse.jetty.io.WriteFlusher.flush(WriteFlusher.java:408) ~[serposcope.jar:na]
    	at org.eclipse.jetty.io.WriteFlusher.write(WriteFlusher.java:302) ~[serposcope.jar:na]
    	at org.eclipse.jetty.io.AbstractEndPoint.write(AbstractEndPoint.java:129) ~[serposcope.jar:na]
    	at org.eclipse.jetty.server.HttpConnection$SendCallback.process(HttpConnection.java:690) ~[serposcope.jar:na]
    	at org.eclipse.jetty.util.IteratingCallback.processing(IteratingCallback.java:246) ~[serposcope.jar:na]
    	at org.eclipse.jetty.util.IteratingCallback.iterate(IteratingCallback.java:208) ~[serposcope.jar:na]
    	at org.eclipse.jetty.server.HttpConnection.send(HttpConnection.java:480) [serposcope.jar:na]
    	at org.eclipse.jetty.server.HttpChannel.sendResponse(HttpChannel.java:768) [serposcope.jar:na]
    	at org.eclipse.jetty.server.HttpChannel.write(HttpChannel.java:801) [serposcope.jar:na]
    	at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:142) ~[serposcope.jar:na]
    	at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:135) ~[serposcope.jar:na]
    	at org.eclipse.jetty.server.HttpOutput.write(HttpOutput.java:350) ~[serposcope.jar:na]
    	at com.google.common.io.ByteStreams.copy(ByteStreams.java:74) ~[serposcope.jar:na]
    	at ninja.AssetsController.streamOutUrlEntity(AssetsController.java:154) [serposcope.jar:na]
    	at ninja.AssetsController.access$200(AssetsController.java:45) [serposcope.jar:na]
    	at ninja.AssetsController$1.render(AssetsController.java:95) [serposcope.jar:na]
    	at ninja.utils.ResultHandler.handleRenderable(ResultHandler.java:87) [serposcope.jar:na]
    	at ninja.utils.ResultHandler.handleResult(ResultHandler.java:60) [serposcope.jar:na]
    	at ninja.NinjaDefault.onRouteRequest(NinjaDefault.java:104) [serposcope.jar:na]
    	at ninja.servlet.NinjaServletDispatcher.service(NinjaServletDispatcher.java:86) [serposcope.jar:na]
    	at com.google.inject.servlet.ServletDefinition.doServiceImpl(ServletDefinition.java:287) [serposcope.jar:na]
    	at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:277) [serposcope.jar:na]
    	at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:182) [serposcope.jar:na]
    	at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91) [serposcope.jar:na]
    	at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:85) [serposcope.jar:na]
    	at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:119) [serposcope.jar:na]
    	at com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:133) [serposcope.jar:na]
    	at com.google.inject.servlet.GuiceFilter$1.call(GuiceFilter.java:130) [serposcope.jar:na]
    	at com.google.inject.servlet.GuiceFilter$Context.call(GuiceFilter.java:203) [serposcope.jar:na]
    	at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:130) [serposcope.jar:na]
    	at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652) [serposcope.jar:na]
    	at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585) [serposcope.jar:na]
    	at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127) [serposcope.jar:na]
    	at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515) [serposcope.jar:na]
    	at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061) [serposcope.jar:na]
    	at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) [serposcope.jar:na]
    	at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) [serposcope.jar:na]
    	at org.eclipse.jetty.server.Server.handle(Server.java:497) [serposcope.jar:na]
    	at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310) [serposcope.jar:na]
    	at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257) [serposcope.jar:na]
    	at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540) [serposcope.jar:na]
    	at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635) [serposcope.jar:na]
    	at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) [serposcope.jar:na]
    	at java.lang.Thread.run(Thread.java:748) [na:1.8.0_201]
    Caused by: java.io.IOException: Broken pipe
    	at sun.nio.ch.FileDispatcherImpl.write0(Native Method) ~[na:1.8.0_201]
    	at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47) ~[na:1.8.0_201]
    	at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93) ~[na:1.8.0_201]
    	at sun.nio.ch.IOUtil.write(IOUtil.java:65) ~[na:1.8.0_201]
    	at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:471) ~[na:1.8.0_201]
    	at org.eclipse.jetty.io.ChannelEndPoint.flush(ChannelEndPoint.java:170) ~[serposcope.jar:na]
    	... 44 common frames omitted

Here is the configuration of my Nginx server :

    server {
        listen 80;
        listen [::]:80;
        server_name serp.example.com;
    
        location / {
            return 301 https://serp.example.com$request_uri;
        }
    }
    
    server {
        listen 443 ssl http2;
        listen [::]:443 ssl http2;
        server_name serp.example.com;
    
        ssl_certificate /etc/letsencrypt/live/serp.example.com/fullchain.pem;
        ssl_certificate_key /etc/letsencrypt/live/serp.example.com/privkey.pem;
        include /etc/letsencrypt/options-ssl-nginx.conf;
        ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
    
        location / {
            proxy_set_header X-Forwarded-Host $host:$server_port;
            proxy_set_header X-Forwarded-Server $host;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_pass http://127.0.0.1:7134;
            proxy_http_version 1.1;
        }
    }

Last edited by ZenImagine (2019-03-07 20:19:16)

Offline

Board footer