Transparent connections through HTTP proxies

Hi All,
I am trying to connect to internet through java application. In my application I had an object for example
SomeObject obj = new SomeObject("url"); which internally connects to the web application on internet. When I run this application I am getting connection error. Which prevents from internal firewall. How do I solve this problem. Which must be done transparently with out affecting my internal code. How can we by pass from proxy server to connect to the internet. I heard HttpClient from apache can be used. How this can be used. Please provide me some sample to overcome this.
Thanks.
Phani.

See [Java Networking and Proxies|http://java.sun.com/j2se/1.5.0/docs/guide/net/proxies.html].

Similar Messages

  • E1 to E1 DTI voice 30 channel transparent connection through WAN

    Hello , 
    I want to connect an E1 to E1 DTI voice 30 channel transparent connection through WAN
    PSTN---E1 (router) Wan --- Wan (router) E1---PBX
    Anyone can help with the above configuration?
    I want the E1 connection to be transparent from the PSTN to the PBX for full voice usage.

    That's about it, but you will also need to add the additional trunk to the existing trunk.dat file on the PGW.
    http://www.cisco.com/en/US/partner/docs/voice_ip_comm/pgw/9/provisioning/notes/NASPKpgw.html#wp1035285

  • Post Moved Cannot-connect-through-anonymous-prox...

    Post moved to Other BB Queries  http://community.bt.com/t5/Other-BB-Queries/Cannot-connect-through-anonymous-proxy/td-p/650446
    If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the reply answers your question then please mark as ’Mark as Accepted Solution’

    You could try reading about wingates, socks and proxies (oh before i forget, turn off java, javascript, cookies, what's related, and smart update ... if you are using IE you're not very smart). Also try installing a firewall, or DHCP or you can learn from me!Here is the info of best 10 proxy software, from which you may try: http://www.techyv.com/article/top-10-free-proxy-software

  • SSL port is enabled, so why can't I connect through HTTPS?

    Hi,
    I'm using Weblogic 9.2.2, Solaris 9 with Java 1.5 We have our created our managed server within a cluster, and although we have enabled the SSL listen port ...
    http://screencast.com/t/t5UN6Exwp
    when I try connecting to our app through HTTPS in a web browser, I get a "Failed to Connect" error. Specifically in Firefox it says http://screencast.com/t/TGl0FIuQ. However, i can connect to our app fine through the HTTP port. How should I start troubleshooting this problem or what other info should I provide here?
    Thanks, - Dave

    I tried everyone's suggestions and wanted to report back the results. Running
    netstat -na | grep LIST | grep 7032produced no data. I did find a reference to the SSL port (7032) in my server log file, but didn't see any errors associated with it (I listed the working HTTP port first to compare) ...
    ####<Mar 12, 2009 10:47:03 AM EDT> <Info> <RJVM> <pacdcbpmdeva01a.cable.myco.com> <mmwcdc311> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1236869223832> <BEA-000570> <Network Configuration for Channel "mmwcdc311"
    Listen Address 24.40.36.101:7031
    Public Address N/A
    Http Enabled true
    Tunneling Enabled false
    Outbound Enabled false
    Admin Traffic Enabled true>
    ####<Mar 12, 2009 10:47:03 AM EDT> <Info> <RJVM> <pacdcbpmdeva01a.cable.myco.com> <mmwcdc311> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1236869223834> <BEA-000570> <Network Configuration for Channel "mmwcdc311"
    Listen Address 24.40.36.101:7032 (SSL)
    Public Address N/A
    Http Enabled true
    Tunneling Enabled false
    Outbound Enabled false
    Admin Traffic Enabled true>
    ####<Mar 12, 2009 10:47:03 AM EDT> <Debug> <RJVM> <pacdcbpmdeva01a.cable.myco.com> <mmwcdc311> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1236869223835> <BEA-000571> <Network Configuration Detail for Channel "mmwcdc311"
    Finally, openssl produced:
    [weblogic@mymachine logs]$ openssl s_client -connect 24.40.36.101:7032
    connect: Connection refused
    connect:errno=29
    Anything else I should be looking for? - Dave

  • Connecting through HTTP Proxy

    How can I make connection to a port of some remote server when I am connected to internet using HTTP Proxy?

    If you are going to use the URL object then set your proxy IP and Port in your system properties before you create your URL object.
    For example:
    System.getProperties().put( "proxyHost", proxyIp );
    System.getProperties().put( "proxyPort", proxyPort );
    URL url = new URL("http://www.foo.com" );

  • Installing an application (adium x 0.89/msn) + connecting through proxy

    hi all. most .dmg files will mount and tell u to drag the .app icon into 'applications folder'
    may i ask, what is the difference if u drag it into MACINTOSH HDD->APPLICATIONS folder, vs dragging it into /user/applications.
    apparently it had an observable effect on my installing of Adium X 0.89 (i use this for msn and i will elaborate why)
    previously when i dragged adium.app into macintosh hdd/applications, the default folder, i experienced several problems. i could not initiate messages to my contacts, it would display an error message of "Could not send; a connection error occurred." however when others msged me (if i get them, that is), i can reply to them, if im fast enough. if say i don't reply within 1/2min, then any msg i type to them will be so-called counted as a new msg, and i cant initiate it again! the same error msg surfaces.
    i checked my connection settings and it's ok. i uninstalled adium.app (search adium on spotlight and deleted everything that had adium), plus emptied trash. then i took a new move in installing in /user/applications folder and it worked fine!
    until now. it crashed all of a sudden for no reason. i uninstalled it again. installed it again in /user/applications folder, and it has the prev problem of not being able to initiate converesations again! (how frustrating!)
    why don't i just use microsoft messenger for mac 5.1 then? you might ask..
    very good question. i want to use that too. but i can't! see, i'm staying at halls, at Monash Uni, Australia. we connect through our uni's http proxy + port. for msn 5.0, i cant enter my username/password (as the textfields are grayed out). for adium, i can enter them. on contacting msn, they told me my msn is corrupt, i shd uninstall it completely and reinstall it with a version i get from them, not other sources. i did that, and still can't. i have a strong feeling it is a problem defunct, they have yet to make it compatible to mac users who want to connect through HTTP PROXY (not socks 5.0) and have to enter their username/password to enter this proxy.
    pls enlighten on the above issues, and hopefully provide a solution.

    oh come on im sure someone knows sth abt this...
    installing any program in /mactintosh hdd/applications
    vs /user/applications
    ........

  • Recording video/audio files using Flash Meida Server through rmtp, and allow users to access the recorded files through http.

    As titled, what is the way to record video/audio files using Flash Meida Server through rmtp, and allow users to access the recorded files through http?
    What I am trying to do, is to record a user's microphone's input and save it to the server. Afterwards, I would like other users to be able to access the recorded files and mainuplating the audio data, by computeSpectrum(), to do some visualization of the audio. As I know computeSpectrum() cannot work on streaming files, so I think I need to access the recorded files using http instead of rmtp. Is that true?
    How can I redirect the http request to the files I was recorded into my applications/appName folder? Or I need to somehow moved the recorded files to the /webroot folder?
    Thanks!

    I probably have asked a stupid question.
    My recorded streams are still saved in the applications/appName/streams folder.
    And I redirect the www.mydomain.com/streams to point to the applications/appName/streams folder.
    And the rmtp recorded streams are abled to connect through http now.

  • Error connecting MDM system from XI through Java proxies-standard component

    Dear Friends
    We are trying to connect to the MDM system from XI through Java proxies(i.e standard components),in relation to that we have done the following:
    1)registered the interfaces
    a)http://XIserver:port/ProxyServer/register?ns=http://sap.com/xi/GDSConsole&interface=GDS_Data_Import_In&bean=localejbs/sap.com/GDS/DataImport&method=gDSDataImportIn
    b)http://XIserver:port/ProxyServer/register?ns=http://sap
    .com/xi/GDSConsole&interface=GDS_DP_In&bean=localejbs/sap.com/GDS/Dat
    aPoolIn&method=gDSDPIn
    2)Deployed the ears within Build10.zip, i.e
    a)GDS_1.0.6.1_Build10.ear and
    b)GDS_ExternalValidations_1.0.6.1_build10.ear
    3)set the sap.application.global.properties file inside the  GDS_1.0.6.1_Build10.ear
    as follows:
    SAP application properties
    #!Path to GDS folder containing the configuration files
    ConfigurationFilesLocation=/usr/sap/P70/DVEBMGS00/j2ee/cluster/server0/apps/sap.com/GDS
    #!External validation modules (EJB names) delimited by semicolon character.
    ExternalValidationModules=ExternalValidations_EJBs
    #!IP or server name of MDM server
    MDM.server=172.18.139.200
    #!MDM repository port as appears in MDM console
    MDM.port=2000
    #!MDM repository name as appears in MDM console
    MDM.repositoryName=GDS_1
    #!version of MDM server and connector
    MDM.version=5.5.42.103
    #? secure=true
    #! MDM Admin user password
    MDM.AdminPassword=
    #!Data pool name - should match a remote system defined in MDM console
    DestinationDataPoolName=
    #!Data pool 13 digits GLN
    DestinationDataPoolGln=
    #!Provider 13 digits GLN
    ProviderGln=
    #!Provider time zone e.g. EST
    ProviderTimeZone=
    #!Data pool schema URL
    SchemaLocation=
    #!Message Timeout
    MessageTimeout=10
    #!Backend import client system - should match a remote system defined in MDM console.
    ImportData.ClientSystem.Name=R3
    !# The format that dates will appear in the UI
    #Available date formats:      MM/dd/yyyy
    #                     dd/MM/yyyy
    #                     MM-dd-yyyy
    #                     dd-MM-yyyy
    #                     dd-MMM-yyyy
    #                     dd/MMM/yyyy
    #                     MMM dd, yyyy
    Where MM=1-12, MMM=Jan,Feb,Mar,etc.
    Note: Extreme caution should be taken when choosing to use month names,
    #          since different regional settings on the client and server machines
    #          will cause dates to be uninterpretable.
    #          It is strongly advised to use numeric month format, eg. MM-dd-yyyy, etc.
    DateFormat=dd/MM/yyyy
    DEBUG.SaveIncomingMessagesToFile=false
    #!defines if incoming message will be saved in arc folder
    DEBUG.ImportData.SaveArchive=false
    #!defines if outgoing message will be saved
    DEBUG.SaveOutgoingMessagesToFile=false
    But still we are getting errors as:
    a)com.sap.aii.af.ra.ms.api.MessagingException: com.sap.mdm.gds.proxy.dataimport.GDSConsole_Message_Exception: : com.sap.aii.proxy.xiruntime.core.ApplicationFaultException: com.sap.mdm.gds.proxy.dataimport.GDSConsole_Message_Exception
    inside SXMB_MONI
    when we trigger an Idoc and try to send the data inside the MDM GDS system.
    and
    b)Failed to send message,reason:Exception on method gDSDPOut
    when we try to register something,even after the data is validated by the system.
    Can anybody help??
    It is of urgent requirement.
    Edited by: Arjun Ghose on Jul 15, 2008 4:36 PM

    Hi ,
       I found a document which says that MDM4J is the legacy API and is considered deprecated .The MDM Java API is the new one .I have both of them in the java build path . I am not sure if this is that cause of the problem .
    Now I had a look at the javadoc for the new API but I am not able to locate the class to obtain a connection to the MDM server from a custom application being built in Netweaver Developer Studio . Can someone help me out with the same ?What would be the code to obtain the connection to the MDM server with the new JAVA API ?
    Regards
    DeepaK Singh

  • Using Sockets TCP/IP to connect through Proxies and Firewalls

    How to do in a Client/server Application using Sockets TCP/IP to connect through Proxies and Firewalls?
    How to implement the HTTP Tunnelling in this case?
    the code in Client to connect to server is:
    SSLSocketFactory sslFact = (SSLSocketFactory)SSLSocketFactory.getDefault();
                   socket = (SSLSocket)sslFact.createSocket(c.site, c.PORT);
              String [] enabledCipher = socket.getSupportedCipherSuites ();     
                   socket.setEnabledCipherSuites (enabledCipher);
                   out = new ObjectOutputStream(socket.getOutputStream());
                   in = new ObjectInputStream(socket.getInputStream());
    The Server is an executable Standalone Application with a main Function � How to do to convert this Server in a Servlet Application?
    the code in Server to wait client connections is:
    Runtime.getRuntime().addShutdownHook(new ShutdownThread(this));
              try {
                   SSLServerSocketFactory factory = (ServerSocketFactory) SSLServerSocketFactory.getDefault();
                   SSLServerSocket sslIncoming =
                        (SSLServerSocket) factory.createServerSocket (PORT);
                   String [] enabledCipher = sslIncoming.getSupportedCipherSuites ();
                   sslIncoming.setEnabledCipherSuites (enabledCipher);
              while(running) {
                        SSLSocket s = (SSLSocket)sslIncoming.accept();
                   newUser(s, pauseSyn);
              } catch (IOException e) { System.out.println("Error: " + e); }
    some links or code sample?
    Thanks in Advance

    Did you see this: Networking Properties?
    Including
    SOCKS protocol support settings
    and
    http.proxyHost (default: <none>)
    http.proxyPort (default: 80 if http.proxyHost specified)
    http.nonProxyHosts (default: <none>
    ftp.proxyHost (default: <none>)
    ftp.proxyPort (default: 80 if ftp.proxyHost specified)
    ftp.nonProxyHosts (default: <none>)

  • Client connecting through a proxy

    hi
    i'm new to RMI programming, i need to clear some things up
    . is RMI a standalone protocol like http or does it require another protocol so
    it can run over it ?
    . how does an RMI connection get through a proxy server, ie. if the client is behind a proxy server and the server is a known public host, can the client still get to the server, or does this have to be done in the proxy configuration?
    Is there certain types of proxy servers RMI can't go through or ( they won't let it pass through ) .
    i need those infos because i've been stuck with an RMI server deployed on the net and a client behind a web proxy, the same box ( IP ) hosting the RMI server also hosts a WEB server from which javaWS starts the application but this application exits at a certain point sayin it cannot find the RMI server.
    i didn't have the chance to test through a direct connection, but have tested
    in an intranet environment and it was workin great,
    thanks for any help

    . is RMI a standalone protocol like http or does it
    require another protocol so
    it can run over it ?The question doesn't make much sense. HTTP runs over TCP, and so does RMI. RMI also uses the Serialization protocol.
    how does an RMI connection get through a proxy
    server, ie. if the client is behind a proxy server
    and the server is a known public host, can the
    client still get to the server, or does this have to
    be done in the proxy configuration?http://java.sun.com/j2se/1.5.0/docs/guide/rmi/faq.html#firewallOut
    s there certain types of proxy servers RMI can't go
    through or ( they won't let it pass through ) .Java supports SOCKS and HTTP proxies.

  • I have a PC with a internet connection through a modem and ever since i have had it i have had no connection to the itunes store. And even if I try to update anything it says that i need to check my connection, but my connection is fine. What should I do?

    I have a PC with a internet connection through a modem and ever since i have had it i have had no connection to the itunes store. And even if I try to update anything it says that i need to check my connection, but my connection is fine. What should I do?

    This almost always indicates your firewall or anti-virus utilities are preventing iTunes from contacting the iTunes Store. Here is an exerpt from "Can't connect to the iTunes Store": http://support.apple.com/kb/TS1368
    Troubleshooting on Windows
    If you haven't been able to connect to the iTunes Store for more than a day —and other customers on our discussion boards aren't experiencing similar issues— a software or internet service provider (ISP) configuration issue may be blocking your access to the iTunes Store. Click here to find out which ports and servers need to be allowed for iTunes Store access.
    Update iTunes to the latest version.
    If you have not done so already, try the steps in iTunes for Windows: iTunes Store connection troubleshootingto troubleshoot iTunes Store connectivity in Windows.
    Firewall issues:
    Windows XP: If you've upgraded to Windows XP Service Pack 2: By default, Windows Firewall is enabled. As with all firewalls not manufactured by Apple, you will need to configure Windows Firewall to allow iTunes to access the iTunes Store. To do so, see How to enable iTunes in the Windows XP Firewall.
    Windows Vista and 7: As with all firewalls not manufactured by Apple, you will need to configure Windows Firewall to allow iTunes to access the iTunes Store. To do so see, the "Blocked by software firewall" section in this article.
    Proxies can cause issues and should be avoided whenever possible. To disable the proxy built-in to Windows see, iTunes for Windows Can't access the Internet if proxy settings are incorrect.
    If you are receiving a specific error message you may want to see, the "Specific Conditions and Alert Messages" section in this article as needed.
    If the issue still persists, contact your internet service provider and confirm that the ports and servers in this article are enabled over your network.
    The "hosts" file may be blocking the iTunes Store
    Microsoft's article How do I reset the hosts file back to the default? has instructions and a "FixIt" to have Windows try to reset the hosts defaults for you.
    Note: Some workplaces may put internal resources in the hosts file but may also use it to block iTunes Store.
    To create a copy of your hosts file and replace it with an empty hosts file, follow the instructions for your operating system below.

  • HI i have macbook pro with OSX 10.8. I am facing typical problem with Wi- Fi , in school wi-fi it does'nt connects to http sites and connects only https  but in home wi-fi it connects to all all http and https sites. How fix this problem as I am new this

    HI i have macbook pro with OSX 10.8. I am facing typical problem with Wi- Fi , in school wi-fi it does'nt connects to http sites and connects only https as no security/proxy settings done but in home wi-fi it connects to all  http and https sites. How to fix this problem as I am new this operating system. Please any one help me in this as I have installed Delicious Library which is not working in school becoz it searches amzon http site.

    I would imagine that at school, you're required to connect through an HTTP proxy.
    From the menu bar, select
     ▹ System Preferences ▹ Network
    If the preference pane is locked, click the lock icon in the lower left corner and enter your password to unlock it. Then click the Advanced button and select the Proxies tab. Enter the proxy settings given to you by the network administrator. Click OK and then Apply.
    You may wish to create separate network locations for home and school. See the built-in help for instructions.

  • Help I purchase an Ipad yesterday I amusing internet connection through a netgear wired to my home computor since yesterday I am unable to open my emails or access my bank account ps I am not technical I am with orange broad band and have followed their i

    Help I purchased an ipad yesterday I am using internet connection through a wired up netgear router through my pc.Since then I cannot open my hotmail emails or access my online banking on wired pc and the navigator on ipad not working.
    I would appreciate help I followed all directions that Orange provided with netgear router

    Something here may help
    http://www.apple.com/uk/support/ipad/contact/
    pick a subject from left hand panel
    and this
    http://manuals.info.apple.com/en_US/ipad_user_guide.pdf

  • How can i airplay from my mac connected through ethernet to an aple tv 2 on wifi

    Hi everyone..
    im having troubles using Airplay on my mac.. i connect my mac to the internet and home network using an ethernet connection to my router (non apple branded router) .. my apple tv 2  is connected to my home wifi network from the same router.. when i first set up my apple tv.. i was able to see the Airplay icon on itunes and it would let me Airplay media from my mac to my apple tv.. however.. it disconnects after a little while.. same thing with viewing my itunes library from apple tv.. i was able to detect my shared library from the apple tv.. i was able to play some media but then it disconnected after some time.. but now.. the Airplay icon doesnt show up in itunes anymore.. and i cant see my shared library from my apple tv neither.. ive looked around for a solution and followed the tip to turn the ipv6 off.. it worked for some time but now the problem is back..
    i know the obvious solution is to connect my mac to the same wireless network as my apple tv.. but i would like to keep it connected through ethernet..
    Mac OS X Lion 10.7.4
    Apple TV 2 software version 4.4.4
    Thanks in advance

    thisguy. wrote:
    ......i know the obvious solution is to connect my mac to the same wireless network as my apple tv.. but i would like to keep it connected through ethernet.........
    I wouldn't say that was the obvious answer at all, my Mac is connected by ethernet and 6 of my 7 Apple TV's are connected by wifi, I haven't had any of your problems. The problem is most likely on your network.
    Intermittent problems
    Intermittent problems are often a result of interference. Interference can be caused by other networks in the neighbourhood or from household electrical items.
    You can download and install iStumbler (NetStumbler for windows users) to help you see which channels are used by neighbouring networks so that you can avoid them, but iStumbler will not see household items.
    Refer to your router manual for instructions on changing your wifi channel or adjusting your multicast rate.
    There are other types of problems that can affect networks, but this is by far the most common, hence worth mentioning first. Networks that have inherent issues can be seen to work differently with different versions of the same software. You might also try moving the Apple TV away from other electrical equipment.
    Consistent Problems
    A frequent cause of consistent failure to enable AirPlay or HomeSharing at all, is the service being blocked on the network. Make sure your network isn't hidden, has a unique name, that MAC address authentication is disabled, security is set to use WPA 2 Personal and that there is only one router/device acting as a DHCP server and providing NAT services.
    Make sure your router/computer allows access over the following ports
    Port
    Type
    Protocol
    Used By
    80
    TCP
    HTTP
    AirPlay
    443
    TCP
    HTTPS
    AirPlay
    554
    TCP/UDP
    RTSP
    AirPlay
    3689
    TCP
    DAAP
    iTunes/AirPlay
    5297
    TCP
    Bonjour
    5289
    TCP/UDP
    Bonjour
    5353
    TCP/UDP
    MDNS
    Bonjour/AirPlay
    49159
    UDP
    MDNS (Win)
    Bonjour/AirPlay
    49163
    UDP
    MDNS (Win)
    Bonjour/AirPlay
    Refer to your router manual/manufacturer for any settings that are specific to that model.
    Another frequent cause of consistent failure to enable AirPlay or HomeSharing at all, is security software, in many cases configuring it correctly, disabling it or even uninstalling it can help, but in some cases the security software can cause problems that simply reconfiguring, disabling or uninstalling cannot reverse.
    If you are consistently unable to activate AirPlay, have tried all the steps in this article and have security software installed on your system, you might benefit from contacting its provider or participating in any online forums they run to discuss the matter with them.

  • Getting Creative Zen player to connect through amarok [SOLVED]

    Edited 12-27 to include new info
    I'm trying to get myCreative Zen player to connect through amarok but am having some problems. After some looking around I figured out the libmtp in the extra repository doesn't support this player, but the newest versions do. I made a new package for libmtp-0.2.4 and installed it since there's been some tweaks that affect this player since 0.2.2 which is in testing. I also had to recompile amarok since one of libs changed a name with the new libmtp. The instructions from libmtp mentioned udev rules needed to be defined, which was done by copying a file from the source code into /etc/udev/rules.d. That file (minus the parts relating to other players, which is pretty much the same as here):
    # UDEV-style hotplug map for libmtp
    # Put this file in /etc/udev/rules.d
    ACTION!="add", GOTO="libmtp_rules_end"
    ATTR{dev}!="?*", GOTO="libmtp_rules_end"
    SUBSYSTEM=="usb", GOTO="libmtp_usb_rules"
    # The following thing will be deprecated when older kernels are phased out.
    SUBSYSTEM=="usb_device", GOTO="libmtp_usb_device_rules"
    GOTO="libmtp_rules_end"
    LABEL="libmtp_usb_rules"
    # Creative ZEN 8GB
    ATTR{idVendor}=="041e", ATTR{idProduct}=="4157", SYMLINK+="libmtp-%k", MODE="666"
    GOTO="libmtp_rules_end"
    LABEL="libmtp_usb_device_rules"
    # Creative ZEN 8GB
    ATTRS{idVendor}=="041e", ATTRS{idProduct}=="4157", SYMLINK+="libmtp-%k", MODE="666"
    GOTO="libmtp_rules_end"
    LABEL="libmtp_rules_end"
    When I plug the player to my usb port dmesg gives
    usb 5-1: new high speed USB device using ehci_hcd and address 8
    usb 5-1: configuration #1 chosen from 1 choice
    As my normal user amarok doesn't seem to recognize anything, and mtp-detect gives:
    libmtp version: 0.2.4
    Attempting to connect device(s)
    usb_claim_interface(): Operation not permitted
    LIBMTP PANIC: Unable to initialize device 1
    LIBMTP PANIC: configure_usb_devices() error code: 7 on line 1561
    Detect: There has been an error connecting. Exiting
    As root mtp-detect gives me a bunch of output that seems like it's doing what it should, also while it's spitting this out the screen on the player changes to say it's docked, which wasn't happening as the normal user. This makes me think it's some permissions issue. I did find things from google telling me that sometimes the user needs to be added to a certain group to use libmtp, though it seemed somewhat distro dependent. My main user is in the following groups: dbus hal network audio optical storage scanner camera users thinkpad
    However I don't think my problems are solely permission related, since even as root amarok won't recognize the player. I can use gnomad2 as root, which mostly works, though it crashes when I try and close gnomad after adding music and the player thinks it's still docked even after unplugging it. I had to use a pin to reset it just to turn it off. When I ran it from a console I got the following output at the end after the crash
    PTP: Closing session
    ERROR: Could not close session!
    inep: usb_get_endpoint_status(): Protocol error
    outep: usb_get_endpoint_status(): No such device
    usb_clear_halt() on IN endpoint: No such device
    usb_clear_halt() on OUT endpoint: No such device
    usb_clear_halt() on INTERRUPT endpoint: No such device
    The application 'gnomad2' lost its connection to the display :0.0;
    most likely the X server was shut down or you killed/destroyed
    the application.
    Any suggestions for where to go from here?
    Last edited by mcmillan (2008-01-11 05:38:14)

    I tried uploading onto my school website, but it doesn't seem accessable from there. However I just modified the version number from the regular Pkgbuild file from abs. What I have is:
    # $Id: PKGBUILD,v 1.8 2007/05/20 19:11:05 travis Exp $
    # Maintainer: damir <[email protected]>
    #Contributor: Kevin Edmonds <[email protected]>
    pkgname=libmtp
    pkgver=0.2.4
    pkgrel=1
    pkgdesc="library implementation of the Media Transfer Protocol"
    arch=("i686" "x86_64")
    url="http://libmtp.sourceforge.net"
    license=("LGPL")
    depends=("libusb")
    source=(http://easynews.dl.sourceforge.net/sourceforge/libmtp/$pkgname-$pkgver.tar.gz)
    options=('!libtool')
    #md5sums=('597b62d994d9491531b9e67190f6cfe7')
    build() {
    cd $startdir/src/$pkgname-$pkgver
    ./configure --prefix=/usr
    make || return 1
    make DESTDIR=$startdir/pkg install
    If you still have trouble building it let me know some other way than that I can send you the package.
    I've been meaning to post an update about my issues. I've figured out that when I connect the player it creates device nodes with the root group.  Some have permissions set to 666, which seems to fit with the udev rules I posted. But some of them are only rw for owner and group, others only have read permissions. As a test I tried changing the permissions by hand to 666, and I can use gnomad as my regular user, though it's buggy and seems to crash randomly (not just when I transfer files like I originally thought). I haven't been able to test what amarok does, since for some reason it stopped working this weekend and I haven't had a chance to figure out what happened. It seems there some problem with the udev rules, but I don't know much about how that works to figure out what's going wrong.

Maybe you are looking for

  • JDBC drivers for oracle 8.0.5 on HP UX 11.0

    Where do I find JDBC drivers for oracle 8.0.5 on HP UX 11.0?

  • How do I add a date stamp to photos

    How do I add a date stamp to photos

  • Trying To Understand Pattern in Variable of Type Double

    Does any one know what could have caused the following strange pattern? Focus on finding the sequence 1211 -2.9164014687882487 3.1835985312117456 -2.51640146878826 -20.216401468788252 2.5835985312117393 -11.716401468788257 3.483598531211757 1.8835985

  • Ethernet Port Software Issue

    A few weeks ago, I noticed that my ethernet port was not working. It would not recognize when a cable was plugged in. This came along with a startup issue, so when I took it into the apple store to have it looked at, they replaced the logic board. It

  • Help in SAP Form

    Hi experts, just want to ask if it is possible to copy the form of Sales order. And edit it in screen painter. Because I want to create new add-on and just look like the Sales order and its functions. If it is possible, would you mind to help me? Tha