You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried running this CPCDS client against the CPCDS reference server, and I was not able to connect following the directions listed in the README for the credentials to connect the hosted client with the CPCDS server. After typing in the credentials, it opened up a window to type in a username and password, but after providing the ones listed in the documentation, it sent me back to the original connection page and was not able to successfully connect.
I decided to run everything locally, and I made some fixes that now lets it connect to the server. I made three main changes to get it working. I upgraded the ruby version to 3.1.2, added require 'uri' to the application_controller.rb file, and changed line 215 from @search = URI.decode(results.request[:url]) if results.request[:url].present? to @search = URI.decode_www_form_component(results.request[:url]) if results.request[:url].present?. I am not sure if this is the solution you want to go with, but I wanted to provide that solution as an option as it is something that worked for me.
The text was updated successfully, but these errors were encountered:
I tried running this CPCDS client against the CPCDS reference server, and I was not able to connect following the directions listed in the README for the credentials to connect the hosted client with the CPCDS server. After typing in the credentials, it opened up a window to type in a username and password, but after providing the ones listed in the documentation, it sent me back to the original connection page and was not able to successfully connect.
I decided to run everything locally, and I made some fixes that now lets it connect to the server. I made three main changes to get it working. I upgraded the ruby version to 3.1.2, added
require 'uri'
to the application_controller.rb file, and changed line 215 from@search = URI.decode(results.request[:url]) if results.request[:url].present?
to@search = URI.decode_www_form_component(results.request[:url]) if results.request[:url].present?
. I am not sure if this is the solution you want to go with, but I wanted to provide that solution as an option as it is something that worked for me.The text was updated successfully, but these errors were encountered: