2 identical deployments, one gives error while the other does not

Problem description:
I have 2 identical background worker vm deployments. Trading bots. One of them is trading on a live account api and the other is trading on a paper-trade account api, otherwise they are the same exact code. I got an alert that a trade went through on one repl but not on the other repl. I investigated the logs. I get a Replit error when it should be running. I do not know what this Replit error code means.

This is the error from the deployment log:

An unexpected error occurred: 403 Client Error: Forbidden for url: https://kv.replit.com/v0/v2.public.Q2lRd1l6SXdOV0l6TWkwMU1HUXhMVFExTm1FdFlqZ3pNaTA1WkRZMVpqUTJPRFppWWpjU0RHRjJZWFJoY21GMWMzUnBiaG9oUkc5MVlteGxMVVZrWjJWa0xVRnNjR0ZqWVMxVVZpMVFZWEJsY2xSeVlXUmxJZ2x5WlhCc2FYUXRhM1l5SkdNME1qRXlOR1V3TFdZeFlUUXRORGc1WkMxaFpUQTJMVGd3TUdNek56QXdPRGd6WVRqZnlLb0hRbmdLSkdRME1qWmhaV1ppTFdabFlXTXRORGcwWXkxaVpESXlMVEEyTjJJM04yVTJabVZtTlJJcVpHOTFZbXhsTFdWa1oyVmtMV0ZzY0dGallTMTBkaTF3WVhCbGNpMTBjbUZrWlMxaFpHMXZiR3hqR2lRd1l6SXdOV0l6TWkwMU1HUXhMVFExTm1FdFlqZ3pNaTA1WkRZMVpqUTJPRFppWWpjPTpONxxDFloQwET76tuMVt3jxsrSAsKJgCHDj_S31lHxBLqVYAwQFf7Ud5npPsi1ySo7PvKvA5zyRwsg0343PwA.R0FFaUJYWmhkV3gwRXJFRGRqSXVjSFZpYkdsakxsRXlaRE5UV0hCTlVUQm9lVlZXYkZKaFdFWXlWRWMxTTFSV1RrVlJWMnhwWTBacmNtUkZTbTlTUlhoNldUTldiVkZZYUhaUk1HUkNWbGRHUzFveU9YSlVWV1JPWlZVeFJWWnRiRTVsYTJ3d1ZHeFNRMkV3TVZSTlJFSlBWa1p3YjFSR1pFcE9SVEUyVTFoU1VGWXhSWGxVYkdSYVRVVTFjVnA2U2xwaVZXdDZVakpqTUZVd1VraFNha3BhVjBaS2Ixa3lNVWROVjAxNlZXNUNhV0ZIT1VkVU1EUjJVMWhHYmxreVJrSmhSMlJNVWpKa1NtUXdSbFJUVkVab1pXdHNNVmt3YUZkaFYwcElZa2R3VFdKV1ZqVlZNbkJLVFVkR1dHTkdjRmRTUmxwM1ZWZDRjMlZHWkZkaU0zQmFZV3N4TkZWc1pFdFVNVkpWVm01b1ZGWkhhRmRYVm1oYVRsWnNkRmRyT1dsU1ZUVk9XbFprWVdNeVVraFplakpaZGpVNFJESmhNMmd5WVhOa1QxbHdhVkJNTW01Sk5VeFJVazVFTUVadVVWOVhlV3BGYXpkV2FFTllZalJCWmpReWFUaFJSM0ZGYW5sM01HYzFVRzl6TW1oVmFHWmxkM1l3UVZCRlRXMW1iRXBoU0ZGSkxsSXdSa1poVlVwWlYyMW9hMVl6WjNkUk1taFBUV3hzV1ZadVRtdFJla1oxV1dwT1lXRkhTa1JOVkVKcFRXNVNjMWx0Y0habFFRPT0/trade_log

Expected behavior:
I expected the identical repl to work like the other one.

Actual behavior:
An unexpected error occurred: 403 Client Error: Forbidden for url:

Steps to reproduce:
check depployment log

Bug appears at this link:
private repl: Double-Edged-Alpaca-TV-PaperTrade

Browser:
OS:
Device (Android, iOS, NA leave blank):
Desktop app version (Avatar menu->“Version”) or NA:
Plan (Free, Replit Core):

It’s hard to say without more information. Can you give this a try and redploy?

poetry update replit

Was replit installed in their program in the first place? Sorry if this sounds rude.

1 Like

Yes, as that error seems to have come from replDB:

Note the kv.replit.com at that start.

1 Like

yes, replit was installed and imported in the file as from replit import db, when I ran poetry update replit as suggested it said “updating from version xx to new version xx” I can not say yet whether the poetry update solved the problem though since the deployment logs do not show any information at all since yesterday and the conditions that would have caused my trading bot to make a trade have changed since yesterday. Deployment logs being delayed or nonexistant is another frustration with debugging in these types of situations.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.