You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After installing the pg_net extension via Database->Extensions GUI the Queries do not get executed, as the background worker is not running. tested this on self-hosted and it's working like intended there
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
Go to Databases -> Click on Extensions -> Enable pg_net
Switch to SQL Tab and execute following query select net.check_worker_is_up()
Failed to run sql query: the pg_net background worker is not up
Other way to test:
Go to Databases -> Click on Extensions -> Enable pg_net
Switch to SQL Tab and execute following query select net.http_get('https://filesamples.com/samples/code/json/sample2.json') and take note of the responding id.
select net.http_collect_response(id) - id = result from query before
get error "request matching request_id not found"
Expected behavior
check_worker_is_up should return the process id of the running worker.
http_collect_response should return the status success and data along with it (this is on my local supabase cli instance)
Screenshots
As you can see, the response is not collect and instead it tells the request failed
As you can see here the worker is not running.
Additional context
This works on local.
The error "request matching request_id not found" only comes to be, as a result of the request not being executed and instead "vanishing"
The text was updated successfully, but these errors were encountered:
Stumbled onto this while debugging some unexpected behavior related to PG_Net.
select extversion from pg_extension where extname = 'pg_net'; = 0.7.1
While the posts above says this was fixed in #80, I got a few ERROR,"request matching request_id not found" errors while debugging a que_system that works but sometimes gets this error before it tries again.
Bug report
Describe the bug
After installing the
pg_net
extension via Database->Extensions GUI the Queries do not get executed, as the background worker is not running. tested this on self-hosted and it's working like intended thereTo Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
pg_net
select net.check_worker_is_up()
Other way to test:
pg_net
select net.http_get('https://filesamples.com/samples/code/json/sample2.json')
and take note of the responding id.select net.http_collect_response(id)
- id = result from query beforeExpected behavior
check_worker_is_up should return the process id of the running worker.
(this is on my local supabase cli instance)
http_collect_response should return the status success and data along with it
Screenshots
As you can see, the response is not collect and instead it tells the request failed
![collect_response](https://user-images.githubusercontent.com/43887376/208684397-4f702196-8e82-4dfa-b7d6-032b542f9807.png)
As you can see here the worker is not running.
![worker](https://user-images.githubusercontent.com/43887376/208682842-1e375d06-f225-4590-bf28-b0a9c04dee16.png)
Additional context
This works on local.
The error "request matching request_id not found" only comes to be, as a result of the request not being executed and instead "vanishing"
The text was updated successfully, but these errors were encountered: