Closed julianodev closed 2 years ago
for me to use in an environment with https , do I need to do something more than inform the url and port in the project?
Em 12 de mar. de 2022, à(s) 00:12, WhatsAppNETClient @.***> escreveu:
As far as I know, net core doesn't support windows form yet
for me to use in an environment with https , do I need to do something more than inform the url and port in the project? … Em 12 de mar. de 2022, à(s) 00:12, WhatsAppNETClient @.***> escreveu: As far as I know, net core doesn't support windows form yet
For now it doesn't support https
locally works, But when trying to put on a test server. Does not work returns service unavailable. Could you help me, please?
1 step
2 step netsh http add urlacl url=http://+:5555/ user=everyone
Then when I run the application on the server, it connects to whatsapp, but when I try to access via rest it returns service unavailable
I am using WhatsAppNETAPIRestApiCSharp
Thanks
@julianodev
try run WhatsAppNETAPIrestApiCSharp.exe as administrator
or try replacing:
var url = "http://*";
becomes
var url = "http://+";
Even running as administrator, and changing to your suggestion didn't work.
Is there anything else you can help me with? I recorded a small video for you to see the behavior
I changed as you suggested
And even reserving a range of ports, and running the application, when I run netstat -ano it is not listed :(
But if I create a manual node application, it works perfectly on the server.
I believe it has to do with the port, I was doing a test on some ports, with port 9999 it worked for a while but then it stopped working.
I will continue the investigation
When I mark REST API SERVICE and access to URL works, in the 2nd attempt it not already works
When I mark REST API SERVICE and access to URL works, in the 2nd attempt it not already works
Try accessing the endpoint using a rest client like Postman, don't use a browser right away
Does it work with .NET Core forms? When I call Connect nothing happens?