Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloud mode is not working - error 403 #183

Open
dfjaapie opened this issue Nov 27, 2024 · 5 comments · Fixed by #207
Open

Cloud mode is not working - error 403 #183

dfjaapie opened this issue Nov 27, 2024 · 5 comments · Fixed by #207

Comments

@dfjaapie
Copy link

Recently I upgraded my printers and moved to using clode mode but unfortunatly this doesn't work.

I have tried using option 1 with the login information and option 2 with the token. In the docker log i'm seeing this error

2024-11-27 08:47:48 Caused by: java.lang.RuntimeException: java.lang.RuntimeException: org.jboss.resteasy.reactive.ClientWebApplicationException: Received: 'Forbidden, status code 403' when invoking REST Client method: 'com.tfyre.bambu.CloudApi#login'

What could this be?

@Nikzda
Copy link

Nikzda commented Nov 30, 2024

I get the same Error. It all worked perfectly for some weeks

Edit: Switching from user credentials to token fixed it for me

@Lim0H
Copy link

Lim0H commented Dec 8, 2024

I get the same Error. It all worked perfectly for some weeks

Edit: Switching from user credentials to token fixed it for me

Hello. How you get this token. I tryied bambulab.com and makerworld for getting token from cookies, but this don't work for me. JWT decode don't work for me tokens from this sites

@PietroFurlan
Copy link

Hello, i had the same issue, i tried to switch to token but i have this error.

Unable to process JOSE object (cause: org.jose4j.lang.JoseException: Invalid JOSE Compact Serialization. Expecting either 3 or 5 parts for JWS or JWE respectively but was 1.): MY_TOKEN org.jose4j.jwt.consumer.InvalidJwtException: JWT processing failed. Additional details: [[17] Unable to process JOSE object (cause: org.jose4j.lang.JoseException: Invalid JOSE Compact Serialization. Expecting either 3 or 5 parts for JWS or JWE respectively but was 1.): MY_TOKEN

I took the token from the browser cookies.

@TFyre
Copy link
Owner

TFyre commented Jan 7, 2025

https://github.com/TFyre/bambu-farm/releases/tag/v1.5.0

Please grab and test version 1.5.0 from the link above and let me know if it works now.

Have a read through the Cloud Section to obtain the new configuration options:

bambu.cloud.enabled=true
bambu.cloud.username=u_12345
bambu.cloud.token=AA...

@PietroFurlan
Copy link

It works!
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants