Multipart PUT/POST timeout - nginx

I configured my gitlab instance with an external nginx server according this documentation and following nginx configuration.
All is working fine, but when i try to change some profile settings in the UI I get an connection reset.
The problem only occurs on multipart form POST/PUT operations.
The funny thing is, that there are no log entries in any gitlab log files, so i think there is a problem in the nginx configuration somewhere.
Please when someone has any idea on how to further analyse the problem.
Thanks

The problem was the MTU setting for the TCP-IP Stack on my windows machine. I switched from 1500 to 1300 and now all is working fine again.

Related

WordPress local host error: HTTP Error 404.0 - Not Found

I have a localhost website that I was testing and today I got "Error Establishing Database Connection" so I changed the port number from 80 to 8080 but it's not working and I got this 404 error:
I saw some people mention that I need to edit wp-config.php but Filezilla would not connect to the server either. I am a pretty beginner. Is there any good solution that I can follow or anywhere that I ask for help, hopefully not so expensive?
Thank you.
If you changed server port you should visit protocol://host:port/ try to visit http://localhost:8080/wordpress
First thing is first, If you have a database connection issue, please change your port back to the default port 80 (This port is used by browsers to receive unencrypted content over the internet. Currently your new URL would be as Mehmet said "http://localhost:8080/wordpress/" which won't solve your problem).
Now to solve the database connection issue, please locate your logs file. For wordpress this is located in the root directory of your wordpress site. I would assume C:\inetpub\wwwroot\wordpress\error.log unless you moved your error log. This will tell you what is really wrong with your database connection. It could be a username/password mismatch. Read/Write permissions missing, SQL server crashed/(is not running) or even a corrupted or deleted database.
As for the wp-config.php file, it will be located at C:\inetpub\wwwroot\wordpress\wp-config.php

Jmeter loadtesting with nginx

I have done jmeter load testing and it was working fine.
Now i am doing jmeter load testing with ngnix by configuring two server details .
I am testing my application by giving the 1000 concurrent users with nginx url.
Sometimes it was working and sometimes not.
Why it is behaving like that??
Check the logs — nginx logs, your app and server logs and JMeter logs. Probably you can find answer there:
Check nginx.conf and find error_log settings to get current nginx error log location.
What do you mean "sometimes not"? What kind of errors, statuses and responces do you get?
You may post in here.

Access website using server name instead of www

I am new to IIS, setting up servers and load balancer so please do not mind my ignorance.
I have an old website, say, www.mywebsite.com.
There are 3 IIS 6.1 web servers on which my ASP.NET code is hosted.
Lets call them web01, web02 and web03.
They are identical in configuration like OS, etc.
There is a load balancer which handles the requests coming in from the clients through www and routes it to the respective server based on whatever algorithm is put in place.
However, we were able to send requests directly to individual servers like this web01.mywebsite.com for all 3 servers.
I do not have access to the load balancer.
Recently there were some problems with the web02 server so the client took it out from the load balancer.
We then reinstalled IIS and now, when we are trying to access the server using web02.mywebsite.com, it is throwing 404 - Not Found error.
I am able to open the website from inside the server using www.mywebsite.com and I am able to see that the requests is catered by the web02 server.
However, from inside the server also web02.mywebsite.com is throwing 404 - Not Found error.
I am sure I am missing something in configuration at the IIS level but not able to figure out.
I tried searching on the internet but they all gave me generic solutions.
Please help.
Thanks in advance!
I was able to get this resolved on my own.
Strangely there was not a single answer or comment to this question.
I will try to answer so that others might also benefit.
There were 2 things that were required, out of which 1 was already present in my case:
In the hosts file, the mapping of IP address of the server to the actual name of the server should be present (This was there in my case)
In IIS, under bindings, I removed the host name i.e. www.mywebsite.com.
I was able to figure this through the posts here and here although they did not give the answer directly.
Hope this helps others.

Unable to login to Afresco share after changing the port no

I changed the port from 8086 (which was working fine) to 8085 in server.xml file. After restarting the tomcat-server, I was able to get the login page by hitting http://localhost:8085/share however, when I try to login I get an Authentication fail error.
If I change the port no back to 8086 it works fine and I am able to login.
I am not sure what is the problem here as I also tried by changing the port no in alfresco-global.properties file and share-config-custom.xml. However, the issue still exists.
There are some configuration in share-config-custom.xml file for host and port.Those are used for connecting alfresco repository.You need to change in that as well otherwise it wonnt be able to connect with alfresco.
You will need to change the Tomcat connector port, AJP and RMI ports too. Otherwise it may conflict during a shutdown.

Security sandbox violation when connecting to Socket from flex

I am using a Socket (not xmlSocket) connection between flex applications and the server pushing messages.
Now, when I connect from the local machine to the server everything is working file and running, connection is succesful and I get data back and forth.
When I upload the application (flex) to the server and run it from there, I get a security sandBox violation message.
Note:
1. I do have a crossdomain file with * wildcard both on port and on domain.
2. I created a Securiy.allowDomain("*") as well.
Another thing.
I also created another listener on that same server, listening to connections for port 843 (default) and this service just waited for a connection send policy file to the client and that's it.
That did not solve the problem as well...
That's next?
What should I do to fix the problem?
Appreciate your help.
Avi
The fix for this issue was a dedicated policy file serving server.
I implemented a socket listening to the dedicated port where flex is looking for policy file, once I got a connection and a request I answered right back with the appropriate policy file.
This solved the problem for all users and is working very well for me.
Thanks
did you try Security.loadPolicyFile? Does your server on port ever actually 843 receive policy file requests (that's a tiny XML sent to request the crossdomain policy file)? Does your actual server ever receive policy file requests? What traffic do you get on your server?
greetz
back2dos
.NET
Add crossdomain.xml to your Web server root directory, for example,
C:\inetpub\wwwroot.
Java
Add crossdomain.xml to \ArcGIS\java\web_output, for example,
C:\Program Files\ArcGIS\java\web_output.
http://resources.esri.com/help/9.3/arcgisserver/apis/flex/help/content/deploy_application.htm

Resources