Getting Artifactory Logs from JFrog hosted service - artifactory

Our JFrog Artifactory repo is intermittently sending 403 errors when requesting deb packages from our repos. Systems experiencing this will automatically retry after a few minutes and successfully download the package. It is always the same package, and there are many systems which successfully download the package on the first try.
We are attempting to troubleshoot this. However, when trying to create a support bundle to examine the logs, the API returns a 405 Method Not Allowed. There are no other avenues for downloading logs except the live log view, which by definition is only forward looking (e.g. the issue would have to happen sometime in the future while watching the logs via the live viewer to see any errors).
Is there some way to get access to our Artifactory logs?

You can track some of the logs in the administration section.
Administration -> Artifactory -> System logs.
Are the 403 coming during a special peak of usage (high loads)?

Related

ACORE API, assistance with errors and deployment

I'm having trouble with setting up ACORE API's and then having them work on a website.
Background:
Azerothcore running 3.3.5 on a debian standalone server, this has the Database, Core files and runs both the world and auth server basically a standard setup that is shown in the how-to wiki.
I also have a standalone web server, on the same subnet, but it's a separate server running linux and normal web server stuff, this has a wordpress installation with azerothcore plugin for user signup etc.
I'm trying to add the player map (https://github.com/azerothcore/playermap) and the ACORE-API set of functions (server status, arenastats, BG que and wow statistics) (https://github.com/azerothcore/acore-api)
Problem:
I understand the acore-api must be run in a container (docker or whatever) on the server, which I have done and it binds to port 3000, I can then go to the local ip:3000 and it brings up this error. (all db's etc are connecting and soap is working)
error 404 when navigating to IP:3000
I do get a few errors when running NPM install seen here: I'm not sure if they would be causing any issues or not.
screenshot of NPM errors on install
But further that, when I put say 'serverstatus' on the webserver (separate server) and configure the config.ts file I can't seem to get anything to display.
I'm not sure what I'm doing wrong but is the same scenario for all of the different functions for the acore-api
How are these meant to be installed and function? I feel I'm missing a vital step.
Likewise, with PLAYERMAP I have edited the comm_conf.php and set the realmd_id, but when loading the page, I do get the map, but the uptime is missing and no players are shown?
Could someone assist if possible?
Seems like an issue with NodeJS version. Update your NodeJS to latest LTS version 16.13.0 (https://nodejs.org)

To what extent can MAMP be hacked?

I am running Wordpress on a local development server to test plugins from 'dubious' sources. I believe I've been hacked after installing an unofficial copy of a plugin. Now I'm looking for help to assess how serious this may be and how to proceed.
Here's what exactly went down:
Installed MAMP (4.2) on my Mac (10.14.6), with htdocs in it's default location (in the MAMP application folder)
Installed multiple Wordpress sites to develop for clients over several months
Used one of these existing, old, dev sites to test plugins before purchase
I began to install a plugin .zip file, however after I clicked "activate" I was asked by macos whether to allow MAMP access to photos, and then to calendar, both of which I denied. The activation failed due to a "Fatal Error".
I ditched this plugin and moved onto the next. The next one also failed due to fatal error, this time with the error message: "Fatal error: Namespace declaration statement has to be the very first statement or after any declare call in the script in"
Googled this message revealing it's common when hacked.
So, does the hacker have any access to this website? To the entire local server? To my entire computer where MAMP is installed?
Am I in the clear just deleting the plugin? Clean install MAMP?
Thanks.
Wordpress hacks tend to be more about collecting information from WordPress.
Anytime you get a warning like that, it should tell you where the issue is.
However, I would install Wordfence on your local sites and have it run a scan. It will compare core files etc to what is on the repo and tell you. It will get about 99% of it unless it is a Zero day.

Sonatype Nexus 3 - Logging URLs proxy requests

I'm trying to debug an issue of a proxy repository giving me a 404 for an artifact that I know exists in the repository being proxied (this is an NPM package in my case).
I would like to enable logging so that I can see the URL that Nexus is attempting to reach in responding to that proxy request but cannot seem to find any of the default loggers that provide this output.
What logger do I need to set and at what level to see this?
If you switch org.apache.http.wire to DEBUG, you will get a plethora of information on what calls are being made, almost too much information. This will give you information such as the following:
This was generated by switching that value and then doing a install.packages("xts", repos="http://localhost:8081/repository/r-proxy") from R Studio, against an R Proxy repo of CRAN.
Note: im adding this answer to further flesh out the current one (I cannot comment). I was not able to find the debug logs in any log files on the nexus server and the current answer does not elaborate on this.
You can view any console logs you enable in the Nexus3 web interface.
Log into your nexus 3 server web interface and go to "Server administration and configuration" -> "Support" -> "Logging"
In your cased you want to do as the other answer outlines, turn on org.apache.http.wire logging, set this to "Debug".
Navigate to "Log Viewer" to see the output generated.
This is current as of:
version 3.38.1-01
edition OSS

Proget service requires restart to show up in feed

I have been having issues getting packages to update with their latest version until I restart the proget service. I see no indexing errors and cannot figure out what is triggering that service to stop updating.
I have to get the service restarted about once a week now to keep everything updating properly.
Is there some additional logging or somewhere I can get more information on that server to determine what is causing the service to not update the feed??

The page you are requesting cannot be served because of the extension configuration

Well this morning I woke up to see that my site hosted on Windows Azure was producing 50X errors and in general being incredibly slow (up to 60 seconds response time).
Now after looking through the DetailedErrors folder I see that the error received is:
HTTP Error 404.3 - Not Found
The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.
I tried creating a new test website and host it and guess what? I receive the exact same error here as well.
What could be causing this?
I found this for you.
There were more errors related to local machine below these errors.I looked up the net and after some digging figured out the solution to the problem:
Run Visual Studio 2008 Command Prompt as “Administrator”.
Navigate to C:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation.
Run this command servicemodelreg –i.
for more info

Resources