Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CPCDS Client Not Connecting to CPCDS Reference Server #41

Open
emichaud998 opened this issue Dec 13, 2024 · 0 comments
Open

CPCDS Client Not Connecting to CPCDS Reference Server #41

emichaud998 opened this issue Dec 13, 2024 · 0 comments

Comments

@emichaud998
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant