Issue in using serverUrl in NAF - socket.io

I'm trying to connect using serverUrl but it's not connecting. And second thing my server URL has https://xx__xx.com/my-api/ but in this, it's going till https://xx__xx.com/socket.io only is there any issue regarding NAF?

Related

I get an error when trying to log in to Instagram with a proxy

I'm facing an extremely annoying problem on Instagram that I can't find a solution for. I keep running into this problem despite working with multiple proxy providers.
When I want to access Instagram via proxy, I get the following text:
"There was a problem logging you into Instagram. Please try again
soon."
but when I leave the proxy I can easily access the same account.
I understand that this is caused by the proxy but I can't figure out why.
The proxy that worked an hour ago doesn't work an hour later, or the proxy that didn't work works strangely.
I am using a Shareless IPv4 Proxy
According to what is this happening?
How can I avoid this error?
What should I look for when buying a proxy?
What are the things you recommend?
Is it possible to overcome it?

Permissions in Keycloak, where can I allow all clients?

I am new to Keycloak. I have installed a Docker container with Keycloak 19.0.2. Then created a new realm, client and user. As described in various tutorials it says.
Now I tried to connect my Spring Boot application with Keycloak. But I always get the error connection reset.
I have now tested something around and found out something strange.
When I call the URL /realms/rName/.well-known/openid-configuration with Chrome or Edge I see a JSON string, same URL in Firefox I get the error page load error. Also Insomnia gets an error Error: Failure when receiving data from the peer.
I suspect that my Spring Boot application is also getting this. Now where can I set the permissions in Keycloak to allow everyone to talk to the endpoint?
Many greetings
EDIT: Same situation on Root Page. http://localhost:8080/. The Welcome Site is shown on Edge and Chrome but not in Firefox or Insomnia
please excuse my question. I have been able to find the problem. Another process was also listening on the same port. Why there was no error that the port is already in use, I don't know. Now I set Keycloak to another port and it works with all clients. That it is technically possible at all, I wonder, especially why it is program dependent. Well, it works now. Thanks to all who helped.

How to use anything but Google Shell or Web browser when oauth2.googleapis.com is blacklisted (not sure about this)?

I can not connect to Google Services from client application if it is trying to communicate with oauth2.googleapis.com (which is probably blocked in my corporate network - I dont know how to test it for sure).
I tried BigQuery with JDBC driver in Dbeaver. With basic settings.
User-based login does this:
It generates link for OAUTH. I open the browser and login with the right google account. Then I insert generated code into the Dbeaver and I recieve that AUTH has failed.
Service-based login does this:
It does not want me to visit any webpage. It just tells me:
[Simba][BigQueryJDBCDriver](100004) HttpTransport IO error : oauth2.googleapis.com.
I also tried to use ODBC, where PROXY can be filled in. But no luck.
When I take a look into 'Proxy Options' the proxy port is always rewritten by proxy host. Weird.
This is what happens when i click on 'catalog' or 'dataset' drop-down field. I cant do any further steps.
BUT!
When I set my HTTP PROXY in GCLOUD CLI APP then communication works. And I can call BQ from it.
Does it mean that GCLOUD communicates through HTTP Proxy and DBeaver or ODBC does not? Or does it mean that GCLOUD does not need oauth2.googleapis.com but ODBC and JDBC do and it is blacklisted? I am confused.
We need to migrate from our internal environment to GCP. We would love to use various applications. I would ask for whitelisting oauth2.googleapis.com but i am not sure this is the only problem as GCLOUD app works without any flaws.
I am not-experienced with networking so i am more than happy to update / correct this question or add any info (if you need) to help me understand this issue. Thank you
According to your description, your corporate network is using a Proxy to reach out Internet, this is the reason why gcloud is capable to reach out BigQuery service when Proxy settings are configured in your system; through Cloud SDK Proxy settings or HTTP PROXY environment variable.
You require to setup the proxy settings within the JDBC connection string as described in Simba JDBC driver documentation, e.g.:
jdbc:bigquery:DataSetId=MyDataSetId;ProjectId=MyProjectId;OAuthType=1;ProxyHost=MyProxyHost;ProxyPort=MyProxyPort;ProxyUID=MyProxyUsername;ProxyPWD=MyProxyPassword
This connection string will indicate the Proxy settings to Simba JDBC driver.

ASP.Net windows authentication seems not working

I have a web application with Windows Authentication enabled. It is working only with localhost though I have set Bindings. Ping to IP and hostname returns result.
Any help would be appreciated
Have set authentication to windows and impersonate to true. NTLM has been moved up.
Also tried adding the site to Intranet and Trusted Site list. Windows authentication is enabled in IE as well.
Both the server and client is on the same domain ... in fact it is not at all working in server itself.
Any help would be appreciated.
With the detail you've given it is a bit hard to give concrete advice so I'll give you a method I've used over the years to try and track down where the issues is.
With the current setup put an image on your webserver and try to retrieve it in the browser using the exact address. Do this on the server itself first and if that works then do it on a client machine.
If it works on server but not on client then there could be a client browser issue/a network issue/a dns issue.
If it doesn't work on the server then change the file level and IIS permissions to anonymous for just that image and the folder / website it is in. Then test the URL on the server in a browser and on a client in a browser.
If it works you've got a permissions issue with NTLM.
Hope this helps you narrow things down.
Dorje

VS C# sql unable to connect to any sql host

I am knocking together a short program mainly to try and learn some basics. I am finding an issue with this part of code:
{
MySqlConnection connection = new MySqlConnection("server=serverT;User Id=user;password=password;database=healer");
connection.Open();
MySqlDataReader reader = new MySqlCommand("SELECT version FROM version", connection).ExecuteReader();
reader.Read();
etc etc etc
}
Now when i build and run this, It works perfectly, no problems whatsoever, it connects up and i can read without any issue.. (The server is hosted online btw)
When i give out the exe/mysql.data.dll to anyone to run, they are thrown the exception of being unable to connect to any sql host.
I just cant see why I can connect, and they can't. I have tried this now on 3 other remote machines and they all fail to connect, but Mine works OK.
There are no access rules on the hosted sql database, I am allowing access from all IPs
Can anyone shed any light?
You are hard coding the connection string into your code. Your clients have a different server therefore they need a different connection string.
You need to create a form or a config file where the connection parameters are retrieved from.
Please read this:
http://msdn.microsoft.com/en-us/library/ms254494.aspx

Resources