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

Issue with Ngrok and desactivating SSL #128

Open
ionosphere opened this issue Jan 27, 2023 · 0 comments
Open

Issue with Ngrok and desactivating SSL #128

ionosphere opened this issue Jan 27, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@ionosphere
Copy link

Hi,

I have an error on parsing an API response error.

`<TITLE>Access Denied</TITLE>

Access Denied

You don't have permission to access "http://api.eu-gb.assistant.watson.cloud.ibm.com/v2/assistants/fa41d158-9382-4da6-9db8-7c47fb92e141/sessions/e9283ba2-2cc3-450d-9688-0450c8d5856c/message?" on this server.


Reference #18.be3e2217.1674809815.1927c3e

'`

json-2.3.1/lib/json/common.rb:263:in parse' ibm_cloud_sdk_core/api_exception.rb:15:in initialize'
ibm_cloud_sdk_core/base_service.rb:113:in new' ibm_cloud_sdk_core/base_service.rb:113:in request'

Service Status

OK

Describe the bug

When trying to access to Watson API, we have an error unmanaged by the gem

To Reproduce

Use Ngrok, lauch a console and call the message function

Expected behavior

We expect to parse correctly the message

Actual behavior

JSON::ParserError: 784: unexpected token at '

Screenshots

Desktop (please complete the following information):

  • OS: Linux Ubuntu 20.04.5 LTS
  • Ruby Version : 2.6.6

Additional context

@ionosphere ionosphere added the bug Something isn't working label Jan 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant