Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
 
Answered
Error on Q2 Run command - Error Establishing Dev Socket

I am trying to run the q2 solution locally so I can see my changes on the shared development site. I cannot move past this step.


...$ q2 run

2022-11-08T11:45:26.644 q2_sdk.general INFO WebSocketUrl: wss://local-dev-api.q2developer.com/ws/vacu 2022-11-08T11:45:27.093 q2_sdk.general ERROR Error establishing dev socket. Will attempt to reestablish connection in the background.


I am trying to run the q2 solution locally to see my changes on the development site. I always get "ERROR Error establishing dev socket. Will attempt to reestablish connection in the background." I have installed what I think are all the necessary certificates. I am able to q2 login successfully, but not q2 run. Any ideas on what to try next are much appreciated. My fellow developers are able to run it successfully.

Posted 3 years ago
Votes Newest

Answers


Hello Kevin,

The first steps to check is always whether you have access and then whether you have defined access with scopes for the Personal Access Token. I checked all of these for you. You appear to have access and properly defined the scopes for the personal access token. However, I checked on the token. And you haven't seemed to actually successfully called the developer portal using the personal access token to get the jwt. This makes me think there is a bug with q2 login somehow. q2 login should tell you that the token is no good if it is no good. If I was guessing I think somehow when you copied and pasted an extra character was added.

Do you mind creating a formal bug ticket here: https://q2developer.com/support/create?ticketType=Bug

Posted 3 years ago
Trey Teter
124 × 2 Administrator
137 Views
1 Answer
3 years ago
3 years ago
Tags