+ Start a Discussion
LaurentDelcambreLaurentDelcambre 

CMS Connect with Drupal 8 in Community: "The server returned code HTTP 0"

Hi,

I set up a CMS connection in my Community.
I used these settings:
CMS Source: Drupal
Connection type public:
Server URL: https://drupdemoeight8wnpr4ekpl.devcloud.acquia-sites.com

JSON:
Content list: 
- Name: List
- Path: content/rest?_format=json
- Node Path: nothing

When using the component CMS Connect JSON with the default values I see: "The server returned code HTTP 0"

I can confirm that my Rest service is well configures by testing it with Postman or even directly in the browser:
https://drupdemoeight8wnpr4ekpl.devcloud.acquia-sites.com/content/rest?_format=json

Any idea of what is wrong or how I could debug that?

Can we test the CMS connection?

Cheers,
Laurent


 
Best Answer chosen by LaurentDelcambre
LaurentDelcambreLaurentDelcambre
I can answer my own question:
I needed to enable CORS in the Drupal site:
https://developer.salesforce.com/blogs/2018/06/integrate-external-content-into-communities-using-cms-connect-json.html

Then add the Drupal site to the Remote Site settings in Salesforce

A good blog post:
https://developer.salesforce.com/blogs/2018/06/integrate-external-content-into-communities-using-cms-connect-json.html

All Answers

LaurentDelcambreLaurentDelcambre
I can answer my own question:
I needed to enable CORS in the Drupal site:
https://developer.salesforce.com/blogs/2018/06/integrate-external-content-into-communities-using-cms-connect-json.html

Then add the Drupal site to the Remote Site settings in Salesforce

A good blog post:
https://developer.salesforce.com/blogs/2018/06/integrate-external-content-into-communities-using-cms-connect-json.html
This was selected as the best answer
Arshad NoorArshad Noor
You can know about this on https://www.blogginghindi.com/isaimini/
Kunu KDKunu KD
Melvin Smith 5Melvin Smith 5
If you need HP Printer Support you can call our experts for immediate help. We are available 24/7 to assist the customers with HP Printer Support (https://printertroubleshooting.us/hp-printer-support/).
Johny Sins 13Johny Sins 13
Search Plumbers Near Me (https://plumbersoncall.net/plumbers-near-me/) and find our plumbers across the United States. We provide best plumbing services, actively responding to query of Plumbers Near Me.
movies KUMARmovies KUMAR

Thank You For sharing this information.
Download Hindi Dubbed Hollywood, South movies & Bollywood in HD. List of some websites in the below, you can go and download the movie.
  1. Extramovies (https://www.badalkumar.com/extramovies-worldfree4u)
  2. KTM Movie (https://www.badalkumar.com/ktm-movie-download)
  3. Tamilrockers (https://www.badalkumar.com/tamilrockers-unblock)Unblock
  4. lk21 (https://www.badalkumar.com/lk21-layarkaca21)
awaze upawaze up
you can get news information on the Uttar Pradesh news (https://www.awazeuttarpradesh.com/) portal.

If you love movies downloading then you can go on movie pirated (https://www.awazeuttarpradesh.com/blog/worldfree4u/) sites but it is a criminal act so think about than. 
PM Modi SchemePM Modi Scheme
Best Information in this artical. I have check this information about Extramovies (https://naukrimint.com/extramovies/ (https://naukrimint.com/extramovies" target="_blank)) Tamilgun (https://naukrimint.com/tamilgun-movies-download/ (https://naukrimint.com/tamilgun-movies-download/" target="_blank)) Filmyzilla (https://naukrimint.com/filmyzilla-movies-download/ (https://naukrimint.com/filmyzilla-movies-download/" target="_blank)).
Thanks for sharing this..
Aftab ShaikhAftab Shaikh
Best  information for extra movies (https://www.thenextwired.com/extramovies (https://www.thenextwired.com/extramovies-bollywood-300mb-movies/" target="_blank)) & bollyshare (https://www.thenextwired.com/bollyshare (https://www.thenextwired.com/bollyshare-2020-movies-download-bolly-share/" target="_blank))
khan jafarkhan jafar
Best information regarding drupal websites. Do check the website on PTCL online bill (https://ptclbills.com) and PTCL Speed Test (https://ptclbills.com/ptcl-speed-test), ptcl internet packages (https://ptclbills.com/ptcl-internet-packages), and PTCL tax certificate (https://ptclbills.com/ptcl-tax-certificate/). Thanks.
PM Modi SchemePM Modi Scheme
Pm Modi scheme (https://pmmodischeme.com/" target="_blank) is all Indian govt schemes provide a website. On this website you will get to know the central government & state government latest scheme information.
Study HolicStudy Holic
CSC Center Kya Hai? CSC Kaise khole?, CSC Registration Kaise Kare? Common Service Centre Details in Hindi (https://supportingainain.com/csc-kya-hai-common-service-centre-kaise-khole/)
Study HolicStudy Holic
jankari hindi me supportingainain (https://supportingainain.com/
city herocity hero
thanks for this post very informative
For all your mobile phone solutions (https://www.faisalmobile.com/)
Frp Apk Files (https://www.faisalmobile.com/2020/01/frp-apk-files.html)
Nuvo leeNuvo lee
Thanks for creating this page. It is really helpful for many people. I like the way the Internet community is growing. To read some useful information about the avocado visit here (https://jhakas.com/avocado-ki-jankari-in-hindi/).
alex marti 2alex marti 2

Thank you for sharing this very informative post.

this helps me a lot to troubleshoot my issue.

also, can you check my site and please let me know if I added the right code to my header? https://evolvepakistan.com

James Williams 36James Williams 36
If you want to upgrade, downgrade or reinstall OS in your smartphones, you need to install a flash file and you will get back your phone in factory format. 
Lyf f220b flash file (https://firmwareflashfiles.com/jio-f220b-flash-download/)
awaze upawaze up
Moviesflix (https://theroaringman.com/entertainment/moviesflix/)is one of such torrent website where the users can download HD Hollywood movies, Bollywood movies, TV shows, and web series for free. After the COVID-19 pandemic, everyone prefers to stay at home rather than being outside.
khan jafarkhan jafar
I have used drupal on many websites. If you consider it with wordpress, then i must say the security is much better.For example for a website on ptcl bill (https://ptclbills.com), enough security is needed to keep Pakistan telecommunication customers data secure. Drupal is the best choice for these type of websites
Alice M EscobarAlice M Escobar
The free-online-converters (https://www.free-online-converters.com)  is a Unit Converter of Light Seconds, Light Years, Steps, Terameters, areas, currency, density, energy, force, length, mass, power, pressure, speed, temperature, volume, and bytes 
 lash-care.dk  (https://lash-care.dk )
. ours provide purpose only to provide free information. Is it an informative online Tool (http:// https://eshoppii.eu) enough? In this tool, you can check the equal value of both things like how many inches in one centimeter, or other value-able units, etc. 
joseph dsilvajoseph dsilva

I agree with the information that the author posts about Cms and drupal. However to know about cgl please visit below.

https://gyannagari.com/cgl-full-form-kya-hai/

 

 

Adam curryAdam curry
I agree with the information that the author posts about Cms and drupal. Samsung FRP tool (https://learnonetech.com/easy-samsung-frp-tool-download-2021/) | FRP Bypass Samsung (https://learnonetech.com/all-samsung-frp-bypass-2021/) | Samsung frp bypass tool (https://learnonetech.com/all-samsung-frp-unlock-tool-2021-download/)
Nikunj VariaNikunj Varia
Rohit Singh 307Rohit Singh 307
For more Xiaomi themes please visit my site https://techrushi.com
 
Rohit Singh 307Rohit Singh 307
Gacha Life 2 (https://newmiphone.com/gacha-life-2-download/) download for iOS and Android Devices.
Sharukh AnsariSharukh Ansari
Hello Friends If You are a coin master lover then go to this site for more information. 

Coin Master Free Spins Link Today

https://srtech2020.in/coin-master-free-spin-link-today.html

Coin Master All Village Cost List

https://srtech2020.in/coin-master-all-villages-cost-list.html

Coin Master Full Information

https://srtech2020.in/coin-master-full-information.html

Viking Quest or Tribal Quest

https://srtech2020.in/viking-quest-or-tribal-quest.html

Attack Madness

https://srtech2020.in/attack-madness.html

Raid Madness

https://srtech2020.in/raid-madness.html

Village Master & Village Mania

https://srtech2020.in/village-master-and-village-mania.html

Coin Master VIP Account 

https://srtech2020.in/coin-master-vip-account.html

Over 100 Players Can Now Raid You 

Ghost Mode

https://srtech2020.in/coin-master-ghost-mode.html

Set Blast

https://srtech2020.in/set-blast.html
 
mg g 7mg g 7
thanks for the solutions and creating this forum online ncie information thanks fr best restaurant franchise in india check thik out get al-baik franchise in india in affordable price visit https://www.al-baik.com/ (https://www.al-baik.com/)to know more.
Jhon RobinsonJhon Robinson
Awsome post to share 
we have written about new indian information in hindi
Good Information About Dveloping (https://newinhindi.in/)
younes bakriyounes bakri
FrpTool - The site includes explains And publish links Frp Tool for Android Phone and tablet FRP Tools | Frp Bypass | FRP Bypass APK | Android Tools.
https://frptool.net/easy-samsung-frp-tool/
https://frptool.net/download-samfirm-tool-v1-4-3-free-frp-remove-tool/
https://frptool.net/download-moto-frp-bypass-tool/
​​​​​​​https://frptool.net/download-frp-tools-free-frp-bypass-apk-pc-tool/ (http://https://frptool.net/download-frp-tools-free-frp-bypass-apk-pc-tool/)
Ramon WaltersRamon Walters
Xiaomi USB Driver Download For Windows 10 (https://miaccountguide.com/xiaomi-usb-driver/) Xiaomi USB Drivers for Xiaomi Devices Xiaomi, the largest manufacturer of Android smartphones in China is Xiaomi. Xiaomi manufactures a huge range of Xiaomi phones and also operates an open platform for developing Xiaomi applications called MiUi. A large number of these Xiaomi mobile phone models are available under the sub-brand Redmi Mobile Phone.
https://miaccountguide.com/how-to-find-mi-account-id-with-imei/
Love HackerLove Hacker
Testing is important. Why? It allows developers to add new features and edit and refactor existing code without the worry of adding regressions, reduces the reliance on manual testing to discover bugs, and by taking a test driven approach, your implementation code is leaner as you only write what is needed for your tests to pass.

Drupal 7 includes the SimpleTest module for unit and functional testing, whilst Drupal 8 also includes and supports PHPUnit - the defacto PHP testing framework, used by other PHP projects including Symfony and Laravel - making it easier for people to test their code. And with testing being one of the Drupal core gates with tests needing to be included with every new feature or bug fix, and core’s 100% pass rate policy, testing has become an essential skill when contributing to core, or when working on your own projects.

In this talk, we’ll cover the methodology and terminology involved with automated testing, and then take a test driven approach to creating a new Drupal module.

also read -
blog par traffic kaise badhaye (https://htlmadras.com/blog-par-traffic-kaise-badhaye/)
mp3 juice (https://htlmadras.com/mp3-juice-dj-free-mp3-music-download/)
shiprocket login (https://htlmadras.com/shiprocket-tracking-login-pricing-review/)
what is seo (https://htlmadras.com/what-is-seo-in-hindi/)
 
mg g 7mg g 7
There are many franchise brands out there but al-baik is one of the best food franchises in India one of the most demanding franchises throughout the country and even the world. albaik has more than 100+ franchise stores in India and abroad. choose the best food franchisee in India albaik to provide you with great services, support, and full franchise support to establish your own albaik franchise in india. Get albaik franchise at affordable price call now or visit www.al-baik.in to know more details.

 
adoniah carmilineadoniah carmiline
We must should also be agreed with the information share in this post about Cms. I want to to check this out; easy samsung frp tool 2020 (https://easyfirmwarex.com/easy-samsung-frp-tool/)
Adam curryAdam curry
jaya rianajaya riana
A 3-story glasshouse is being built over the Signature Bridge; construction work will be completed by September 25


 
Adonia CarmilineAdonia Carmiline
Thanks fo sharing also check out Vnrom (https://vnroms.com/)
Adam curryAdam curry
If you want to download the VnROM (https://learnonetech.com/download-vnrom-bypass-frp-tools-apk/) or you need to download Samsung FRP Tools (https://learnonetech.com/download-samsung-frp-bypass-tool-v1-4/), then go check out the FRP Tools (https://learnonetech.com/easy-samsung-frp-tools-v2-7-download/) download link.
Adam curryAdam curry
free softwarefilesfree softwarefiles
If you want to download the VnROM (Windows 10 Free Download) or you need to download Samsung FRP Tools (Windows 11 Free Download), then go check out the FRP Tools (MS Office 2019 Free Download) (Adobe Photoshop 2020 Free Download)download link.
rahul s 61rahul s 61
I set up a CMS connection in my Community.
I used these settings:
CMS Source: Drupal
Connection type public:
Server URL: endlyrics.in (https://endlyrics.in/)
Din vermaDin verma
Thanks for sharing info. It was a great information. I have also set up CMS using the info. 
You can also checkout my settings on go full page  (https://chrome.google.com/webstore/detail/full-page-screenshot-capt/pojgkmkfincpdkdgjepkmdekcahmckjp)
 
Din vermaDin verma
Thanks a tonne for this information. It will definiately help us in the future. 
I have also developed a sound booster (https://unscart.com/extension/sound-booster/)Chrome extension you can download it by visiting Chrome web store.