Openbullet API problem
-
Hi everyone !
I have a problem with https://openbullet.github.io/remote.htmlWhen i type dotnet ./OpenBulletAPI.dll and im going to http://localhost:5000 i have this
ive been trying this
but still not workingi can make a donation if someone can explain to me how to make this work
ty !
-
You didn't comment out that line, otherwise it would be working. You need to do "publish" not "build" in order to get a working application. Then you can find it under Release/netcoreappsomething/publish. If you still have trouble, post a screenshot of your Program.cs file.
-
Pozdrav kako napraviti mac config za openbullet
-
Also you could change that line to say
.UseUrls("http://*:5000")
it should work for both localhost and remote.
-
Hi @Ruri I get this error with your tutorial :
D:\OpenBulletAPI\bin\Release\netcoreapp2.2> dotnet OpenBulletAPI.dll
Unhandled Exception: System.MissingMethodException: Entry point not found in assembly 'OpenBulletAPI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'.
Can you help me please.
PS :
I published and builded, I did both but it gives me the same errorEDIT : Can you just build the version with the line commented please ? I tryed to resolve my issue for like 4 hours and no success.
-
Hey, you can avoid uncommenting the line and whatnot, just launch the api through
dotnet OpenBulletAPI.dll --urls "http://*.*:5000"
-
Hey thanks ! It works now but I still have issues with the API. I run the API but when I want to access it, it replies me in HTTPS and I can't access it.
Even with the Admin Panel, it fails to contact the API because it can't establish a secured canal in SSL/TLS.
-
yes, if you launch it with that URL it will only work on http, if you want https you should do something like
dotnet OpenBulletAPI.dll --urls "https://*.*:5001"
(I configured http con port 5000 and https on port 5001).
-
@Ruri Yes but in fact I don't want HTTPS. I launch it in HTTP but I get HTTPS when I access it in my browser, it's strange.
-
I think chrome enforces HTTPS everywhere as a security measure, why are you trying to access the API in your browser anyways? It's not like there's anything to see, you should only access it via OB Admin Panel and the OB client itself.
-
Yes but the I can't "Refresh" in the Admin Panel to add new Users.
Because it can't access the api due to SSL/TLS issueGot this warning btw :
warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3]
Failed to determine the https port for redirect.
-
That is just a warning. Can you please show me what you put in your Admin Panel as the endpoint? (Blur out your password if needed)
-
@Ruri
Is this what you asked ?
-
Ok that is REALLY weird, why would it throw an SSL error when you are doing everything over HTTP? I don't understand, do you have something that is enforcing every HTTP request on your system to be upgraded to HTTPS?
-
No I don't think so. I'll try on a Linux VM to see if it changes anything
-
Yeah go ahead, on a Linux VM you can't run the admin panel though so I think if you run it from your pc it's still going to be the same error
-
This post is deleted!
-
Please I need help to finish solving and running OpenBullet on Kali Linux My OpenBullet.dll file does not exist so I don't know how to deploy it with the command: # dotnet ./OpenBulletAPI.dll
so i used the OpenBullet API.sln file for execution and this is what i got:
#dotnet ./OpenBulletAPI.sln
Unable to complete execution because the specified command or file could not be found.
Possible reasons:- You misspelled a built-in dotnet command.
- You wanted to run a .NET program, but dotnet-./OpenBullet.csproj does not exist.
- You wanted to run a global tool, but the executable of this name with the dotnet prefix could not be found in the PATH.
please give me the correct method in the absence of the OpenBulletAPI.dll file
-
@guybalas00 you need to download the compiled version, you downloaded the source code.
https://github.com/openbullet/openbullet-api/releases/download/v0.0.2/OpenBulletAPI-0.0.2.rar
-
Yes I had already done it previously via a bde github link that I finally cloned to install I will again download the new file that you just gave me and in terms of the configuration can you help me finally get there thank you.