question

NURUL HUDA avatar image
NURUL HUDA asked NURUL HUDA answered

Error Connect with secure Network payment display using java-semi integration

using remote pay java semi-integration which has been working since last 2 days.

i am using Cover Mini v2
its have been work for 2 year and suddently now get Java error:

The status code of the opening handshake response is not '101 Switching Protocols'. The status line is: HTTP/1.1 404 WebSocket Upgrade Failure


here log that i note upon running

2021-04-09 17:56:17 : Port Number

2021-04-09 17:56:17 : URL Connect: wss://10.1.10.172:12333/remote_pay

2021-04-09 17:56:17 : Loading cert: /certs/device_ca_certificate.crt

2021-04-09 17:56:17 : Loading cert /certs/device_ca_certificate.crt get Resource class com.goblooge.clover.SCloverUtility

2021-04-09 17:56:17 : Loading cert /certs/device_ca_certificate.crt got Resource class com.goblooge.clover.SCloverUtility

2021-04-09 17:56:17 : Loading cert /certs/device_ca_certificate.crt Factory Resource class com.goblooge.clover.SCloverUtility

2021-04-09 17:56:17 : Loading cert /certs/device_ca_certificate.crt Certificate Generated class com.goblooge.clover.SCloverUtility

2021-04-09 17:56:17 : Loading cert: /certs/env_device_ca_certificate.crt

2021-04-09 17:56:17 : Loading cert /certs/env_device_ca_certificate.crt get Resource class com.goblooge.clover.SCloverUtility

2021-04-09 17:56:17 : Loading cert /certs/env_device_ca_certificate.crt got Resource class com.goblooge.clover.SCloverUtility

2021-04-09 17:56:17 : Loading cert /certs/env_device_ca_certificate.crt Factory Resource class com.goblooge.clover.SCloverUtility

2021-04-09 17:56:17 : Loading cert /certs/env_device_ca_certificate.crt Certificate Generated class com.goblooge.clover.SCloverUtility

2021-04-09 17:56:17 : KeyStore Created

2021-04-09 17:56:17 : Using Token: 3557f9bf-18b6-4886-9290-afe13e23f823

2021-04-09 17:56:17 : Waiting for Device Responding

2021-04-09 17:56:17 : Adding LIstener

2021-04-09 17:56:17 : Listener Added

2021-04-09 17:56:17 : Start Connection

2021-04-09 17:56:18 : Connection Started




Paymentssemi-integrationssecure network pay display
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

NURUL HUDA avatar image
NURUL HUDA answered

i found the problem, it happen because tje JRE has been updated and need to be downgrade. i down it grade and it work. thanks

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

David Marginian avatar image
David Marginian Deactivated answered

Did you have a networking change? Can you ping that ip?

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

NURUL HUDA avatar image
NURUL HUDA answered NURUL HUDA commented

i did not have any network change, i ping the ip and yes it work. so nothing to do with the network. i also try to change the ip address and also the port. but always always got that error.

12 comments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

David Marginian avatar image David Marginian ♦♦ commented ·

Is this a devkit?

0 Likes 0 ·
NURUL HUDA avatar image NURUL HUDA David Marginian ♦♦ commented ·

no, this is on production, two days ago its working. but since yesterday it did not work. the java program that i built trying to connect with the clover display. but seem the clover did not response anything. then i check on the log and got

The status code of the opening handshake response is not '101 Switching Protocols'. The status line is: HTTP/1.1 404 WebSocket Upgrade Failure


both device and pc at same network wifi.

0 Likes 0 ·
David Marginian avatar image David Marginian ♦♦ NURUL HUDA commented ·

Can you provide the device serial number in a private post? What is your app id and what version of the Clover Connector SDK are you using?

0 Likes 0 ·
Show more comments

Welcome to the
Clover Developer Community