Closed (fixed)
Project:
Drupal Remote Dashboard
Version:
8.x-3.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
3 Jan 2017 at 19:35 UTC
Updated:
18 Jan 2017 at 11:44 UTC
Jump to comment: Most recent
Comments
Comment #2
jurgenhaasSorry you're having problems. It's hard to tell, I'm using it on many different hosting environments without any such problem. Can you debug the code and see the exact url it wants to load? And then maybe try on that host with a simple php script top download that url? Maybe the php settings are preventing the download? Anything in the error Log?
Comment #3
marcoka commentedI debuggedit.
drd_agent.moudule creates the url like this:
$response = drupal_http_request('http://cgit.drupalcode.org/drd/plain/build/drd.phar?h=' . $_SERVER['HTTP_X_DRD_VERSION']);
The url that will be created is: http://cgit.drupalcode.org/drd/plain/build/drd.phar?h=8.x-3.0-rc2+0-dev
There is no file/branch there.
Comment #4
jurgenhaasThanks a lot for the details. That's in text different from my environment where I'm working with the dev release. Your analysis is very helpful. I will dig into this and fix that tomorrow, I hope.
Comment #5
jurgenhaasOK, so the problem is the version string. What we get is
8.x-3.0-rc2+0-devand what's expected is8.x-3.0-rc2, so the trailing+0-devis the issue. I'm not sure yet, how to resolve that. Maybe the library should get their own versioning and we should be more explicit about it, even in the filename such that a remote domain can even handle more than one version of the library if DRDs have access by using different versions.I'll explore the options and get back in a couple of hours.
Comment #8
jurgenhaasThis is now fixed in a way that the DRD library is called
drd-#.#.#.pharand DRD is sending the required version as#.#.#with every request so that the remote site can explicitly download and use the correct one, regardless of the Drupal packaging version scheme. The phra files are in a project DRD Agent Library and the phar files gets loaded from there.You need to upgrade as followed: