-
Notifications
You must be signed in to change notification settings - Fork 366
Cannot be establish the connection with server #165
Comments
Do you have more information ? The exception should be more verbose now. |
ping @Taluu |
I'm suspecting you should use the |
I'm already using the |
Which version are you using ? Because the line 190 is not the one throwing the exception on latest tag and master... Otherwise, could you add a sort of dump of the |
I'm using the |
Removing the
|
Try to access |
(I think it comes from elephant.io, I'll try to look up if when I'll be getting some time) |
The error was not in the lib but in my network. |
Np. But reopening as it brought an error to my attention. :) |
I had the same issues. There is more then one pitfall btw. In my case docker container had a wrong port alignment. So: check ports in case of docker (e.g https://server_node:8443) But also a self-asigned tls/ssl can couse trouble. Use this workaround But also your php.ini may need some more flags. Make sure allow_url_fopen is On |
This is usually caused by connection errors that gets eaten by the |
I am getting the same issues. It caused after I switched from http to https @Taluu |
try #181 (comment) |
may help you comment lines then write this code
|
I am using this code. How can I solve the problem? $client = new Client(new Version2X('https://xxxxx:6001', |
What are u even talking about
…On Thu, Dec 23, 2021, 2:14 PM burak berktürk ***@***.***> wrote:
https://stackoverflow.com/a/66090819/4690409
—
Reply to this email directly, view it on GitHub
<#165 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADIIPOSKDDXPJWAVTHXMBHDUSOGKPANCNFSM4EESWODA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I am also facing same issue, I am not sure but I find out that if I connect to server using socket version ^3.0.0 than I am getting connection error but when I am using version ^2.0.0 It is establish connection successfully. Is there any other library I can use for socket connection with version 3? |
Since this package is largely unmaintained as far as I'm aware I've also stopped using it in my own app, and have not found a suitable replacement since. |
I'm not able to establish a connection to the server using this php client.
With the javascript client I usually get it.
An error occurred while trying to establish a connection to the server
relates #163 #161 #160I've been using port 3000 on the server.
The text was updated successfully, but these errors were encountered: