brysontyrrell / PatchServer

A self-hosted implementation of an external patch source for Jamf Pro 10.2+
http://patchserver.readthedocs.io/en/latest/
MIT License
67 stars 13 forks source link

Unable to talk to server from JAMF Pro #2

Closed CraigLindsey closed 6 years ago

CraigLindsey commented 6 years ago

I'm sure I've missed something simple but our test JPS doesn't seem able to talk to my test Patch server. JPS says "A connection error occurred while attempting to download software titles from this source."

I can talk to the PatchServer in a browser from the JPS box. I've checked the IP and port number and toggled SSL in the JPS patch server config.

What am I missing?

freddiep1983 commented 6 years ago

Same experience here.

Its all very new, so hopefully it is something we missed, however I can see an error in JAMF pro when I test the connection.

OVERALLSTATUS One or more external patch server tests failed. SERVER STATUS External patch server is running. /SOFTWARE ENDPOINT VALIDATION Attempt to connect to endpoint failed.

Equally on the Patch server instance, when run in verbose mode is actually showing the endpoint request for /software is throwing a 404 error.

[13/Feb/2018 23:36:52] "GET /software HTTP/1.1" 404

Also, should note; Thank you Bryson for all the hard work getting this ready for a day0 functionality drop ;)

brysontyrrell commented 6 years ago

This is bad documentation on my part. I meant to update the Jamf Pro Setup instructions, and that slipped. I'll do that later tonight.

Refer to this screenshot for how to enter in the SERVER in Jamf Pro. You should have /jamf/v1 at the end of the address.

jamf_setup_02

If you can confirm this addresses it, I'll close the issue after I've pushed an update to the docs!

freddiep1983 commented 6 years ago

@brysontyrrell

Confirmed. Works like a charm, now I have some definitions to make.

Thanks again man! fred

brysontyrrell commented 6 years ago

Updated instructions committed: 8483a0a

Docs were updated with the commit: http://patchserver.readthedocs.io/en/latest/setup/in_jamf_pro.html

CraigLindsey commented 6 years ago

Beautiful! I should have guessed that.

I'll echo @freddiep1983 Thank you so much for all the work!