apigee / apigee-devportal-kickstart-drupal

A fast demo and starting point for Apigee Developer Portals for Drupal
https://www.drupal.org/project/apigee_devportal_kickstart
GNU General Public License v2.0
26 stars 34 forks source link

Questions on using Apigee Kickstart Dev Portal #148

Closed epowelljr closed 5 years ago

epowelljr commented 5 years ago

I’m still having issues with the Apigee kickstart Drupal portal installation.

I installed the portal on Prem. It was a LAMP installation using MariaDB as the Database. The Sever is Redhat.

  1. The portal work fine when a user is just surfacing through the portal page and content.
  2. If you login to the portal you will notice the interface structure breaks. The portal display lists of folder.
  3. When you logout of the portal you will get a 404 error.

A. So, I renamed the .htaccess files located in Drupal root and I noticed I could not login or access any pages. I would get the 404 error. So, I change the name back to .htaccess. Now, portal return back to normal. I can login to the Portal as well but when I login the I noticed the content and Drupal interface structure breaks. There are lists of folder displaying throughout the portal. If I flush the caches it makes things even worse. The Portal breaks completely and I have to import the database to get the portal to function properly again.

I can not fine a solution to fix the issue when logging into the portal. Can you help? Thanks Edgar

jacine commented 5 years ago

Hi @epowelljr,

We're confident this is a server configuration issue, as opposed to an issue with this project. That's to say that if you installed Drupal alone, without the Kickstart, in your current setup, you would likely face the same issue. We've been trying to help, across numerous issues/comments across this queue, but it's not clear if you've tried our suggestions. I've added all of those suggestions here for easy reference.

In addition to what we've replied with previously, I'd just like to add that if I were in your position, I would try the following:

  1. Go through every heading on this page, and check it against your setup: https://www.drupal.org/node/228462.

  2. If you are having issues with the steps (Apache configuration) linked above, try asking your hosting provider for guidance. They may have documentation/guides for exactly what you're trying to achieve. They're likely aware of Drupal requirements as well, and may be able to better guide you through the way customers need to make configuration changes on their servers.

  3. If you still can't get it working, try starting over. Take another look through the System requirements for Drupal 8, and try starting over fresh.

P.S. It would be really helpful if you could keep the dialog in a single issue. We really do want to help you. Please use this issue going forward for anything related to your .htaccess/404 errors. Thank you!

Good luck @epowelljr! You can do it. 😄


  1. https://github.com/apigee/apigee-devportal-kickstart-drupal/issues/106#issuecomment-497917193, where we suggested:

It sounds like an issue with your web server configuration with Drupal clean urls:

Originally posted by @cnovak in https://github.com/apigee/apigee-devportal-kickstart-drupal/issues/106#issuecomment-498842102

  1. https://github.com/apigee/apigee-devportal-kickstart-drupal/issues/136, where we suggested:

Hi @epowelljr,

@cnovak added some information that should be helpful in #106.

I also found this, which suggests that you may need to configure this outside of .htaccess itself: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/5/html/deployment_guide/s1-apache-config

Hope it helps! Jacine

Originally posted by @jacine in https://github.com/apigee/apigee-devportal-kickstart-drupal/issues/136#issuecomment-498844631

  1. https://github.com/apigee/apigee-devportal-kickstart-drupal/issues/117#issuecomment-500906282, where we replied:

Hi @epowelljr,

Did you try the suggestions we posted for you in #136?

Are you sure that you have mod_rewrite enabled? Here is another documentation page that might be useful for you: https://www.drupal.org/node/228462.

Thanks, Jacine

Originally posted by @jacine in https://github.com/apigee/apigee-devportal-kickstart-drupal/issues/117#issuecomment-500953483

@epowelljr here is a doc on how to get Drupal 8 running on RHEL without our Kickstart. You can replace step number 7 in this doc with the Kickstart composer project command.

Originally posted by @cnovak in https://github.com/apigee/apigee-devportal-kickstart-drupal/issues/117#issuecomment-500964763

cnovak commented 5 years ago

We have commented back on each ticket about steps to try, but have not heard back on any of our suggestions. Like @jacine pointed out this is a configuration issue of your web server but we would like to offer help as much as we can. Let us know in this ticket of anything you find following our suggestions, we will keep this ticket open for you to comment on.

cnovak commented 5 years ago

@epowelljr I thought of another solution that may help you - Pantheon.io will bring up an Apigee Kickstart site for you on their platform. Go to the Apigee Pantheon Partnership page, scroll to the bottom and click on "Free Consultation" link, use that to request a Kickstart site to be spun up. Hope this helps!

kscheirer commented 5 years ago

I've followed up with Edgar over email to help resolve his issues, this does not appear to be a problem in Kickstart. I think you can close this issue.

epowelljr commented 5 years ago

Do you have a default .htaccess file that I can use for the Apigee kickstart Dev Portal?

We had to make edits to rewrite conditions to git the content to format and display.

-Edgar

On Jun 12, 2019, at 9:44 AM, Jacine Luisi notifications@github.com wrote:

Hi @epowelljr https://github.com/epowelljr,

We're confident this is a server configuration issue, as opposed to an issue with this project. That's to say that if you installed Drupal alone, without the Kickstart, in your current setup, you would likely face the same issue. We've been trying to help, across numerous issues/comments across this queue, but it's not clear if you've tried our suggestions. I've added all of those suggestions here for easy reference.

In addition to what we've replied with previously, I'd just like to add that if I were in your position, I would try the following:

Go through every heading on this page, and check it against your setup: https://www.drupal.org/node/228462 https://www.drupal.org/node/228462.

If you are having issues with the steps (Apache configuration) linked above, try asking your hosting provider for guidance. They may have documentation/guides for exactly what you're trying to achieve. They're likely aware of Drupal requirements as well, and may be able to better guide you through the way customers need to make configuration changes on their servers.

If you still can't get it working, try starting over. Take another look through the System requirements for Drupal 8 https://www.drupal.org/docs/8/system-requirements, and try starting over fresh.

P.S. It would be really helpful if you could keep the dialog in a single issue. We really do want to help you. Please use this issue going forward for anything related to your .htaccess/404 errors. Thank you!

Good luck @epowelljr https://github.com/epowelljr! You can do it. 😄

106 (comment) https://github.com/apigee/apigee-devportal-kickstart-drupal/issues/106#issuecomment-497917193, where we suggested:

It sounds like an issue with your web server configuration with Drupal clean urls:

Fixing clean URL problems https://www.drupal.org/docs/8/troubleshooting-drupal-8/fix-drupal-8-clean-urls-problems This thread has the same issue of links being 404s https://groups.drupal.org/node/105954 Originally posted by @cnovak https://github.com/cnovak in #106 (comment) https://github.com/apigee/apigee-devportal-kickstart-drupal/issues/106#issuecomment-498842102

136 https://github.com/apigee/apigee-devportal-kickstart-drupal/issues/136, where we suggested:

Hi @epowelljr https://github.com/epowelljr,

@cnovak https://github.com/cnovak added some information that should be helpful in #106 https://github.com/apigee/apigee-devportal-kickstart-drupal/issues/106.

I also found this, which suggests that you may need to configure this outside of .htaccess itself: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/5/html/deployment_guide/s1-apache-config https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/5/html/deployment_guide/s1-apache-config Hope it helps! Jacine

Originally posted by @jacine https://github.com/jacine in #136 (comment) https://github.com/apigee/apigee-devportal-kickstart-drupal/issues/136#issuecomment-498844631

117 (comment) https://github.com/apigee/apigee-devportal-kickstart-drupal/issues/117#issuecomment-500906282, where we replied:

Hi @epowelljr https://github.com/epowelljr,

Did you try the suggestions we posted for you in #136 https://github.com/apigee/apigee-devportal-kickstart-drupal/issues/136?

Are you sure that you have mod_rewrite enabled? Here is another documentation page that might be useful for you: https://www.drupal.org/node/228462 https://www.drupal.org/node/228462.

Thanks, Jacine

Originally posted by @jacine https://github.com/jacine in #117 (comment) https://github.com/apigee/apigee-devportal-kickstart-drupal/issues/117#issuecomment-500953483 @epowelljr https://github.com/epowelljr here is a doc on how to get Drupal 8 running on RHEL https://www.web3us.com/drupal-how-guides/install-drupal-8-composer-and-drush-9 without our Kickstart. You can replace step number 7 in this doc with the Kickstart composer project command.

Originally posted by @cnovak https://github.com/cnovak in #117 (comment) https://github.com/apigee/apigee-devportal-kickstart-drupal/issues/117#issuecomment-500964763 — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/apigee/apigee-devportal-kickstart-drupal/issues/148?email_source=notifications&email_token=ABYAUSWPA2Q67LIFXLBEMB3P2EDWDA5CNFSM4HXCEDI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXQVH3Q#issuecomment-501306350, or mute the thread https://github.com/notifications/unsubscribe-auth/ABYAUSWBFNXJ6A5W4LLD4EDP2EDWDANCNFSM4HXCEDIQ.

jacine commented 5 years ago

Hi @epowelljr,

Sure, it’s right here: https://git.drupalcode.org/project/drupal/blob/8.7.3/.htaccess

Thanks, Jacine

epowelljr commented 5 years ago

Is this .htaccess identical to the one that is in the kickstart download for 8.7.3?

On Jun 15, 2019, at 4:11 PM, Jacine Luisi notifications@github.com wrote:

Hi @epowelljr https://github.com/epowelljr,

Sure, it’s right here: https://git.drupalcode.org/project/drupal/blob/8.7.3/.htaccess https://git.drupalcode.org/project/drupal/blob/8.7.3/.htaccess Thanks, Jacine

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/apigee/apigee-devportal-kickstart-drupal/issues/148?email_source=notifications&email_token=ABYAUSURJ54QJWSTDMZPEOTP2VLJPA5CNFSM4HXCEDI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXZAF2Q#issuecomment-502399722, or mute the thread https://github.com/notifications/unsubscribe-auth/ABYAUSW4NJUVEMWDOVZL32TP2VLJPANCNFSM4HXCEDIQ.

jacine commented 5 years ago

Yes, it’s the same. The Kickstart downloads the latest Drupal core version directly when you run the composer create-project apigee/devportal-kickstart-project:8.x-dev MY_PROJECT --no-interaction command.

epowelljr commented 5 years ago

We had to include RewriteCond to get the page content to format and display. Do you know what is going? Is the the correct place to make these edits?

On Jun 15, 2019, at 4:24 PM, Jacine Luisi notifications@github.com wrote:

Yes, it’s the same. The Kickstart downloads the latest Drupal core version directly when you run the composer create-project apigee/devportal-kickstart-project:8.x-dev MY_PROJECT --no-interaction command.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/apigee/apigee-devportal-kickstart-drupal/issues/148?email_source=notifications&email_token=ABYAUSURQEEQWRCNB6F3BLTP2VMXXA5CNFSM4HXCEDI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXZALMQ#issuecomment-502400434, or mute the thread https://github.com/notifications/unsubscribe-auth/ABYAUSXBFCCZEXNQOVF7OLLP2VMXXANCNFSM4HXCEDIQ.

jacine commented 5 years ago

I rarely ever have to make edits to this file. Did you try going through this list yet? https://www.drupal.org/node/228462

epowelljr commented 5 years ago

Yes, but we still had issues.

On Jun 15, 2019, at 4:44 PM, Jacine Luisi notifications@github.com wrote:

I rarely ever have to make edits to this file. Did you try going through this list yet? https://www.drupal.org/node/228462 https://www.drupal.org/node/228462 — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/apigee/apigee-devportal-kickstart-drupal/issues/148?email_source=notifications&email_token=ABYAUSU2FI3G5MMIQGICXKTP2VPELA5CNFSM4HXCEDI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXZAU5A#issuecomment-502401652, or mute the thread https://github.com/notifications/unsubscribe-auth/ABYAUSV7VXMG6IWTNZUVTWDP2VPELANCNFSM4HXCEDIQ.

jacine commented 5 years ago

What kind of issues? Are you sure mod_rewrite is enabled and properly configured at the server level? Are you installing in the web root directory or a sub directory? The more information you can provide, the better.

epowelljr commented 5 years ago

We have PHP 7.3.5 loaded. I saw come document saying that Apigee and the modules are not supported with PHP 7.3.5 but is support with PHP 7.2

Do know what is correct?

On Jun 12, 2019, at 9:44 AM, Jacine Luisi notifications@github.com wrote:

Hi @epowelljr https://github.com/epowelljr,

We're confident this is a server configuration issue, as opposed to an issue with this project. That's to say that if you installed Drupal alone, without the Kickstart, in your current setup, you would likely face the same issue. We've been trying to help, across numerous issues/comments across this queue, but it's not clear if you've tried our suggestions. I've added all of those suggestions here for easy reference.

In addition to what we've replied with previously, I'd just like to add that if I were in your position, I would try the following:

Go through every heading on this page, and check it against your setup: https://www.drupal.org/node/228462 https://www.drupal.org/node/228462.

If you are having issues with the steps (Apache configuration) linked above, try asking your hosting provider for guidance. They may have documentation/guides for exactly what you're trying to achieve. They're likely aware of Drupal requirements as well, and may be able to better guide you through the way customers need to make configuration changes on their servers.

If you still can't get it working, try starting over. Take another look through the System requirements for Drupal 8 https://www.drupal.org/docs/8/system-requirements, and try starting over fresh.

P.S. It would be really helpful if you could keep the dialog in a single issue. We really do want to help you. Please use this issue going forward for anything related to your .htaccess/404 errors. Thank you!

Good luck @epowelljr https://github.com/epowelljr! You can do it. 😄

106 (comment) https://github.com/apigee/apigee-devportal-kickstart-drupal/issues/106#issuecomment-497917193, where we suggested:

It sounds like an issue with your web server configuration with Drupal clean urls:

Fixing clean URL problems https://www.drupal.org/docs/8/troubleshooting-drupal-8/fix-drupal-8-clean-urls-problems This thread has the same issue of links being 404s https://groups.drupal.org/node/105954 Originally posted by @cnovak https://github.com/cnovak in #106 (comment) https://github.com/apigee/apigee-devportal-kickstart-drupal/issues/106#issuecomment-498842102

136 https://github.com/apigee/apigee-devportal-kickstart-drupal/issues/136, where we suggested:

Hi @epowelljr https://github.com/epowelljr,

@cnovak https://github.com/cnovak added some information that should be helpful in #106 https://github.com/apigee/apigee-devportal-kickstart-drupal/issues/106.

I also found this, which suggests that you may need to configure this outside of .htaccess itself: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/5/html/deployment_guide/s1-apache-config https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/5/html/deployment_guide/s1-apache-config Hope it helps! Jacine

Originally posted by @jacine https://github.com/jacine in #136 (comment) https://github.com/apigee/apigee-devportal-kickstart-drupal/issues/136#issuecomment-498844631

117 (comment) https://github.com/apigee/apigee-devportal-kickstart-drupal/issues/117#issuecomment-500906282, where we replied:

Hi @epowelljr https://github.com/epowelljr,

Did you try the suggestions we posted for you in #136 https://github.com/apigee/apigee-devportal-kickstart-drupal/issues/136?

Are you sure that you have mod_rewrite enabled? Here is another documentation page that might be useful for you: https://www.drupal.org/node/228462 https://www.drupal.org/node/228462.

Thanks, Jacine

Originally posted by @jacine https://github.com/jacine in #117 (comment) https://github.com/apigee/apigee-devportal-kickstart-drupal/issues/117#issuecomment-500953483 @epowelljr https://github.com/epowelljr here is a doc on how to get Drupal 8 running on RHEL https://www.web3us.com/drupal-how-guides/install-drupal-8-composer-and-drush-9 without our Kickstart. You can replace step number 7 in this doc with the Kickstart composer project command.

Originally posted by @cnovak https://github.com/cnovak in #117 (comment) https://github.com/apigee/apigee-devportal-kickstart-drupal/issues/117#issuecomment-500964763 — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/apigee/apigee-devportal-kickstart-drupal/issues/148?email_source=notifications&email_token=ABYAUSWPA2Q67LIFXLBEMB3P2EDWDA5CNFSM4HXCEDI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXQVH3Q#issuecomment-501306350, or mute the thread https://github.com/notifications/unsubscribe-auth/ABYAUSWBFNXJ6A5W4LLD4EDP2EDWDANCNFSM4HXCEDIQ.

jacine commented 5 years ago

We have PHP 7.3.5 loaded. I saw come document saying that Apigee and the modules are not supported with PHP 7.3.5 but is support with PHP 7.2

I'm not aware of any issues with PHP 7.3. I've got PHP 7.3.1 running locally, with all the latest Apigee modules, and everything is working fine. PHP 7.3 has been recommended, alongside 7.2, for Drupal since version 8.6.4 (see screenshot below). If you recall where you found this information in the docs, please let us know, so we can make sure to verify/update it.

Screen Shot 2019-06-16 at 12 19 59 AM

Maybe you need to adjust your php.ini settings? Check out the details on this page: https://www.drupal.org/docs/8/system-requirements/php-requirements. Check that your memory_limit is at least 256M and max_execution_time at least 60. There is another note on that page about .htaccess worth checking too.

Anything else you can share? Are there any errors in the PHP error log?

epowelljr commented 5 years ago

The portal is working without error now. I did increase the memory_limit to 512. I increase the file upload. I was set to 128MB. I noticed some images would not display so I increase it to 300MB, I guess that is a little high, what’s your thoughts?

I did not change the max_execution_time. I will check that now.

Thanks

On Jun 16, 2019, at 12:26 AM, Jacine Luisi <notifications@github.com mailto:notifications@github.com> wrote:

We have PHP 7.3.5 loaded. I saw come document saying that Apigee and the modules are not supported with PHP 7.3.5 but is support with PHP 7.2

I'm not aware of any issues with PHP 7.3. I've got PHP 7.3.1 running locally, with all the latest Apigee modules, and everything is working fine. PHP 7.3 has been recommended, alongside 7.2, for Drupal since version 8.6.4 (see screenshot below). If you recall where you found this information in the docs, please let us know, so we can make sure to verify/update it.

https://www.drupal.org/docs/8/system-requirements/php-requirements Maybe you need to adjust your php.ini settings? Check out the details on this page: https://www.drupal.org/docs/8/system-requirements/php-requirements https://www.drupal.org/docs/8/system-requirements/php-requirements. Check that your memory_limit is at least 256M and max_execution_time at least 60. There is another note on that page about .htaccess worth checking too.

Anything else you can share? Are there any errors in the PHP error log?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/apigee/apigee-devportal-kickstart-drupal/issues/148?email_source=notifications&email_token=ABYAUSQU6TH6ES6IPR6R2B3P2W6GZA5CNFSM4HXCEDI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXZE4DQ#issuecomment-502418958, or mute the thread https://github.com/notifications/unsubscribe-auth/ABYAUSRW7F5GIZD5COA3ERTP2W6GZANCNFSM4HXCEDIQ.

jacine commented 5 years ago

The portal is working without error now. I did increase the memory_limit to 512. I increase the file upload. I was set to 128MB. I noticed some images would not display so I increase it to 300MB, I guess that is a little high, what’s your thoughts? I did not change the max_execution_time. I will check that now. Thanks

Great! 🎉 I’m so glad to hear it’s all working for you.

Unless you are expecting to have users upload large files, 300MB is kind of high. The largest source image we have in the repo is about 6MB, but we use responsive images everywhere, so they’re all transformed to smaller sizes when viewed. That’s probably what you experienced, the initial creation of the smaller image variants created by the server.

epowelljr commented 5 years ago
  1. Responsive images? How can I convert my images to be of such?
  2. Also, do I need to install an additional module to handle registered developers or users? Drupal has built-in capabilities to add roles and users.

On Jun 16, 2019, at 10:43 AM, Jacine Luisi <notifications@github.com mailto:notifications@github.com> wrote:

The portal is working without error now. I did increase the memory_limit to 512. I increase the file upload. I was set to 128MB. I noticed some images would not display so I increase it to 300MB, I guess that is a little high, what’s your thoughts? I did not change the max_execution_time. I will check that now. Thanks

Great! 🎉 I’m so glad to hear it’s all working for you.

Unless you are expecting to have users upload large files, 300MB is kind of high. The largest source image we have in the repo is about 6MB, but we use responsive images everywhere, so they’re all transformed to smaller sizes when viewed. That’s probably what you experienced, the initial creation of the smaller image variants created by the server.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/apigee/apigee-devportal-kickstart-drupal/issues/148?email_source=notifications&email_token=ABYAUSTFGABAEWMQLKPCS6TP2ZGSNA5CNFSM4HXCEDI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXZOROY#issuecomment-502458555, or mute the thread https://github.com/notifications/unsubscribe-auth/ABYAUSSJSZJPQQDPKRDD4GLP2ZGSNANCNFSM4HXCEDIQ.

jacine commented 5 years ago
  1. There’s nothing you need to do. This is done for you, upon installation. The Drupal entity display configuration is already using responsive image formatters everywhere. The first time (only once) the site is ever loaded the images generate (like Drupal 7 image cache). This is what I was referring to in my previous comment. Are you seeing images on the site?

  2. No additional modules are needed. Check out the Apigee Edge documentation: https://www.drupal.org/docs/8/modules/apigee-edge

epowelljr commented 5 years ago

Yes, all the images are displaying correctly. Apparently, it was something else that was preventing the images from displaying. If that is the case, I will lower the file upload.

On Jun 16, 2019, at 1:25 PM, Jacine Luisi notifications@github.com wrote:

There’s nothing you need to do. This is done for you, upon installation. The Drupal entity display configuration is already using responsive image formatters everywhere. The first time (only once) the site is ever loaded the images generate (like Drupal 7 image cache). This is what I was referring to in my previous comment. Are you seeing images on the site?

No additional modules are needed. Check out the Apigee Edge documentation: https://www.drupal.org/docs/8/modules/apigee-edge https://www.drupal.org/docs/8/modules/apigee-edge — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/apigee/apigee-devportal-kickstart-drupal/issues/148?email_source=notifications&email_token=ABYAUSRZ6GHBQEJEEZDK3B3P2ZZPBA5CNFSM4HXCEDI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXZROIY#issuecomment-502470435, or mute the thread https://github.com/notifications/unsubscribe-auth/ABYAUSX63ANDZ2QDKI5RV53P2ZZPBANCNFSM4HXCEDIQ.

jacine commented 5 years ago

Ok great! Thanks for letting us know @epowelljr. 🙂

epowelljr commented 5 years ago

Jacine,

Now that we have resolved the issues with the Dev Portal 404 and .htaccess.

  1. I need to connect the Drupal 8 Dev Portal to the Apigee Management server.
  2. Originally, there was a Drupal 7 Dev Portal connected to the Apigee Management server. Do we need to make any updates to the Management server since we are planning on attaching the Drupal 8 version of the Dev Portal?
  3. Also, what about SmarDocs? I have the Apigee API Catalogue installed on the Drupal 8 Dev Portal.

—Edgar

On Jun 16, 2019, at 2:34 PM, Jacine Luisi notifications@github.com wrote:

Ok great! Thanks for letting us know @epowelljr https://github.com/epowelljr. 🙂

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/apigee/apigee-devportal-kickstart-drupal/issues/148?email_source=notifications&email_token=ABYAUSSZT2BK23JFGTCW3WLP22IWHA5CNFSM4HXCEDI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXZTVJQ#issuecomment-502479526, or mute the thread https://github.com/notifications/unsubscribe-auth/ABYAUSWP3OSI3N5H2J3Y67TP22IWHANCNFSM4HXCEDIQ.

epowelljr commented 5 years ago

Hi Jacine,

I trying to connect the Dev Portal to the Apigee Management Server. I applied the credentials the Dev Portal Apigee Edge Connection Settings form.

I’m getting the error below:

Failed to connect to Apigee Edge. cURL error 7: (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

Do you have a fix for this?

-Edgar

On Jun 16, 2019, at 2:34 PM, Jacine Luisi notifications@github.com wrote:

Ok great! Thanks for letting us know @epowelljr https://github.com/epowelljr. 🙂

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/apigee/apigee-devportal-kickstart-drupal/issues/148?email_source=notifications&email_token=ABYAUSSZT2BK23JFGTCW3WLP22IWHA5CNFSM4HXCEDI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXZTVJQ#issuecomment-502479526, or mute the thread https://github.com/notifications/unsubscribe-auth/ABYAUSWP3OSI3N5H2J3Y67TP22IWHANCNFSM4HXCEDIQ.

kscheirer commented 5 years ago

Hi Edgar,

You don't need to make any updates to the Apigee Management server. The new Apigee API Catalog module is SmartDocs for Drupal 8. If you already have that installed, then you're all set.

The credentials from your D7 site should work fine for D8 as well. Curl error 7 is CURLE_COULDNT_CONNECT (7) - Failed to connect() to host or proxy., so it sounds like the Apigee Management server is not reachable from your D8 devportal. Is the D8 portal on a different server than the D7 portal maybe? It sounds like you're using the on-premise version of the Apigee Management server, is that correct?

epowelljr commented 5 years ago

Got it functioning now. Do you have a link for configuring or using the API Catalog module with the Apigee management server?

Yes I believe we are using the on-premise version.

On Jun 18, 2019, at 3:12 PM, Karl Scheirer notifications@github.com wrote:

Hi Edgar,

You don't need to make any updates to the Apigee Management server. The new Apigee API Catalog module is SmartDocs for Drupal 8. If you already have that installed, then you're all set.

The credentials from your D7 site should work fine for D8 as well. Curl error 7 is CURLE_COULDNT_CONNECT (7) - Failed to connect() to host or proxy., so it sounds like the Apigee Management server is not reachable from your D8 devportal. Is the D8 portal on a different server than the D7 portal maybe? It sounds like you're using the on-premise version of the Apigee Management server, is that correct?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/apigee/apigee-devportal-kickstart-drupal/issues/148?email_source=notifications&email_token=ABYAUSQOKASN4GYD3STZXQTP3E6UVA5CNFSM4HXCEDI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODX72KOA#issuecomment-503293240, or mute the thread https://github.com/notifications/unsubscribe-auth/ABYAUSWHI7T6SYE2OAT7CQTP3E6UVANCNFSM4HXCEDIQ.

epowelljr commented 5 years ago

Karl,

The Dev Portal and the Apigee Management server are using the same Redhat server at different ports. This server do not have access to the internet. Do know if that will contribute issues when using the Apigee API Catalog and the Apigee Management server.

-Edgar

On Jun 18, 2019, at 3:12 PM, Karl Scheirer notifications@github.com wrote:

Hi Edgar,

You don't need to make any updates to the Apigee Management server. The new Apigee API Catalog module is SmartDocs for Drupal 8. If you already have that installed, then you're all set.

The credentials from your D7 site should work fine for D8 as well. Curl error 7 is CURLE_COULDNT_CONNECT (7) - Failed to connect() to host or proxy., so it sounds like the Apigee Management server is not reachable from your D8 devportal. Is the D8 portal on a different server than the D7 portal maybe? It sounds like you're using the on-premise version of the Apigee Management server, is that correct?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/apigee/apigee-devportal-kickstart-drupal/issues/148?email_source=notifications&email_token=ABYAUSQOKASN4GYD3STZXQTP3E6UVA5CNFSM4HXCEDI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODX72KOA#issuecomment-503293240, or mute the thread https://github.com/notifications/unsubscribe-auth/ABYAUSWHI7T6SYE2OAT7CQTP3E6UVANCNFSM4HXCEDIQ.

cnovak commented 5 years ago

You can try making the same call from the server using cURL. You should get the same response.
For example, you can see this will return a 401, modify url, username, password, and org to match your Edge configuration:

curl -v -u username:password -X GET \
  https://api.enterprise.apigee.com/v1/o/myorg \
  -H 'Accept: application/json' 

You can also turn on debugging to get more information. Go to "Extend" in the admin menu you can turn on the Apigee Edge Debug module. That will print out the call being made to the logs.

kscheirer commented 5 years ago

Hi Edgar,

Good to hear that its working now. I dont think you'll have any trouble being on the same server. The general docs for using the API Catalog are here: https://www.drupal.org/docs/8/modules/apigee-api-catalog-0/document-your-apis.

Basically

epowelljr commented 5 years ago

Hi Karl,

I noticed another issue that has surfaced.

When login as an administrator, I tried to add an API doc. I browsed to Content, API Catalog, Add API doc. There is an Image section where you can Add media. I tried to add an image but was not able to add it. I was able to browse and select the image and select to insert the image but it would not add the image for the API doc.

Attached is the screenshot from the error log. Do you know what is going on and how to fix this?

-Edgar

On Jun 18, 2019, at 6:02 PM, Karl Scheirer notifications@github.com wrote:

Hi Edgar,

Good to hear that its working now. I dont think you'll have any trouble being on the same server. The general docs for using the API Catalog are here: https://www.drupal.org/docs/8/modules/apigee-api-catalog-0/document-your-apis https://www.drupal.org/docs/8/modules/apigee-api-catalog-0/document-your-apis.

Basically

Create a new API Doc entity Upload your OpenAPI spec file View the new entity — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/apigee/apigee-devportal-kickstart-drupal/issues/148?email_source=notifications&email_token=ABYAUSUXFESORNVE7FLNK6LP3FSQRA5CNFSM4HXCEDI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYAGRPI#issuecomment-503343293, or mute the thread https://github.com/notifications/unsubscribe-auth/ABYAUSSF6GXJSU56KL6FUFDP3FSQRANCNFSM4HXCEDIQ.

cnovak commented 5 years ago

Hello @epowelljr I do not see any screenshots on this ticket, can you add them by going to the ticket directly and adding them instead of replying by email?

https://github.com/apigee/apigee-devportal-kickstart-drupal/issues/148

epowelljr commented 5 years ago

Attached is the screenshot:

Screen Shot 2019-06-18 at 9 49 59 PM
epowelljr commented 5 years ago

Hi Chris,

Can you check the ticket. I attached the error.

On Jun 19, 2019, at 12:48 AM, Chris Novak notifications@github.com wrote:

Hello @epowelljr https://github.com/epowelljr I do not see any screenshots on this ticket, can you add them by going to the ticket directly and adding them instead of replying by email?

148 https://github.com/apigee/apigee-devportal-kickstart-drupal/issues/148

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/apigee/apigee-devportal-kickstart-drupal/issues/148?email_source=notifications&email_token=ABYAUST2END6AQQOFNCXT23P3HCDJA5CNFSM4HXCEDI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYAYKKQ#issuecomment-503416106, or mute the thread https://github.com/notifications/unsubscribe-auth/ABYAUSTBQOULIFKDMUIU4ATP3HCDJANCNFSM4HXCEDIQ.

jacine commented 5 years ago

Hi @epowelljr,

Thanks for the image. It's very helpful. It looks like this is actually a Drupal core bug: https://www.drupal.org/project/drupal/issues/2990664

The fix has been committed, so it should be in the next release.

Thanks, Jacine

epowelljr commented 5 years ago

Hi Utpal,

I need to install the patch listed below. The module that I need to patch is the media_library.

I tried to apply the patch but the server do not have the ability to allow patching. Can you load patch tool on the server.

-Edgar

On Jun 19, 2019, at 11:31 AM, Jacine Luisi notifications@github.com wrote:

Hi @epowelljr https://github.com/epowelljr,

Thanks for the image. It's very helpful. It looks like this is actually a Drupal core bug: https://www.drupal.org/project/drupal/issues/2990664 https://www.drupal.org/project/drupal/issues/2990664 The fix has been committed, so it should be in the next release.

Thanks, Jacine

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/apigee/apigee-devportal-kickstart-drupal/issues/148?email_source=notifications&email_token=ABYAUSXY5NJIP6JTQRTKZZLP3JNOFA5CNFSM4HXCEDI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYCNX7A#issuecomment-503634940, or mute the thread https://github.com/notifications/unsubscribe-auth/ABYAUSQZ37MGBMTXYKKGI2DP3JNOFANCNFSM4HXCEDIQ.

epowelljr commented 5 years ago

Hi Jacine,

Can you provide suggestions or a fix for the errors below:

We tried to register a developer in the Dev Portal. When entered all details and tried to create an account it throws below exception.

Thanks Jacine!

On Jun 19, 2019, at 11:31 AM, Jacine Luisi notifications@github.com wrote:

Hi @epowelljr https://github.com/epowelljr,

Thanks for the image. It's very helpful. It looks like this is actually a Drupal core bug: https://www.drupal.org/project/drupal/issues/2990664 https://www.drupal.org/project/drupal/issues/2990664 The fix has been committed, so it should be in the next release.

Thanks, Jacine

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/apigee/apigee-devportal-kickstart-drupal/issues/148?email_source=notifications&email_token=ABYAUSXY5NJIP6JTQRTKZZLP3JNOFA5CNFSM4HXCEDI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYCNX7A#issuecomment-503634940, or mute the thread https://github.com/notifications/unsubscribe-auth/ABYAUSQZ37MGBMTXYKKGI2DP3JNOFANCNFSM4HXCEDIQ.

jacine commented 5 years ago

Hello @epowelljr!

Did you forget to attach the details? You might need to do it directly, instead of via email like before.

Thanks! Jacine

epowelljr commented 5 years ago

It is now attached.

Screen Shot 2019-06-20 at 3 11 32 PM

Thank you!

cnovak commented 5 years ago

@epowelljr those error messages are cut off, you should be able to click on the message and see the details. However, it seems that this issue is full of a lot of different issues/questions. Can you open an issue for each problem you have instead of having a long thread about different issues? I am afraid that persons having these same issues will not be able to follow the problem. Please open a bug for any issues related to this project and fill out the issue template with full details.

epowelljr commented 5 years ago

Hi Cnovak,

This is more info on the bug.

Screen Shot 2019-06-21 at 9 19 50 AM
cnovak commented 5 years ago

@epowelljr pen a bug ticket and fill out details instead of using this same thread for each issue, thanks