Error Publishing my project with sFTP protocol - visual-studio-2019

So, I've set up my publishing with the exact same data as my filezilla client, I made sure I wrote the same credentials and it stablishes connection with it since it asks for the login credentials, but once I put the login info and click on accept, publishing cancels and gives me an error: "Website cannot be created 'sftp://blablabla.com/folder'. The server connection timed out.
Any ideas what could it be?

Related

se.curity.identityserver.util.AllowedFrameOriginUtils

I was trying out the curity configuration for an authentication service and a token service for OAuth and OpenID Connect locally. After all the configuration, when I was trying to test it with OAuth Assistant, I get an error:
Bad request
The request could not be processed
In the terminal, I can see these two INFO logs for particular
se.curity.identityserver.util.AllowedFrameOriginUtils - Requested origin is not allowed: 'http://localhost:...'
se.curity.identityserver.controllers.authorize.AuthorizeOAuthRequestModelProvider - Could not establish the redirect uri for request and client www. If this error occurs *after* being redirected to the authentication service and back, then this error has probably occurred because the original session cookie has been lost. Ensure that the cookie named 'sessionid' was sent to the authentication service. If not, check that the user's browser is not withholding it (for example by the cookie jar becoming full) and that a reverse proxy is not interfering with it.
There is no issue with sessionid. Anyone know how to fix this issue?

How to trigger a jenkins build with a Web Activity in Azure Data Factory

I'm trying to trigger a jenkins job using the API. I got the set the token, got to run it successfully in the browser and got a json output from the API call using:
https://<MY_JENKINS_ADDRESS>/job/path/job_name/api/json/build?token=my_token
I tried to use this call in a POST or GET web activity in Azure Data Factory but I'm getting this error:
Error calling the endpoint '<MY_JENKINS_ADDRESS>'. Response status code: 'NA - Unknown'. More details: Exception message: 'NA - Unknown [ClientSideException] Invalid Url:https://<MY_JENKINS_ADDRESS>/job/path/job_name/api/json/build?token=my_token. Please verify Url or integration runtime is valid and retry. Localhost URLs are allowed only with SelfHosted Integration Runtime'.
Request didn't reach the server from the client. This could happen because of an underlying issue such as network connectivity, a DNS failure, a server certificate validation or a timeout.
It is clear data factory can't access the url. How can I solve this issue? Any thoughts?
I am assumimg that the <https://<MY_JENKINS_ADDRESS/job/path/job_name/api/json/build?token=my_token>> is not a publically available and if that the case you should know that with ADF you can only access public facing urls . What that means is that If there anything whch is running on my local network or say on my laptop , ADF will be not abe able to access that .

MULE-4: Logging SFTP login attempts

We need to log each time sftp connector make a attempt to login into SFTP server.
We are listening on SFTP server using new or update sftp component and wants to log each time connector makes an attempt to login into SFTP server.
EDIT##
Is there a way to override the methods implemented for SFTP connection internally to achieve this request.
https://github.com/mulesoft/mule-sftp-connector
The SFTP connector doesn't notify the login attempts. If it can connect, log in, and detects new files, then it will trigger the flow execution. But I don't think that there is a login event that can be tracked.
We can track login attempts by enabling debug logs as per this documentation https://docs.mulesoft.com/mule-runtime/4.3/enable-verbose-logging

AccessDeniedException for authenticated user

I got a server with exposed remote service and methods annotated with ROLE_ROOT. Few clients are connected to this server, authorization is done by username/password.
At some point after hours (or even minutes) of work, server suddenly returns AccessDeniedException for all clients. Clients are trying to reconnect, successfully authenticating (username/password are ok), but still getting Access Denied. Looks like user has lost his ROLE_ROOT.
After 2-3 attempts client is able to do 10-12 calls to secure method, but then again receives AccessDenied.
Does anyone has any idea what can be the problem here and where should I look?

Titanium Mobile Framework. Access server through VPN from an iPad app

In an iPad application, with VPN active and connected, the HttpClient can't access to a server in intranet, but I can access to same url when I access from Safari iPad.
The property Titanium.Network.networkTypeName shows "WIFI" or "MOBILE" but nothing related with a VPN connection.
Can anyone help me ? It's mandatory for my application access server through VPN.
Thanks in advance.
I got more info about my problem, actually the VPN wasn't the problem, the HTTClient uses the current device connection channel, that is, uses the VPN network and there is access to intranet server.
The problem was related with WAS server, when user is authenticated successfully against LDAP (using JAAS standard) then Connection was lost, when authentication failed then communications was OK and correct message was show to user, but when LDAP returned a valid authentication something made lost the communication channel.
I'm not sure about the "real" problem, but the solution was to add the HTTP header to request:
"Connection": "Keep-Alive"
This solves the problem.

Resources