https://serverless-stack.com/ logo
Join Slack
Powered by
# console
  • j

    Jay

    02/28/2022, 8:38 PM
    I’m curious, what are you all using the Console for the most?
    t
    c
    +2
    • 5
    • 5
  • r

    Ross Gerbasi

    03/04/2022, 12:16 AM
    Haven't used the console to much, but I definitely poked around in earlier versions of SST and it was working fine. I just updated to 0.67 and I am seeing it hang on
    Syncing metadata
    Looks like all the requests to localhost are just hanging. I suspect this is a WSL2 port issue, likely that
    <http://localhost:12557/>
    isn't making it from my windows machine to ubuntu. I will try to mess with it more later, but console isn't a must have right now.
    s
    j
    +2
    • 5
    • 14
  • s

    Seth Geoghegan

    03/04/2022, 7:47 PM
    I don't think I understand the response I'm getting from the new API feature of the console...
    t
    • 2
    • 35
  • s

    Seth Geoghegan

    03/14/2022, 3:13 PM
    My lambda functions have fairly large log messages, which I notice pushes the Send button off the screen on the API tab.
    t
    • 2
    • 5
  • m

    Maged Mortaga

    03/18/2022, 11:50 AM
    Hey quick question. We wanted to try out the new API feature of the console but it wont even load. We get the following error message when clicking on the API icon
    f
    t
    • 3
    • 14
  • a

    AR

    03/22/2022, 6:01 PM
    i setup a simple rest endpoint and am poking around in the console. i get a
    200
    hitting the endpoint but am getting
    response: null
    . here's the function
    Copy code
    export function hook() {
      return {
        statusCode: 200,
        body: JSON.stringify({ some: "data" }),
      };
    }
    j
    t
    f
    • 4
    • 6
  • l

    leonard

    03/26/2022, 3:46 PM
    Hi, new to sst and still playing around. Is there a way to undo an RDS migration via the console?
    m
    f
    • 3
    • 4
  • k

    Karolis Stulgys

    04/02/2022, 9:31 AM
    Copy code
    npx sst console --stage prod
    Unknown script "console".
    m
    f
    • 3
    • 2
  • i

    ipsherman

    04/23/2022, 2:19 PM
    Hi, I've been using SST for awhile, and I just saw that the console was added. In my app that's been in ongoing development for awhile, I run
    npx sst start
    and the console link doesn't show up. Am I missing something? Do I need to upgrade anything?
    f
    • 2
    • 3
  • j

    jamlen

    05/09/2022, 11:06 AM
    In the Cognito console can we have options for creating a user not auto verified, and be able to set and set user attributes?
    f
    t
    • 3
    • 4
  • s

    Scott

    05/13/2022, 8:14 AM
    Hi, I'm not really sure what channel/where to ask this question. But for the Database-->migrations, is there a way to run raw SQL functions from within these files or would I need a custom migrator?
    f
    t
    • 3
    • 16
  • m

    Mohiuddin Sumon

    05/17/2022, 8:31 AM
    Hello, So I ran npm run start and it gave me one console link. But when I go to console link I only see that syncing metadata. I am using 'GO' language. #help @Frank
    f
    • 2
    • 4
  • f

    Fiig

    05/18/2022, 2:00 PM
    quick question - is there a way to access logs (
    console.log, console.error, throw, etc
    ) outside of cloudwatch using SST while developing? Something similar to
    sls logs -f foo -t
    ? I’ve searched a bit, but figured I would check here as well. thank you!
    f
    • 2
    • 3
  • j

    jamlen

    05/19/2022, 8:28 AM
    How can I invoke the APIs if I have enabled
    authorizer: "iam",
    on my Api routes? Can I create a user in Cognito and then act as that user?
    f
    • 2
    • 2
  • k

    Kevin Wright

    05/25/2022, 8:15 PM
    im playing with a
    Queue()
    SST construct and i notice that i cannot see the SQS queues within the SST console. is this coming?
    t
    k
    • 3
    • 15
  • c

    Carlos Daniel

    05/25/2022, 10:52 PM
    guys, I’ve got a fun question: how difficult would it be to integrate the SST Console to a project running under the Serverless Framework? at my job we use only Serverless framework and it’s a pain when I have to navigate through all the AWS services to find the stuff that I’m working on or re-do lambda invokes… if I could do some workaround to run the console locally getting the creds coming from Serverless Framework somehow, that’d be really cool
    k
    • 2
    • 5
  • h

    Hazel

    05/27/2022, 7:46 AM
    Hi folks. I’ve got an
    AppSyncApi
    and a Cognito
    Auth
    set up. I’ve used
    attachPermissionsForAuthUsers()
    to connect them, so only Cognito users can access the graphql API. So now when I try to use my Graphql playground in the SST console, I get this:
    Copy code
    {
      "errorType": "UnauthorizedException",
      "message": "You are not authorized to make this call."
    }
    Is there a way to either “log in” as a Cognito user when using the SST console, or some other way I can authenticate to my Graphql API for this purpose? I’ve tried also setting
    authorizationConfig.defaultAuthorization.authorizationType
    my AppSync config with both
    appsync.AuthorizationType.API_KEY
    and
    appsync.AuthorizationType.IAM
    , but I also can’t figure out how to get those connected either. I know SST is using an IAM role under the hood to create the AWS resources in the first place, so I thought
    IAM
    might just use this by magic, but it seems not. I’d be happy with setting an API key somewhere and passing it into the graphql playground via say, the Headers option, but I can’t see how to do that either. Any pointers would be much appreciated. Having the option to use the Graphql playground for local development work is the main thing I was hoping to get out of this work, so it’s a bit disappointing that it’s proving so difficult.
    f
    • 2
    • 16
  • a

    Aaron Cox

    05/29/2022, 8:49 AM
    Hey all, Love this project, I'm just starting out with this, but already, this is awesome, learning heaps just from reading the docs :) Recently I've been playing with remote developer environments like Cloud9, code spaces, self-hosted vs-code-server etc... I'm hoping it might be feasible to migrate most of my development work over to this kind of setup. So, I was wandering is it posable to use console.serverless-stack.com with remove dev environments? I noticed it tries to establish a web-socket connection on localhost:13557 to connect with
    sst start
    or 'sst console'. this works with vs-code connected to code-spaces from local machine, as vs-code does some kind of local to remote forwarding... I was SUPER IMPRESSED 🎉 that SST and local vs-code + code-spaces just worked with this setup... but I'm also interested in having my environment fully remote with no local tooling installed. achievable? thanks
    a
    f
    • 3
    • 4
  • k

    Ken Rimple

    06/17/2022, 6:12 PM
    Am I correct in understanding that the console URLs are unique by app deployed? I just deployed https://console.serverless-stack.com/demo-app/demo/local to hack around on, then realized that is an actual URL to a named route that seems rather easy to collide with. Or is it just interpreted along with some headers / credentials sent along / communicating with the CLI when running the console so that the name doesn't have to be site-wide unique?
    t
    • 2
    • 4