Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not discovering my PS4 #2

Closed
URBANsUNITED opened this issue Jan 22, 2021 · 26 comments
Closed

Not discovering my PS4 #2

URBANsUNITED opened this issue Jan 22, 2021 · 26 comments

Comments

@URBANsUNITED
Copy link

URBANsUNITED commented Jan 22, 2021

Hi!
Thanks for your software. But unfortunately it is not working here.
Wired PS4 pro 6.72 same network as my Mac, but the GUI is not finding the console.
Tried on Win10 too, same.

Is there anything I have to specially setup next to the running PS4 package of the remote installer by flat_z?
Tried a different remote package installer which worked flawless and installed the package directly without any issues.

Thanks

URBANsUNITED

@selmant
Copy link

selmant commented Jan 22, 2021

If you connect your PC and PS4 with direct cable you cant broadcast to 255.255.255.255 address.

I'm sure this will be fixed but for quickfix you can set PS4 ip:255.255.255.1 netmask:255.255.255.0 and PC ip:255.255.255.2 netmask:255.255.255.0

@mustafapx
Copy link

Sadly same issue here my ps4 is connected to the router with cable and my windows 10 laptop cant find it

@BenjaminFaal
Copy link
Owner

Maybe some firewall related issues? The remote protocol runs on port 987 and 997. Also i will increase the discovery timeout from 2500 ms to 5000 to see if that will help. Keep an eye out for the next release.

@BenjaminFaal
Copy link
Owner

cab7130

@URBANsUNITED
Copy link
Author

No difference on my side. Still not discovering.
Firewall is off, but no extra open ports (987 + 997) in my router. Will try that next even is won't be necessary as the connection stays in house...

@BenjaminFaal
Copy link
Owner

That should indeed not be necessary. I will add a function to manually add a PS4 by IP then.

@BenjaminFaal
Copy link
Owner

Fixed in 87c3071

@BenjaminFaal
Copy link
Owner

@URBANsUNITED
Copy link
Author

URBANsUNITED commented Jan 24, 2021

Still no joy
Bildschirmfoto 2021-01-24 um 11 54 31
Comes directly after entering the ip of the PS4

@BenjaminFaal
Copy link
Owner

The DDP protocol seems to not respond then on your PS4. I use it to check if Remote PKG Installer is running on the PS4. I think i have to make those checks optional then.

@BenjaminFaal
Copy link
Owner

Should be fixed in 4341e56

@BenjaminFaal
Copy link
Owner

@selmant
Copy link

selmant commented Jan 24, 2021

The DDP protocol seems to not respond then on your PS4. I use it to check if Remote PKG Installer is running on the PS4. I think i have to make those checks optional then.

I think that's the case also. You are only broadcasting message to 255.255.255.255. There is a broadcast address for each network interface. Checking all the interfaces and sending multiple message will solve the issue I think.

@URBANsUNITED
Copy link
Author

Benni, sorry for being such a pain in the xxx
But my PS4 is discovered, that works, but not authentification.
Tried PSN ID, PSN ID Hash and PSN manual way
Bildschirmfoto 2021-01-24 um 15 07 06
Second screen freezes the app

@BenjaminFaal
Copy link
Owner

It does not freeze the app it may look like it but you need to connect the second screen app then it will unfreeze. Do you have any stacktrace? You can view stacktraces by running the application from the command line with java -jar ps4-remote-pkg-installer.jar. Are you sure you use the same PSN account thats linked to the PS4.

@URBANsUNITED
Copy link
Author

URBANsUNITED commented Jan 24, 2021

It's the same ID which I use for PS4 remote play and there it works.

"region":"de","language":"de","onlineId":"URBANsUNIxxxx","age":xx,"dateOfBirth":"xxxx/xx/xx","communityDomain":"a8","subaccount":false,"ps4Available":true,"parentalControl":{"RestrictChat":false,"RestrictUGM":false,"RestrictStoreContent":true}}

All above OK! x'ed some areas

2021-01-24 15:19:51.634 ERROR 4576 --- [WT-EventQueue-0] c.b.ps4remotepkginstaller.ui.MainUI : Error logging in to PS4: PS4-140 (192.168.0.32) (200 Ok)

java.lang.IllegalStateException: Invalid credential, please authenticate again.
at com.benjaminfaal.ps4remotepkginstaller.ui.MainUI.login(MainUI.java:737) [classes!/:0.0.7]
at com.benjaminfaal.ps4remotepkginstaller.ui.MainUI.connect(MainUI.java:707) [classes!/:0.0.7]
at com.benjaminfaal.ps4remotepkginstaller.ui.MainUI.access$400(MainUI.java:66) [classes!/:0.0.7]
at com.benjaminfaal.ps4remotepkginstaller.ui.MainUI$2.done(MainUI.java:259) [classes!/:0.0.7]
at javax.swing.SwingWorker$5.run(SwingWorker.java:737) [na:1.8.0_281]
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(SwingWorker.java:832) [na:1.8.0_281]
at sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:112) [na:1.8.0_281]
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(SwingWorker.java:842) [na:1.8.0_281]
at javax.swing.Timer.fireActionPerformed(Timer.java:313) [na:1.8.0_281]
at javax.swing.Timer$DoPostEvent.run(Timer.java:245) [na:1.8.0_281]
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) [na:1.8.0_281]
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) [na:1.8.0_281]
at java.awt.EventQueue.access$500(EventQueue.java:97) [na:1.8.0_281]
at java.awt.EventQueue$3.run(EventQueue.java:709) [na:1.8.0_281]
at java.awt.EventQueue$3.run(EventQueue.java:703) [na:1.8.0_281]
at java.security.AccessController.doPrivileged(Native Method) [na:1.8.0_281]
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) [na:1.8.0_281]
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) [na:1.8.0_281]
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) [na:1.8.0_281]
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) [na:1.8.0_281]
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) [na:1.8.0_281]
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) [na:1.8.0_281]
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) [na:1.8.0_281]
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) [na:1.8.0_281]

@BenjaminFaal
Copy link
Owner

You dont happen to enter the base64 encoded id right?

@URBANsUNITED
Copy link
Author

I tried with "Login with PSN manually" again. Not working:

2021-01-24 15:32:37.195 ERROR 4576 --- [WT-EventQueue-0] c.b.ps4remotepkginstaller.ui.MainUI : Error logging in to PS4: PS4-140 (192.168.0.32) (200 Ok)

java.lang.IllegalStateException: Invalid credential, please authenticate again.
at com.benjaminfaal.ps4remotepkginstaller.ui.MainUI.login(MainUI.java:737) [classes!/:0.0.7]
at com.benjaminfaal.ps4remotepkginstaller.ui.MainUI.connect(MainUI.java:707) [classes!/:0.0.7]
at com.benjaminfaal.ps4remotepkginstaller.ui.MainUI.lambda$initDiscoverUI$2(MainUI.java:174) [classes!/:0.0.7]
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) ~[na:1.8.0_281]
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348) ~[na:1.8.0_281]
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) ~[na:1.8.0_281]
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) ~[na:1.8.0_281]
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252) ~[na:1.8.0_281]
at java.awt.Component.processMouseEvent(Component.java:6539) ~[na:1.8.0_281]
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324) ~[na:1.8.0_281]
at java.awt.Component.processEvent(Component.java:6304) ~[na:1.8.0_281]
at java.awt.Container.processEvent(Container.java:2239) ~[na:1.8.0_281]
at java.awt.Component.dispatchEventImpl(Component.java:4889) ~[na:1.8.0_281]
at java.awt.Container.dispatchEventImpl(Container.java:2297) ~[na:1.8.0_281]
at java.awt.Component.dispatchEvent(Component.java:4711) ~[na:1.8.0_281]
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904) ~[na:1.8.0_281]
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535) ~[na:1.8.0_281]
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476) ~[na:1.8.0_281]
at java.awt.Container.dispatchEventImpl(Container.java:2283) ~[na:1.8.0_281]
at java.awt.Window.dispatchEventImpl(Window.java:2746) ~[na:1.8.0_281]
at java.awt.Component.dispatchEvent(Component.java:4711) ~[na:1.8.0_281]
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760) ~[na:1.8.0_281]
at java.awt.EventQueue.access$500(EventQueue.java:97) ~[na:1.8.0_281]
at java.awt.EventQueue$3.run(EventQueue.java:709) ~[na:1.8.0_281]
at java.awt.EventQueue$3.run(EventQueue.java:703) ~[na:1.8.0_281]
at java.security.AccessController.doPrivileged(Native Method) ~[na:1.8.0_281]
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) ~[na:1.8.0_281]
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84) ~[na:1.8.0_281]
at java.awt.EventQueue$4.run(EventQueue.java:733) ~[na:1.8.0_281]
at java.awt.EventQueue$4.run(EventQueue.java:731) ~[na:1.8.0_281]
at java.security.AccessController.doPrivileged(Native Method) ~[na:1.8.0_281]
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) ~[na:1.8.0_281]
at java.awt.EventQueue.dispatchEvent(EventQueue.java:730) ~[na:1.8.0_281]
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) ~[na:1.8.0_281]
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) ~[na:1.8.0_281]
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) ~[na:1.8.0_281]
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) ~[na:1.8.0_281]
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) ~[na:1.8.0_281]
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) ~[na:1.8.0_281]

@BenjaminFaal
Copy link
Owner

Try the PS4 Second Screen app method again and then connecting with the app. Then the ui will unfreeze and it should work.

@URBANsUNITED
Copy link
Author

Possible that I am dumb, but that is not working.
The iOS second screen app is not working:
IMG_1254

But I could add the remote installer somehow:
Bildschirmfoto 2021-01-24 um 15 43 23

But the authencification is not possible.

@BenjaminFaal
Copy link
Owner

You can ignore the mobile app connection error but maybe try to remove the "PS4 Remote PKG" from the PS4 mobile app connection settings screen and try again? If thats not working im afraid you have to turn off remote control and manually start the Remote PKG Installer on the PS4 everytime you want to use it.

@URBANsUNITED
Copy link
Author

Did that! I've deleted the connection and started again.
I can't enter the pin which pops on the screen for the linking ind the gui.
How do you store the settings? Will try a different machine and maybe copy over the settings???

@URBANsUNITED
Copy link
Author

I am done...
Even the installer is not working here.
Turned off "remote", choose my file and than this:
Bildschirmfoto 2021-01-24 um 16 10 00

2021-01-24 16:10:17.828 INFO 5216 --- [ main] c.b.p.PS4RemotePKGInstallerApplication : Starting PS4RemotePKGInstallerApplication v0.0.7 using Java 1.8.0_281 on iPro-von-Andi.fritz.box with PID 5216 (/Volumes/osX_DaTa/-=Benutzer=-/andi/Downloads/ps4-remote-pkg-installer-refs.tags.v0.0.7.jar started by andi in /Volumes/osX_DaTa/-=Benutzer=-/andi)
2021-01-24 16:10:17.830 INFO 5216 --- [ main] c.b.p.PS4RemotePKGInstallerApplication : The following profiles are active: psn-oauth
2021-01-24 16:10:18.963 INFO 5216 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
2021-01-24 16:10:18.973 INFO 5216 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2021-01-24 16:10:18.974 INFO 5216 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.41]
2021-01-24 16:10:19.029 INFO 5216 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2021-01-24 16:10:19.029 INFO 5216 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1151 ms
2021-01-24 16:10:19.623 INFO 5216 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@565f390, org.springframework.security.web.context.SecurityContextPersistenceFilter@3aa078fd, org.springframework.security.web.header.HeaderWriterFilter@7dfb0c0f, org.springframework.security.web.csrf.CsrfFilter@71687585, org.springframework.security.web.authentication.logout.LogoutFilter@f68f0dc, org.springframework.security.oauth2.client.web.OAuth2AuthorizationRequestRedirectFilter@1224144a, org.springframework.security.oauth2.client.web.OAuth2LoginAuthenticationFilter@9816741, org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@5dafbe45, org.springframework.security.web.authentication.ui.DefaultLogoutPageGeneratingFilter@7dc3712, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@46d59067, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@66ea810, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@2f67a4d3, org.springframework.security.web.session.SessionManagementFilter@169bb4dd, org.springframework.security.web.access.ExceptionTranslationFilter@6933b6c6, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@45385f75]
2021-01-24 16:10:19.761 INFO 5216 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'
2021-01-24 16:10:20.009 INFO 5216 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path ''
2021-01-24 16:10:20.023 INFO 5216 --- [ main] c.b.p.PS4RemotePKGInstallerApplication : Started PS4RemotePKGInstallerApplication in 2.662 seconds (JVM running for 10.538)
2021-01-24 16:10:29.121 ERROR 5216 --- [WT-EventQueue-0] c.b.ps4remotepkginstaller.ui.MainUI : Error installing:

java.util.concurrent.ExecutionException: org.springframework.web.client.ResourceAccessException: I/O error on POST request for "http://192.168.0.32:12800/api/install": Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out
at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[na:1.8.0_281]
at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[na:1.8.0_281]
at javax.swing.SwingWorker.get(SwingWorker.java:602) ~[na:1.8.0_281]
at com.benjaminfaal.ps4remotepkginstaller.ui.MainUI$10.done(MainUI.java:894) ~[classes!/:0.0.7]
at javax.swing.SwingWorker$5.run(SwingWorker.java:737) [na:1.8.0_281]
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(SwingWorker.java:832) [na:1.8.0_281]
at sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:112) [na:1.8.0_281]
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(SwingWorker.java:842) [na:1.8.0_281]
at javax.swing.Timer.fireActionPerformed(Timer.java:313) [na:1.8.0_281]
at javax.swing.Timer$DoPostEvent.run(Timer.java:245) [na:1.8.0_281]
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) [na:1.8.0_281]
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) [na:1.8.0_281]
at java.awt.EventQueue.access$500(EventQueue.java:97) [na:1.8.0_281]
at java.awt.EventQueue$3.run(EventQueue.java:709) [na:1.8.0_281]
at java.awt.EventQueue$3.run(EventQueue.java:703) [na:1.8.0_281]
at java.security.AccessController.doPrivileged(Native Method) [na:1.8.0_281]
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) [na:1.8.0_281]
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) [na:1.8.0_281]
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) [na:1.8.0_281]
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) [na:1.8.0_281]
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) [na:1.8.0_281]
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) [na:1.8.0_281]
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) [na:1.8.0_281]
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) [na:1.8.0_281]
Caused by: org.springframework.web.client.ResourceAccessException: I/O error on POST request for "http://192.168.0.32:12800/api/install": Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:784) ~[spring-web-5.3.3.jar!/:5.3.3]
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:710) ~[spring-web-5.3.3.jar!/:5.3.3]
at org.springframework.web.client.RestTemplate.postForObject(RestTemplate.java:436) ~[spring-web-5.3.3.jar!/:5.3.3]
at com.benjaminfaal.ps4remotepkginstaller.service.impl.RemotePKGInstallerServiceImpl.install(RemotePKGInstallerServiceImpl.java:262) ~[classes!/:0.0.7]
at com.benjaminfaal.ps4remotepkginstaller.service.impl.RemotePKGInstallerServiceImpl.installFiles(RemotePKGInstallerServiceImpl.java:174) ~[classes!/:0.0.7]
at com.benjaminfaal.ps4remotepkginstaller.ui.MainUI.lambda$null$18(MainUI.java:792) ~[classes!/:0.0.7]
at com.benjaminfaal.ps4remotepkginstaller.ui.MainUI$10.doInBackground(MainUI.java:888) ~[classes!/:0.0.7]
at com.benjaminfaal.ps4remotepkginstaller.ui.MainUI$10.doInBackground(MainUI.java:885) ~[classes!/:0.0.7]
at javax.swing.SwingWorker$1.call(SwingWorker.java:295) ~[na:1.8.0_281]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_281]
at javax.swing.SwingWorker.run(SwingWorker.java:334) ~[na:1.8.0_281]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_281]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_281]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_281]
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method) ~[na:1.8.0_281]
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) ~[na:1.8.0_281]
at java.net.SocketInputStream.read(SocketInputStream.java:171) ~[na:1.8.0_281]
at java.net.SocketInputStream.read(SocketInputStream.java:141) ~[na:1.8.0_281]
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) ~[na:1.8.0_281]
at java.io.BufferedInputStream.read1(BufferedInputStream.java:286) ~[na:1.8.0_281]
at java.io.BufferedInputStream.read(BufferedInputStream.java:345) ~[na:1.8.0_281]
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:735) ~[na:1.8.0_281]
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678) ~[na:1.8.0_281]
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1593) ~[na:1.8.0_281]
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498) ~[na:1.8.0_281]
at org.springframework.http.client.SimpleClientHttpResponse.getBody(SimpleClientHttpResponse.java:89) ~[spring-web-5.3.3.jar!/:5.3.3]
at com.benjaminfaal.ps4remotepkginstaller.service.impl.RemotePKGInstallerServiceImpl.lambda$new$0(RemotePKGInstallerServiceImpl.java:90) ~[classes!/:0.0.7]
at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:93) ~[spring-web-5.3.3.jar!/:5.3.3]
at org.springframework.http.client.InterceptingClientHttpRequest.executeInternal(InterceptingClientHttpRequest.java:77) ~[spring-web-5.3.3.jar!/:5.3.3]
at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48) ~[spring-web-5.3.3.jar!/:5.3.3]
at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:66) ~[spring-web-5.3.3.jar!/:5.3.3]
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:775) ~[spring-web-5.3.3.jar!/:5.3.3]
... 13 common frames omitted

@URBANsUNITED
Copy link
Author

URBANsUNITED commented Jan 24, 2021

This one works
https://github.com/iref-use/ps4-remote-pkg-sender
Nevertheless thanks for your work. Maybe you can get it proper working as the specs look promising!!!
I am here if you'll need further testings

@BenjaminFaal
Copy link
Owner

I am done...
Even the installer is not working here.
Turned off "remote", choose my file and than this:
Bildschirmfoto 2021-01-24 um 16 10 00

2021-01-24 16:10:17.828 INFO 5216 --- [ main] c.b.p.PS4RemotePKGInstallerApplication : Starting PS4RemotePKGInstallerApplication v0.0.7 using Java 1.8.0_281 on iPro-von-Andi.fritz.box with PID 5216 (/Volumes/osX_DaTa/-=Benutzer=-/andi/Downloads/ps4-remote-pkg-installer-refs.tags.v0.0.7.jar started by andi in /Volumes/osX_DaTa/-=Benutzer=-/andi)
2021-01-24 16:10:17.830 INFO 5216 --- [ main] c.b.p.PS4RemotePKGInstallerApplication : The following profiles are active: psn-oauth
2021-01-24 16:10:18.963 INFO 5216 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
2021-01-24 16:10:18.973 INFO 5216 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2021-01-24 16:10:18.974 INFO 5216 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.41]
2021-01-24 16:10:19.029 INFO 5216 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2021-01-24 16:10:19.029 INFO 5216 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1151 ms
2021-01-24 16:10:19.623 INFO 5216 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@565f390, org.springframework.security.web.context.SecurityContextPersistenceFilter@3aa078fd, org.springframework.security.web.header.HeaderWriterFilter@7dfb0c0f, org.springframework.security.web.csrf.CsrfFilter@71687585, org.springframework.security.web.authentication.logout.LogoutFilter@f68f0dc, org.springframework.security.oauth2.client.web.OAuth2AuthorizationRequestRedirectFilter@1224144a, org.springframework.security.oauth2.client.web.OAuth2LoginAuthenticationFilter@9816741, org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@5dafbe45, org.springframework.security.web.authentication.ui.DefaultLogoutPageGeneratingFilter@7dc3712, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@46d59067, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@66ea810, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@2f67a4d3, org.springframework.security.web.session.SessionManagementFilter@169bb4dd, org.springframework.security.web.access.ExceptionTranslationFilter@6933b6c6, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@45385f75]
2021-01-24 16:10:19.761 INFO 5216 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'
2021-01-24 16:10:20.009 INFO 5216 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8080 (http) with context path ''
2021-01-24 16:10:20.023 INFO 5216 --- [ main] c.b.p.PS4RemotePKGInstallerApplication : Started PS4RemotePKGInstallerApplication in 2.662 seconds (JVM running for 10.538)
2021-01-24 16:10:29.121 ERROR 5216 --- [WT-EventQueue-0] c.b.ps4remotepkginstaller.ui.MainUI : Error installing:

java.util.concurrent.ExecutionException: org.springframework.web.client.ResourceAccessException: I/O error on POST request for "http://192.168.0.32:12800/api/install": Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out
at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[na:1.8.0_281]
at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[na:1.8.0_281]
at javax.swing.SwingWorker.get(SwingWorker.java:602) ~[na:1.8.0_281]
at com.benjaminfaal.ps4remotepkginstaller.ui.MainUI$10.done(MainUI.java:894) ~[classes!/:0.0.7]
at javax.swing.SwingWorker$5.run(SwingWorker.java:737) [na:1.8.0_281]
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.run(SwingWorker.java:832) [na:1.8.0_281]
at sun.swing.AccumulativeRunnable.run(AccumulativeRunnable.java:112) [na:1.8.0_281]
at javax.swing.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(SwingWorker.java:842) [na:1.8.0_281]
at javax.swing.Timer.fireActionPerformed(Timer.java:313) [na:1.8.0_281]
at javax.swing.Timer$DoPostEvent.run(Timer.java:245) [na:1.8.0_281]
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) [na:1.8.0_281]
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758) [na:1.8.0_281]
at java.awt.EventQueue.access$500(EventQueue.java:97) [na:1.8.0_281]
at java.awt.EventQueue$3.run(EventQueue.java:709) [na:1.8.0_281]
at java.awt.EventQueue$3.run(EventQueue.java:703) [na:1.8.0_281]
at java.security.AccessController.doPrivileged(Native Method) [na:1.8.0_281]
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) [na:1.8.0_281]
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728) [na:1.8.0_281]
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) [na:1.8.0_281]
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) [na:1.8.0_281]
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) [na:1.8.0_281]
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) [na:1.8.0_281]
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) [na:1.8.0_281]
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) [na:1.8.0_281]
Caused by: org.springframework.web.client.ResourceAccessException: I/O error on POST request for "http://192.168.0.32:12800/api/install": Read timed out; nested exception is java.net.SocketTimeoutException: Read timed out
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:784) ~[spring-web-5.3.3.jar!/:5.3.3]
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:710) ~[spring-web-5.3.3.jar!/:5.3.3]
at org.springframework.web.client.RestTemplate.postForObject(RestTemplate.java:436) ~[spring-web-5.3.3.jar!/:5.3.3]
at com.benjaminfaal.ps4remotepkginstaller.service.impl.RemotePKGInstallerServiceImpl.install(RemotePKGInstallerServiceImpl.java:262) ~[classes!/:0.0.7]
at com.benjaminfaal.ps4remotepkginstaller.service.impl.RemotePKGInstallerServiceImpl.installFiles(RemotePKGInstallerServiceImpl.java:174) ~[classes!/:0.0.7]
at com.benjaminfaal.ps4remotepkginstaller.ui.MainUI.lambda$null$18(MainUI.java:792) ~[classes!/:0.0.7]
at com.benjaminfaal.ps4remotepkginstaller.ui.MainUI$10.doInBackground(MainUI.java:888) ~[classes!/:0.0.7]
at com.benjaminfaal.ps4remotepkginstaller.ui.MainUI$10.doInBackground(MainUI.java:885) ~[classes!/:0.0.7]
at javax.swing.SwingWorker$1.call(SwingWorker.java:295) ~[na:1.8.0_281]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_281]
at javax.swing.SwingWorker.run(SwingWorker.java:334) ~[na:1.8.0_281]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) ~[na:1.8.0_281]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) ~[na:1.8.0_281]
at java.lang.Thread.run(Thread.java:748) ~[na:1.8.0_281]
Caused by: java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method) ~[na:1.8.0_281]
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116) ~[na:1.8.0_281]
at java.net.SocketInputStream.read(SocketInputStream.java:171) ~[na:1.8.0_281]
at java.net.SocketInputStream.read(SocketInputStream.java:141) ~[na:1.8.0_281]
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246) ~[na:1.8.0_281]
at java.io.BufferedInputStream.read1(BufferedInputStream.java:286) ~[na:1.8.0_281]
at java.io.BufferedInputStream.read(BufferedInputStream.java:345) ~[na:1.8.0_281]
at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:735) ~[na:1.8.0_281]
at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:678) ~[na:1.8.0_281]
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1593) ~[na:1.8.0_281]
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498) ~[na:1.8.0_281]
at org.springframework.http.client.SimpleClientHttpResponse.getBody(SimpleClientHttpResponse.java:89) ~[spring-web-5.3.3.jar!/:5.3.3]
at com.benjaminfaal.ps4remotepkginstaller.service.impl.RemotePKGInstallerServiceImpl.lambda$new$0(RemotePKGInstallerServiceImpl.java:90) ~[classes!/:0.0.7]
at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:93) ~[spring-web-5.3.3.jar!/:5.3.3]
at org.springframework.http.client.InterceptingClientHttpRequest.executeInternal(InterceptingClientHttpRequest.java:77) ~[spring-web-5.3.3.jar!/:5.3.3]
at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48) ~[spring-web-5.3.3.jar!/:5.3.3]
at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:66) ~[spring-web-5.3.3.jar!/:5.3.3]
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:775) ~[spring-web-5.3.3.jar!/:5.3.3]
... 13 common frames omitted

You need to have the Remote PKG Installer application in the foreground on the PS4.

@URBANsUNITED
Copy link
Author

The question is:
How to keep the Remote PKG Installer application in the foreground on the PS4 while setting up the second screen connection?
I have to get out of the Remote PKG Installer application and switch to second/mobile app settings screen for getting the pin code.
Thanks
Andi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants