AWS RDS to PgAdmin Error saving properties Unable to connect to server: timeout expired [closed] - postgresql

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
Short description: AWS RDS connecting server to PgAdmin 4, PostgreSQL 11
Done: I have done similar to this guy or to this aws guide but at the end when I click save it does not accept it for me. instead gives the following
ERROR:
Error saving properties
Unable to connect to server:
timeout expired
What I have tried to solve the problem:
The instance is active it is 2 hours after creation
I have also allowed to access database with outside of AWS database client "YES"
this stack overflow answer does not deliver results https://stackoverflow.com/a/37903485/10270590 actually after refreshing my security group like the guide says my whole database disappeared
I have home wi-fi so there are no corporate firewalls or any of those issues https://serverfault.com/q/705312/535406
while reading the pervious server fault post I looked up my
RDS/Databases: what was empty
RDS/Security groups: empty and I have this message:
Your account does not support the EC2-Classic Platform in this region.
DB Security Groups are only needed when the EC2-Classic Platform is supported.
Instead, use VPC Security Groups to control access to your DB Instances.
I have tried which this question https://serverfault.com/questions/656079/unable-to-connect-to-public-postgresql-rds-instance that had 2 good answers but they gave the same error even after doing bot of the changes
https://serverfault.com/a/656119/535406
https://serverfault.com/a/880710/535406
same as the above one - AWS RDS Database show timeout error

Edit inbound rules
Type have to be turned to: all traffic and my IP. than it works

Related

AzureDevops Deployment Group won't run on Windows Server 2019 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
Hi I have a new on prem server DELLEMC and I'm trying to run the deployment group registration script but the script won't run and after a while this error will appear "DownloadFile" with "2" argument(s): "
I also refer to this link for help but it didn't work https://github.com/MicrosoftDocs/azure-devops-docs/issues/263
AzureDevops Deployment Group won't run on Windows Server 2019
According to the error message:
Exception calling "DownloadFile" with "2" argument(s): "The operation has timed out."
It seems there is something wrong to download the agent, please try it again. Note, make sure the network is fast and stable. If this issue still exists, please do the following steps:
Download the agent bits from here and select the v2.162.0 or
above . User can download it from other machine and copy that to
this machine if the download is failing because of network issue.
Extract the zip in some folder.
Open PowerShell admin command prompt and go to the folder
Run the below PowerShell script as an administrator:
.\config.cmd --deploymentgroup --deploymentgroupname "{deploymentGroupName}" --agent $env:COMPUTERNAME --runasservice --work '_work' --url 'https://iam-costco.visualstudio.com/' --projectname '{ProjectName}'
You could check this thread for some more details.
Hope this helps.

vapor: Address already in use (errno: 98) [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
I deployed my vapor project to Ubuntu. And made the configuration of supervisor and Nginx.
When I invoke my server. first call is success but When I try second call I get 502 bad gateway error from browser. When I check error log, the error is
"Fatal error: Error raised at top level: bind(descriptor:ptr:bytes:) failed: Address already in use (errno: 98) : file /home/buildnode/jenkins/wo$"
If I kill the port(8080) process. And after, I try to connect again first try is success then get fail again.
What should I do to get rid of this error?
This might be caused by another process using that port.
I had the same issue and was able to solve it by listing all the processes on port :8080:
$ sudo lsof -i :8080
and then killing all of them one by one by typing:
$ kill {PID of the process}
After that, my app built again properly.
taken from here
I had the same issue. This worked for me:
$ kill -9 {PID of the process}
Hope this helps!

MongoDB Community : Error when installing service as local or domain user [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
When installing MongoDB Community as a local service you need to enter the future credentials of your account :
If I enter for example:
user: MongoDB
password : root
I got this error message:
The domain, user name and/or password are incorrect.
Remember to use "." for the domain if the account is on the local
machine.
What should I write here? Whenever I write something, I get an error.
Here is the solution:
Username should be 'username' of your system/device.
And password should be password of your system/device.
It's weird, but that shall work.
Here's the solution for Windows 10(x64):
If you don't have a domain (for home or personal computers), leave the domain field with "."
If your computer is owned by your company, contact your system administrator and then in the domain field type : Company_Domain
In the username field,
for personal computers : type your username. If you're signed in with a
Microsoft Account, type the email address or the name of your Microsoft Account.
for company provided machines : type your username as
Company_Domain/Your_Username
In the password field type the password not the PIN number (if you've set it up).
That should help.
I had admin user without password.I had set password and try installation and give local admin user and password.it work for me.
Here is the best solution: Provide your system/device Username and password. And password should be password of your system/device. It's weird, but it shall work.
quit intall . restart install msi file,and select default option
I used the a similar solution as Khan. I went to the download directory and when I executed the msi file this time, I was asked whether the Compass option should be installed. After unchecking that, the rest of the install worked, using default options. This is a Windows 10 laptop.

How to supervise a webserver with daemontools? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
How should I script daemontools superviser?
I've started to use D. J. Bernsteins' daemontools to keep some processes running and is working fine. But now I need to monitor a couple of additional conditions on those processes and I've failed to find good info on how to do that.
My scenario is that I have some processes running for a web app (pharo smalltalk virtual machines) and they respond http, each one in their port (that's for the for loadbalance). I would like to somehow ping those to verify that they are not only running but responding to http requests. If they don't respond in a certain way to a request for more than 30s they should be treated as crashed and simply be restarted.
Is this even possible with daemontools? if so, how should I write this script and where should I place it? or where's the documentation on this?
The simplest solution is to create another daemontool task with a script that sleeps for 30 seconds and then tests for the presence of the service (using wget or curl for example). If the service doesn't respond timely you can restart the service (svc -t yourapp) and/or send a notification. The run-script of the new service could look as simple as this:
#!/bin/sh
sleep 30
if ! wget --quiet --timeout=5 --delete-after "http://yourapp.com/" ; then
svc -t /etc/service/yourapp
fi
I've also made good experience with tools like Munin. Again you need to provide a script that provides information about the state of your image. If you setup your images with a REST service you can even provide really interesting metrics such as active sessions, inactive session, gc parameters, memory consumption, database statistics, ... The tool then draws nice graphs over time and lets you specify boundaries to get notified when things behave badly.
To detect if the service is responsive, you can use curl (a perfect fit for HTTP and command-line/shell scripts)
curl --connect-timeout 10 http://8.8.8.8
curl: (28) connect() timed out!
and you can write more sophisticated things, like checking that the response is 200 (OK) etc.

Can't open site in SharePoint Designer [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I'm trying to open a sharepoint site in SPD with no success.
SPD is processing, and nothing happens, it keeps processing as if it wouldn't find the site.
Do you have any clue where it comes from ?
For information I'm using the Site administration for this and the SPDSettings of the Web Application are all set to true.
EDIT : After waiting for 10 minutes I had this error :
Service Unavailable
Service Unavailable HTTP Error 503. The service is unavailable.
EDIT 2 : I think this error comes from the fact that i was deploying another solution in the same web application, but in another site collection ...
Your question is unfortunately too general to provide a specific answer. The SharePoint designer communicates to your SharePoint site via a series of web services to pull down the information. There's probably issues going on during these requests. Have you tried logging into the SharePoint Designer as the System Account in order to dismiss any security issues with the site contents?
To diagnose the source of these issues, review the ULS logs that are created during the period of trying to access the designer. These can be reviewed at:
\\<Server Name>\c$\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS
Use ULS Log Viewer to provide a real time view of all the log entries SharePoint creates during your usage.