menu

ZEIT

Our mission is to make cloud computing as easy and accessible as mobile computing. You can find our Next.js community here.

Channels
Chat
view-forward
# All channels
view-forward
# General
view-forward
# Announcements
view-forward
# Feature Requests
view-forward
# Hyper
view-forward
# Jobs
view-forward
# Micro
view-forward
# Now
view-forward
# PKG
view-forward
# Serve
view-forward
Team
Posts
Members
Info

Where are the error logs on zeit?

I tried https://github.com/zeit/micro/tree/master/examples/external-api-call locally, changing the api.example.com url to a working url and it is working. When I go on localhost:3000, the script return the correct result. If I deploy with now, then it looks like successful but…

thumbsup
0
message-simple
8

micro-session

This is still a WIP, so please don't advertise this too much, but I've been working on a session "middleware" for micro. It currently works with at least connect-mongo. You can find it here: https://github.com/meyer9/micro-session. Pull requests are welcome and if you find a…

thumbsup
0
message-simple
0

How to run Micro on Now V2

Ive written a small graphql service using micro (followed the example). It runs fine under micro-dev and micro on my localhost. It deploys and runs under Now V1 but doesn't run under Now V2. Im using the @now/node builder which reports a successful. But i get a 504: An error…

thumbsup
3
message-simple
21

Maintain Database Connection

How do I maintain the database connection throughout the functions lifetime--while the function is warmed up/is warm.

thumbsup
1
message-simple
5

Is Micro abandonware?

I tried to build and deploy serverless functions tonight using Micro and I couldn't for the life of me figure out how to deploy it until I found a thread on here or in GitHub issues where someone revealed they made their own build tool, whereas Zeit has not released an official…

thumbsup
2
message-simple
11

Are there any good mocking libraries for Micro's Request/Response objects?

There is the popular node-mocks-http package, but this is primarily written for express users, so the req/res objects aren't exactly right. (And if your project is TypeScript, you actually have to add @types/express as a dependency to make it work, which feels a bit ugly in if…

thumbsup
0
message-simple
1

Are unresolved promises terminated when calling send()?

I am using a micro to handle a Slack command but the action it performs frequently exceeds 3000ms which causes an operation_timeout error to be displayed to the user even though the task eventually completed successfully. The recommended solution is to send an immediate 200…

thumbsup
0
message-simple
3

Micro deployed to Zeit and never ends

I deploy a very simple micro test but when I deploy it never ends, the logs says is running on port 3000 like localhost, but the url is not working and the deployment status is yellow index.js package.json …

thumbsup
0
message-simple
4

Can I use Micro as middleware

Hi guys, is quite difficult to find a tutorials of micro, so I have a couple of questions: is possible to use micro as middleware I have a personal project and I need consume the api fro eventbrite and facebook, so I need a middleware to handle the secrets and tokens, so I need…

thumbsup
0
message-simple
1

How are people handling rate limiting?

I'm building a little micro service, and would like to impose rate limits. Have found micro-ratelimit. Curious what others are doing.

thumbsup
2
message-simple
0