Artifactory::Client Perl module authentication issues - perl

I am trying to use the Artifactory::Client Perl module to deploy artifacts to my Artifactory server.
I am having difficulties trying to authenticate with Artifactory as the Artifactory::Client module doesn't seem to allow you to specify your Artifactory login credentials anywhere.
I get an HTTP 403 Forbidden error message when it makes the HTTP PUT request to try to deploy my artifacts.
I've tried opening up the Perl module and tried to follow the code through the various dependencies to where I think the actual request is being called from, but I can't seem to successfully authenticate with Artifactory.
If anyone has successfully authenticated using credentials, I'd be very grateful for any advice.

I was using the wrong Realm name – user2402135

Related

Is there a way to import a Bamboo Spec file via the REST API?

I currently try to automate the process of creating a new Bamboo linked repository and start the scan. I've already looked over the documentation of the REST API, tried to generate a new plan and enabling a scan, but that didn't work.
I also tried the Java Maven Package from Atlassian, but that needs user credentials as an authentication method, whilst I need to authenticate via a Security token. There is a link to an API in that Maven Package, which I tried to send a request to with the yaml code, but it always responds with the status code 500 and a Java Stacktrace. It's probably due to a wrong request body, but I can't figure out, how to include the yaml content the same way, as the maven package.
Is there a way to create a linked repository via the REST API?
Thanks in advance!
Is there a way to create a linked repository via the REST API?
No and there won't ever be one because they're deprecating the Bamboo server in favour of their cloud-based alternative (which is based on a totally different API). See https://jira.atlassian.com/browse/BAM-18453
Java Maven Package from Atlassian
What package is that? Based on what I said earlier the only way for you to programmatically create a linked repo is to mimic the browser POST request to updateLinkedRepository.action. That means that you'll need to login first to get a JSESSIONID cookie (xsrf token can be disabled, see https://confluence.atlassian.com/bamkb/rest-api-calls-fail-due-to-missing-xsrf-token-899447048.html#RESTAPIcallsfailduetoMissingXSRFToken-Workaround). Ping me if you need help, I still have ansible code for the login part.

SAML stopped working after update to Artifactory 5.3.1

We've used Artifactory 5.2.0 until today and had SAML configured and working. I just upgraded and now it doesn't work anymore. I'm being redirected to
https://MY_URL/artifactory/webapp/saml/loginResponse
which is not found.
Unfortunately I couldn't find any information about this on the Artifactory site - can anyone help?
I do not have access to ADFS directory unfortunately - we have an external partner for those kinds of things. But they told me that they haven't changed anything in their configuration.
Login into Artifactory works, also with LDAP and the new version works fine - except that one thing.
Turns out an ADFS patch was the problem and the message Artifactory got wasn't correct so obviously the login didn't work anymore. Unfortunately I didn't really get an error message that would have led me on the right path.
We fixed the ADFS, got a new certificate and now it's working again!

API requests doesn't work on my computer but the other

I have a very simple API created by using Laravel 5.2.22, when calling GET methods I am getting the error 404, calling DELETE method I am getting the error 405 (same thing using postman or curl). The point is that the same project works perfectly on another machine.
Is there anything that I have to configure in my Xampp to make this works?
Could anybody help?
Thank you
AS you said, the cause can be in wrong web server configuration. You should point your web server to a public directory of Laravel project. For example, if you've installed Laravel in C:/xampp/htdocs/ directory, you need to use these settings:
DocumentRoot "C:/xampp/htdocs/public"
<Directory "C:/xampp/htdocs/public">
After that restart web server. Also, make sure storage directory has right permissions.
Do this, if you'll get similar error message, please turn on Debug and post full error message.

Github API v3 giving 404 errors

Im using Joomla platform JGithub to communicate with Github API v3.
The code are all ok and i was able to use all GET methods (getComment etc).
But all POST, DELETE methods are failing with 404 error with a message Nothing Found.
Am just using username and password for authentication (No Oauth and stuff..)
Any idea why this error might be.
Another Joomla code was able to do this with the same script.
This is what confusing me.

NuGet.Server Bad Request

I am currently trying to setup a NuGet server on our intranet but I'm having a problem. I'm following the instructions here:
http://docs.nuget.org/docs/creating-packages/hosting-your-own-nuget-feeds
The website works fine, but when I try to point the package manager at the source I get an error:
"Could not connect to the feed specified at 'myserver/DataServices/Packages.svc'. Please verify the package source (located in the Package Manager Settings) is valid and ensure your network connectivity."
The URL is correct, copied from the website and is "http://myserver/nuget".
Using Fiddler I inspected the data transfer and I get:
<error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
<code></code>
<message xml:lang="en-AU">Bad Request - Error in query syntax.</message>
</error>
There are no error logs I can find on the server.
Can anyone help with this? I'd really like to use NuGet.Server but I'm out of ideas.
Thanks
Are you running the lastest versions of both the NuGet.Server and the Package Manager in VS?
Have you installed ASP.NET MVC 3 on the server?
Are you pointing the client directly at the base URL, or at the .svc endpoint? You should use the base URL - the call semantics have changed recently.