Yii 1.1 - SoapServer::SoapServer(url): failed to open stream - soap

I'm migrating a service that uses SoapServer class, but when i made a request, i'm facing this error:
SoapServer::SoapServer("url of my server"): failed to open stream:
HTTP request failed! HTTP/1.0 500 Internal Server Error
I was using digital ocean droplet and have to resize to a another digital ocean droplet and i'm having this problem.
I'm using apache 2.4 and php5.6 with the yii 1.1 framework.

Related

Darts web socket connection problem with ssl

I want to use a web socket on Flutter.
I can easily connect to non-SSL API. But when connecting to an API with SSL get the following error.
WebSocketChannelException: WebSocketChannelException:
HandshakeException: Handshake error in client (OS Error:
WRONG_VERSION_NUMBER(tls_record.cc:242))
I tried using SecureSocket, but it doesn't allow adding parameters in SecureSocket.

Error during WebSocket handshake: Unexpected response code: 404 Sails.js

i'm currently using sails.js and i deploy it in a2hosting shared hosting with turbo plan , i'm trying to connect to the sails socket in (ionic /angular) app i used the nodejs script for sails.io.js and socket.io.js from this documentation from here
and this is my configuration in my ionic app
this.io = sailsIOClient(socketIOClient);
this.io.sails.url = 'https://example.com/api';
this.io.sails.path = '/api';
this.io.sails.environment = 'production';
this.io.sails.useCORSRouteToGetCookie = false;
and every time trying to connect this errors appear
websocket.js:110 WebSocket connection to 'wss://example.com/api/?__sails_io_sdk_version=1.2.1&__sails_io_sdk_platform=node&__sails_io_sdk_language=javascript&EIO=3&transport=websocket' failed: Error during WebSocket handshake: Unexpected response code: 404
any one can help me please ?

How to make a SOAP call to WSUS Server

How can I create an SOAP envelope to get update details from WSUS Server?
I found complete WSDL file and documentation, when I tried hitting
10.66.195.242/ApiRemoting30/WebService.asmx
I'm getting Server error
Server Error in '/ApiRemoting30' Application.
Error: 2018-10-08 05:10:20 10.66.195.242 GET /ApiRemoting30/WebService.asmx - 80 NH-2K8-R2-3\administrator 10.44.141.162 Mozilla/5.0+(Windows+NT+10.0;+Win64;+x64;+rv:62.0)+Gecko/20100101+Firefox/62.0 500 0 0 5003

Java client aborts on SNI unrecognized_name warning

I am trying to connect the domain platform.modsolar.net using socket. But I am getting
javax.net.ssl.SSLProtocolException: handshake alert:
unrecognized_name
I am using Java 7.
The host name(platform.modsolar.net) is correctly listed in the SANs
What am I missing here ?

Indy10 HTTPS - socket error 10060 - connection timeout

I'm getting "Socket Error #10060, Connection timed out" when trying to access a https link.
Here is how you can reproduce it with INDY 10.6.2.0 and OpenSSL 1.0.2d DLLs (also happens with older Indy 10 version and dlls):
create a project and add a TButton, TIdHTTP and TMemo objects to the form
add to button onclick this code:
IdHTTP1.Request.UserAgent:='Indy';
IdHTTP1.HandleRedirects:=true;
Memo1.text:=IdHTTP1.Get('https://www.itv.com');`
now compile and run it, it will download correctly the file.
BUT if you are using a service like www.smartydns.com which redirects DNS request to their server, INDY sample above will not work and fail with "Socket Error #10060, Connection timed out" message.
Have tried it with WGET too (https://eternallybored.org/misc/wget/) and in version 1.13 its initializing the SSL handshake and freezes, but works without problems with version 1.15.
So the question is, what IdHTTP settings do I have to use to make it work, or is it a bug in Indy10 ?